<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/'><id>tag:blogger.com,1999:blog-7615241590176793465.post4625458287479958517..comments</id><updated>2010-02-06T01:36:57.052+13:00</updated><category term='apache'/><category term='nzoss'/><category term='postgres'/><category term='optimisation'/><category term='sysadmin'/><category term='web'/><category term='security'/><category term='programming'/><category term='gerrit'/><category term='wine'/><category term='conference'/><category term='django'/><category term='rt'/><category term='firefox'/><category term='mutt'/><category term='privoxy'/><category term='gearman'/><category term='git'/><category term='python'/><category term='csp'/><category term='nginx'/><category term='ssl'/><category term='openwrt'/><category term='debian'/><category term='catalyst'/><category term='mozilla'/><category term='mahara'/><category term='launchpad'/><category term='ubuntu'/><category term='raid'/><category term='browserid'/><category term='plupload'/><category term='database'/><category term='backup'/><category term='gstreamer'/><category term='gargoyle'/><title type='text'>Comments on Feeding the Cloud: Troubleshooting Postgres Performance Problems</title><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://feeding.cloud.geek.nz/feeds/4625458287479958517/comments/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7615241590176793465/4625458287479958517/comments/default'/><link rel='alternate' type='text/html' href='http://feeding.cloud.geek.nz/2009/05/troubleshooting-postgres-performance.html'/><author><name>François Marier</name><uri>http://www.blogger.com/profile/15799633745688818389</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/-h-oJr5p8TwE/TqNUQqrVjUI/AAAAAAAAAHM/iAXo1RkwGq8/s220/square.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>1</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-7615241590176793465.post-3239502377978403265</id><published>2009-05-31T12:25:02.947+12:00</published><updated>2009-05-31T12:25:02.947+12:00</updated><title type='text'>The &lt;a href="http://wiki.postgresql.org/wiki/Perfo...</title><content type='html'>The &lt;A HREF="http://wiki.postgresql.org/wiki/Performance_Optimization" REL="nofollow"&gt;PostgreSQL wiki&lt;/A&gt; has an abundance of further information on this topic.&lt;br /&gt;&lt;br /&gt;As rule of thumb:&lt;br /&gt;&lt;br /&gt;If you're CPU-bound (backends consuming all available CPU) you need to reduce the complexity and/or amount of the queries hitting the database.&lt;br /&gt;&lt;br /&gt;If you're disk-bound (backends waiting for disk IO)&lt;br /&gt;&lt;br /&gt;on writes:&lt;br /&gt;&lt;br /&gt;Get a RAID-Controller with battery backed write cache&lt;br /&gt;&lt;br /&gt;on reads:&lt;br /&gt;&lt;br /&gt;You need to either increase your RAM to match the size of your working set or reduce the size of the working set.&lt;br /&gt;&lt;br /&gt;Most often people mix &lt;A HREF="http://en.wikipedia.org/wiki/OLTP" REL="nofollow"&gt;OLTP&lt;/A&gt; (live/fresh/regularly used) and &lt;A HREF="http://en.wikipedia.org/wiki/Data_warehouse" REL="nofollow"&gt;DWH&lt;/A&gt; (old/not regularly used/historical) data which causes the working set to grow indefinitely. Partitioning/Archiving historical data usually fixes these issues.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7615241590176793465/4625458287479958517/comments/default/3239502377978403265'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7615241590176793465/4625458287479958517/comments/default/3239502377978403265'/><link rel='alternate' type='text/html' href='http://feeding.cloud.geek.nz/2009/05/troubleshooting-postgres-performance.html?showComment=1243729502947#c3239502377978403265' title=''/><author><name>Robe</name><uri>http://www.blogger.com/profile/07283190347559096435</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://feeding.cloud.geek.nz/2009/05/troubleshooting-postgres-performance.html' ref='tag:blogger.com,1999:blog-7615241590176793465.post-4625458287479958517' source='http://www.blogger.com/feeds/7615241590176793465/posts/default/4625458287479958517' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1140937721'/></entry></feed>
