<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Oracle and Postgres Redux</title>
	<atom:link href="http://www.publicstatic.net/2008/12/oracle-and-postgres-redux/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.publicstatic.net/2008/12/oracle-and-postgres-redux/</link>
	<description></description>
	<lastBuildDate>Sun, 18 Jul 2010 04:53:12 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: www.simononsoftware.com</title>
		<link>http://www.publicstatic.net/2008/12/oracle-and-postgres-redux/comment-page-1/#comment-33</link>
		<dc:creator>www.simononsoftware.com</dc:creator>
		<pubDate>Thu, 08 Jan 2009 15:53:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.publicstatic.net/?p=22#comment-33</guid>
		<description></description>
		<content:encoded><![CDATA[]]></content:encoded>
	</item>
	<item>
		<title>By: Mike Johnson</title>
		<link>http://www.publicstatic.net/2008/12/oracle-and-postgres-redux/comment-page-1/#comment-27</link>
		<dc:creator>Mike Johnson</dc:creator>
		<pubDate>Thu, 11 Dec 2008 21:06:11 +0000</pubDate>
		<guid isPermaLink="false">http://www.publicstatic.net/?p=22#comment-27</guid>
		<description>Yeah, I saw that. Now I feel bad. :-)

Having just got out of the Marine Corps, I&#039;m used to giving people a good ribbing for just about anything. Sometimes I forget that people will actually get upset.

I will follow my 12 steps more carefully.

http://www.robichaux.net/blog/2008/01/12step-program-for-recovering-marines.php

Although, he should take some comfort in the fact that I mentioned him because there&#039;s no other source as knowledgeable as he is on performance. Every time I have some weird problem with Oracle, I google it. He&#039;s almost always the first result, and his articles are always helpful and well constructed.</description>
		<content:encoded><![CDATA[<p>Yeah, I saw that. Now I feel bad. :-)</p>
<p>Having just got out of the Marine Corps, I&#8217;m used to giving people a good ribbing for just about anything. Sometimes I forget that people will actually get upset.</p>
<p>I will follow my 12 steps more carefully.</p>
<p><a href="http://www.robichaux.net/blog/2008/01/12step-program-for-recovering-marines.php" rel="nofollow">http://www.robichaux.net/blog/2008/01/12step-program-for-recovering-marines.php</a></p>
<p>Although, he should take some comfort in the fact that I mentioned him because there&#8217;s no other source as knowledgeable as he is on performance. Every time I have some weird problem with Oracle, I google it. He&#8217;s almost always the first result, and his articles are always helpful and well constructed.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Richard</title>
		<link>http://www.publicstatic.net/2008/12/oracle-and-postgres-redux/comment-page-1/#comment-26</link>
		<dc:creator>Richard</dc:creator>
		<pubDate>Thu, 11 Dec 2008 19:45:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.publicstatic.net/?p=22#comment-26</guid>
		<description>Well, the DBA guy with the weird picture has since changed his profile pic. 
I hope you&#039;re comfortable with the soul-searching you inadvertently hoisted on him. (i would be)</description>
		<content:encoded><![CDATA[<p>Well, the DBA guy with the weird picture has since changed his profile pic.<br />
I hope you&#8217;re comfortable with the soul-searching you inadvertently hoisted on him. (i would be)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Emanuel</title>
		<link>http://www.publicstatic.net/2008/12/oracle-and-postgres-redux/comment-page-1/#comment-25</link>
		<dc:creator>Emanuel</dc:creator>
		<pubDate>Thu, 11 Dec 2008 15:44:11 +0000</pubDate>
		<guid isPermaLink="false">http://www.publicstatic.net/?p=22#comment-25</guid>
		<description>Adding to my first comment.
I think it was interesting if you can show the querys where oracle have better or similar runtime, just for curious ...
could it be?</description>
		<content:encoded><![CDATA[<p>Adding to my first comment.<br />
I think it was interesting if you can show the querys where oracle have better or similar runtime, just for curious &#8230;<br />
could it be?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: JD</title>
		<link>http://www.publicstatic.net/2008/12/oracle-and-postgres-redux/comment-page-1/#comment-24</link>
		<dc:creator>JD</dc:creator>
		<pubDate>Thu, 11 Dec 2008 09:17:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.publicstatic.net/?p=22#comment-24</guid>
		<description>While your graph is pretty, it&#039;s invalid. You&#039;re dealing with completely independent data points, so you should be using a bar graph, not a line graph, which should only be used for graphing a series of continuous data points.

Also, I&#039;m curious what you&#039;re going to say about terracotta, as you appear to be using it as a cache, when it&#039;s not designed for that. Terracotta is a distributed shared memory system. If you want distributed caching, you should be using something like memcache.</description>
		<content:encoded><![CDATA[<p>While your graph is pretty, it&#8217;s invalid. You&#8217;re dealing with completely independent data points, so you should be using a bar graph, not a line graph, which should only be used for graphing a series of continuous data points.</p>
<p>Also, I&#8217;m curious what you&#8217;re going to say about terracotta, as you appear to be using it as a cache, when it&#8217;s not designed for that. Terracotta is a distributed shared memory system. If you want distributed caching, you should be using something like memcache.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Greg Smith</title>
		<link>http://www.publicstatic.net/2008/12/oracle-and-postgres-redux/comment-page-1/#comment-14</link>
		<dc:creator>Greg Smith</dc:creator>
		<pubDate>Thu, 11 Dec 2008 07:15:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.publicstatic.net/?p=22#comment-14</guid>
		<description>Sure, I get that, just pointing that even a few minutes of basic tuning might get you a nice improvement. The default PostgreSQL configuration is really awful, because of kernel restrictions actually.  It&#039;s setup to work even on something like a stock Linux install that only allows 32MB of shared ram to be allocated, whereas Oracle just flat out tells you need a larger SHMMAX to support any reasonable SGA size as part of the install instructions.

Also, above I saw you mention doing a VACUUM FULL ANALYZE.  The FULL part of that isn&#039;t needed--if you do regular VACUUM often enough or have autovacuum on, you shouldn&#039;t even need to use FULL.  And FULL can cause some problems with your indexes becoming slower than they should be; a full vacuum is not something you should ever need to do, except if you&#039;re deleting a large quantity of information and need the space back.  Just a random aside, it shouldn&#039;t have any impact on what you did.</description>
		<content:encoded><![CDATA[<p>Sure, I get that, just pointing that even a few minutes of basic tuning might get you a nice improvement. The default PostgreSQL configuration is really awful, because of kernel restrictions actually.  It&#8217;s setup to work even on something like a stock Linux install that only allows 32MB of shared ram to be allocated, whereas Oracle just flat out tells you need a larger SHMMAX to support any reasonable SGA size as part of the install instructions.</p>
<p>Also, above I saw you mention doing a VACUUM FULL ANALYZE.  The FULL part of that isn&#8217;t needed&#8211;if you do regular VACUUM often enough or have autovacuum on, you shouldn&#8217;t even need to use FULL.  And FULL can cause some problems with your indexes becoming slower than they should be; a full vacuum is not something you should ever need to do, except if you&#8217;re deleting a large quantity of information and need the space back.  Just a random aside, it shouldn&#8217;t have any impact on what you did.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anonymous</title>
		<link>http://www.publicstatic.net/2008/12/oracle-and-postgres-redux/comment-page-1/#comment-23</link>
		<dc:creator>Anonymous</dc:creator>
		<pubDate>Thu, 11 Dec 2008 02:20:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.publicstatic.net/?p=22#comment-23</guid>
		<description>Materialized views in postgres are fairly well documented. [http://jonathangardner.net/tech/w/PostgreSQL/Materialized_Views]</description>
		<content:encoded><![CDATA[<p>Materialized views in postgres are fairly well documented. [http://jonathangardner.net/tech/w/PostgreSQL/Materialized_Views]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mike Johnson</title>
		<link>http://www.publicstatic.net/2008/12/oracle-and-postgres-redux/comment-page-1/#comment-22</link>
		<dc:creator>Mike Johnson</dc:creator>
		<pubDate>Thu, 11 Dec 2008 01:02:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.publicstatic.net/?p=22#comment-22</guid>
		<description>I&#039;m running both on my development workstation one at a time. An Ubuntu Hardy install 2.40Ghz dual core, 2 gig RAM with a single SATA drive.

Of course, Oracle would benefit some what more that Postgres by keeping the logs on separate drive. Postgres keeps just about everything in the table and seems to be well served by a RAID configuration.

But I think because there&#039;s no write activity the log location wouldn&#039;t make much of a difference for this experiment.</description>
		<content:encoded><![CDATA[<p>I&#8217;m running both on my development workstation one at a time. An Ubuntu Hardy install 2.40Ghz dual core, 2 gig RAM with a single SATA drive.</p>
<p>Of course, Oracle would benefit some what more that Postgres by keeping the logs on separate drive. Postgres keeps just about everything in the table and seems to be well served by a RAID configuration.</p>
<p>But I think because there&#8217;s no write activity the log location wouldn&#8217;t make much of a difference for this experiment.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mike Johnson</title>
		<link>http://www.publicstatic.net/2008/12/oracle-and-postgres-redux/comment-page-1/#comment-21</link>
		<dc:creator>Mike Johnson</dc:creator>
		<pubDate>Thu, 11 Dec 2008 00:52:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.publicstatic.net/?p=22#comment-21</guid>
		<description>You&#039;re right of course. My intention was to see what little I could get away with to beat Oracle&#039;s times. It wasn&#039;t a lot. Of course, I tweaked our production server pretty extensively.</description>
		<content:encoded><![CDATA[<p>You&#8217;re right of course. My intention was to see what little I could get away with to beat Oracle&#8217;s times. It wasn&#8217;t a lot. Of course, I tweaked our production server pretty extensively.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Greg Smith</title>
		<link>http://www.publicstatic.net/2008/12/oracle-and-postgres-redux/comment-page-1/#comment-20</link>
		<dc:creator>Greg Smith</dc:creator>
		<pubDate>Wed, 10 Dec 2008 23:35:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.publicstatic.net/?p=22#comment-20</guid>
		<description>If you didn&#039;t do any configuration optimization for PostgreSQL, you might get a nice boost just from tweaking a few parameters.  The default configuration is only appropriate for a system with about 128MB of RAM, it&#039;s &quot;optimized&quot; for working out of the box on a wide range of systems rather than performance.

There&#039;s a fairly focused list at http://wiki.postgresql.org/wiki/Tuning_Your_PostgreSQL_Server that goes over where to start.  For what you&#039;re doing, touching shared_buffers, effective_cache_size, and work_mem should be sufficient to improve things quite a bit with only a few minutes of effort.  Add checkpoint_segments if you care about speeding up write-intensive things, too.  Getting those basics right gets you more bang per time spend tuning than trivia like recompiling for your architecture.</description>
		<content:encoded><![CDATA[<p>If you didn&#8217;t do any configuration optimization for PostgreSQL, you might get a nice boost just from tweaking a few parameters.  The default configuration is only appropriate for a system with about 128MB of RAM, it&#8217;s &#8220;optimized&#8221; for working out of the box on a wide range of systems rather than performance.</p>
<p>There&#8217;s a fairly focused list at <a href="http://wiki.postgresql.org/wiki/Tuning_Your_PostgreSQL_Server" rel="nofollow">http://wiki.postgresql.org/wiki/Tuning_Your_PostgreSQL_Server</a> that goes over where to start.  For what you&#8217;re doing, touching shared_buffers, effective_cache_size, and work_mem should be sufficient to improve things quite a bit with only a few minutes of effort.  Add checkpoint_segments if you care about speeding up write-intensive things, too.  Getting those basics right gets you more bang per time spend tuning than trivia like recompiling for your architecture.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
