<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Open Enterprise: The PostgreSQL Open Source Database Blog from EnterpriseDB</title>
	<atom:link href="http://blogs.enterprisedb.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://blogs.enterprisedb.com</link>
	<description>Commentary, tutorials, and announcements surrounding PostgreSQL, Postgres Plus, and open source.</description>
	<lastBuildDate>Thu, 10 May 2012 14:49:00 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.5</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Postgres 9.2 Draft Release Note Published</title>
		<link>http://blogs.enterprisedb.com/2012/05/10/postgres-9-2-draft-release-note-published/</link>
		<comments>http://blogs.enterprisedb.com/2012/05/10/postgres-9-2-draft-release-note-published/#comments</comments>
		<pubDate>Thu, 10 May 2012 10:45:01 +0000</pubDate>
		<dc:creator>Bruce Momjian</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://blogs.enterprisedb.com/2012/05/10/postgres-9-2-draft-release-note-published/</guid>
		<description><![CDATA[
 
I have completed the Postgres 9.2 release notes I started seven days ago. Writing the release notes is always a taxing experience.  I have to basically dedicate an entire week to the process of digesting 1100 commit messages to produce 3000 lines of SGML text.  Once I am done though, it is rewarding to see [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://momjian.us/main/blogs/pgblog/2012.html#May_10_2012"></a></p>
<p><a href="http://momjian.us/main/blogs/pgblog/2012.html#May_10_2012"> </a></p>
<p>I have completed the Postgres 9.2 <a class="major" style="text-decoration: underline" href="http://www.postgresql.org/docs/devel/static/release-9-2.html">release notes</a> I <a class="txt2html" style="text-decoration: none" href="http://momjian.us/main/blogs/pgblog/2012.html#May_3_2012">started</a> seven days ago. Writing the release notes is always a taxing experience.  I have to basically dedicate an entire week to the process of digesting 1100 commit messages to produce 3000 lines of SGML text.  Once I am done though, it is rewarding to see the finished product.  It is like working on a painting all year, and spending a frustrating week framing it and hanging it on the all — once it is hung, you stand and admire it, and forget much of the sweat it took to produce.  I am sure many community members feel the same.</p>
<p>Curious about how the 9.2 release item count compares to previous major releases?  Here are the results:</p>
<table border="1">
<tbody>
<tr>
<td><strong>Release</strong></td>
<td><strong>Items</strong></td>
</tr>
<tr>
<td><strong>9.2</strong></td>
<td><strong>245</strong></td>
</tr>
<tr>
<td>9.1</td>
<td>213</td>
</tr>
<tr>
<td>9.0</td>
<td>252</td>
</tr>
<tr>
<td>8.4</td>
<td>330</td>
</tr>
<tr>
<td>8.3</td>
<td>237</td>
</tr>
<tr>
<td>8.2</td>
<td>230</td>
</tr>
<tr>
<td>8.1</td>
<td>187</td>
</tr>
<tr>
<td>8.0</td>
<td>238</td>
</tr>
<tr>
<td>7.4</td>
<td>280</td>
</tr>
</tbody>
</table>
<p><a href="http://momjian.us/main/blogs/pgblog/2012.html#May_10_2012">Continue Reading »</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.enterprisedb.com/2012/05/10/postgres-9-2-draft-release-note-published/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Postgres Drinking Game</title>
		<link>http://blogs.enterprisedb.com/2012/05/07/postgres-drinking-game/</link>
		<comments>http://blogs.enterprisedb.com/2012/05/07/postgres-drinking-game/#comments</comments>
		<pubDate>Mon, 07 May 2012 12:00:01 +0000</pubDate>
		<dc:creator>EnterpriseDB</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://blogs.enterprisedb.com/2012/05/07/postgres-drinking-game/</guid>
		<description><![CDATA[
 My children have traveled to many conferences with me, and have heard many webcasts and training calls at home.  I guess, after hearing about Postgres so often, they pick up certain phrases of interest, and the big one for them is &#8220;shared buffers&#8221;.  Anytime someone uses those words, they start howling and make up [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://momjian.us/main/blogs/pgblog/2012.html#May_7_2012"></a></p>
<p><a href="http://momjian.us/main/blogs/pgblog/2012.html#May_7_2012"> </a>My children have traveled to many conferences with me, and have heard many webcasts and training calls at home.  I guess, after hearing about Postgres so often, they pick up certain phrases of interest, and the big one for them is &#8220;shared buffers&#8221;.  Anytime someone uses those words, they start howling and make up some funny sentence using the words.</p>
<p><a href="http://momjian.us/main/blogs/pgblog/2012.html#May_7_2012"> </a></p>
<p>There are a variety of beer drinking <a class="txt2html" style="text-decoration: none" href="http://en.wikipedia.org/wiki/Drinking_game#Film">games</a> that trigger drinking when a <a class="txt2html" style="text-decoration: none" href="http://www.realbeer.com/fun/games/movie.php">word</a> is said — perhaps &#8220;shared buffers&#8221; is enough on its own to make a drinking game.</p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.enterprisedb.com/2012/05/07/postgres-drinking-game/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The Effectiveness of effective_cache_size</title>
		<link>http://blogs.enterprisedb.com/2012/05/04/the-effectiveness-of-effective_cache_size/</link>
		<comments>http://blogs.enterprisedb.com/2012/05/04/the-effectiveness-of-effective_cache_size/#comments</comments>
		<pubDate>Fri, 04 May 2012 08:30:01 +0000</pubDate>
		<dc:creator>Bruce Momjian</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://blogs.enterprisedb.com/2012/05/04/the-effectiveness-of-effective_cache_size/</guid>
		<description><![CDATA[
 
Having reported the methods for finding the size of the kernel cache on Linux, I wish to highlight the importance of the postgresql.conf setting
effective_cache_size.
Unlike other memory settings that control how memory is allocated, effective_cache_size tells the optimizer how much cache is present in the kernel.  This is important for determining how expensive large index scans [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://momjian.us/main/blogs/pgblog/2012.html#May_4_2012"></a></p>
<p><a href="http://momjian.us/main/blogs/pgblog/2012.html#May_4_2012"> </a></p>
<p>Having <a class="txt2html" style="text-decoration: none" href="http://momjian.us/main/blogs/pgblog/2012.html#May_2_2012">reported</a> the methods for finding the size of the kernel cache on Linux, I wish to highlight the importance of the postgresql.conf setting<br />
<a class="txt2html" style="text-decoration: none" href="http://www.postgresql.org/docs/9.1/static/runtime-config-query.html#RUNTIME-CONFIG-QUERY-CONSTANTS"><em>effective_cache_size</em></a>.</p>
<p>Unlike other memory settings that control how memory is allocated, effective_cache_size tells the optimizer how much cache is present in the kernel.  This is important for determining how expensive large index scans will be.  The optimizer knows the size of <a class="txt2html" style="text-decoration: none" href="http://www.postgresql.org/docs/9.1/static/runtime-config-resource.html#RUNTIME-CONFIG-RESOURCE-MEMORY">shared_buffers</a>, but not the kernel cache size, which affects the probability of expensive disk access.</p>
<p><a href="http://momjian.us/main/blogs/pgblog/2012.html#May_4_2012">Continue Reading »</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.enterprisedb.com/2012/05/04/the-effectiveness-of-effective_cache_size/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Starting on 9.2 Release Notes</title>
		<link>http://blogs.enterprisedb.com/2012/05/03/starting-on-9-2-release-notes/</link>
		<comments>http://blogs.enterprisedb.com/2012/05/03/starting-on-9-2-release-notes/#comments</comments>
		<pubDate>Thu, 03 May 2012 10:00:01 +0000</pubDate>
		<dc:creator>Bruce Momjian</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://blogs.enterprisedb.com/2012/05/03/starting-on-9-2-release-notes/</guid>
		<description><![CDATA[
 As in previous years, I have started working on major release notes, this time for Postgres 9.2.  I start with this command:
 
 
$ src/tools/git_changelog --since '2011-06-11 00:00:00 GMT' --master-only \
&#62; --oldest-first --details-after
Continue Reading »
]]></description>
			<content:encoded><![CDATA[<p><a href="http://momjian.us/main/blogs/pgblog/2012.html#May_3_2012"></a></p>
<p><a href="http://momjian.us/main/blogs/pgblog/2012.html#May_3_2012"> </a>As in previous years, I have started working on major release notes, this time for Postgres 9.2.  I start with this command:</p>
<p><a href="http://momjian.us/main/blogs/pgblog/2012.html#May_3_2012"> </a></p>
<blockquote><p><a href="http://momjian.us/main/blogs/pgblog/2012.html#May_3_2012"> </a></p>
<pre class="quote_explicit">$ src/tools/git_changelog --since '2011-06-11 00:00:00 GMT' --master-only \
&gt; --oldest-first --details-after</pre>
<p><a href="http://momjian.us/main/blogs/pgblog/2012.html#May_3_2012"></a><a href="http://momjian.us/main/blogs/pgblog/2012.html#May_3_2012">Continue Reading »</a></p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://blogs.enterprisedb.com/2012/05/03/starting-on-9-2-release-notes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Measuring Free Memory and Kernel Cache Size on Linux</title>
		<link>http://blogs.enterprisedb.com/2012/05/02/measuring-free-memory-and-kernel-cache-size-on-linux/</link>
		<comments>http://blogs.enterprisedb.com/2012/05/02/measuring-free-memory-and-kernel-cache-size-on-linux/#comments</comments>
		<pubDate>Wed, 02 May 2012 10:00:01 +0000</pubDate>
		<dc:creator>Bruce Momjian</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://blogs.enterprisedb.com/2012/05/02/measuring-free-memory-and-kernel-cache-size-on-linux/</guid>
		<description><![CDATA[
 Measuring Linux free memory and kernel cache size can be somewhat tricky.  You might look at /proc/meminfo for the answer (commas added):
 
 
# cat /proc/meminfo
MemTotal:       24,736,604 kB
MemFree:         3,805,392 kB
Buffers:           [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://momjian.us/main/blogs/pgblog/2012.html#May_2_2012"></a></p>
<p><a href="http://momjian.us/main/blogs/pgblog/2012.html#May_2_2012"> </a>Measuring Linux free memory and kernel cache size can be somewhat tricky.  You might look at /proc/meminfo for the answer (commas added):</p>
<p><a href="http://momjian.us/main/blogs/pgblog/2012.html#May_2_2012"> </a></p>
<blockquote><p><a href="http://momjian.us/main/blogs/pgblog/2012.html#May_2_2012"> </a></p>
<pre class="quote_explicit"># cat /proc/meminfo
MemTotal:       24,736,604 kB
MemFree:         3,805,392 kB
Buffers:           743,016 kB
Cached:         18,188,208 kB
...</pre>
<p><a href="http://momjian.us/main/blogs/pgblog/2012.html#May_2_2012"></a><a href="http://momjian.us/main/blogs/pgblog/2012.html#May_2_2012">Continue Reading »</a></p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://blogs.enterprisedb.com/2012/05/02/measuring-free-memory-and-kernel-cache-size-on-linux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Caching Levels</title>
		<link>http://blogs.enterprisedb.com/2012/04/30/caching-levels/</link>
		<comments>http://blogs.enterprisedb.com/2012/04/30/caching-levels/#comments</comments>
		<pubDate>Mon, 30 Apr 2012 10:30:01 +0000</pubDate>
		<dc:creator>Bruce Momjian</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://blogs.enterprisedb.com/2012/04/30/caching-levels/</guid>
		<description><![CDATA[
 There are several levels of caching used in a typical server — here they are, in order of increasing distance from the cpu:



1.
Cpu cache


2.
Random-Access Memory (RAM)


3.
Storage controller cache


4.
Storage device (disk) cache



All of these are a fixed size and set at hardware installation time, i.e. you can&#8217;t move cache from one level to another.  For [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://momjian.us/main/blogs/pgblog/2012.html#April_30_2012"></a></p>
<p><a href="http://momjian.us/main/blogs/pgblog/2012.html#April_30_2012"> </a>There are several levels of caching used in a typical server — here they are, in order of increasing distance from the <span style="font-variant: small-caps">cpu</span>:</p>
<table border="0">
<tbody>
<tr>
<td>1.</td>
<td><span style="font-variant: small-caps">Cpu</span> cache</td>
</tr>
<tr>
<td>2.</td>
<td>Random-Access Memory (RAM)</td>
</tr>
<tr>
<td>3.</td>
<td>Storage controller cache</td>
</tr>
<tr>
<td>4.</td>
<td>Storage device (disk) cache</td>
</tr>
</tbody>
</table>
<p>All of these are a fixed size and set at hardware installation time, i.e. you can&#8217;t move cache from one level to another.  For Postgres, there is flexibility in how #2, random-access memory, is allocated, and this provides a never-ending opportunity for administrators to optimize their systems.  The three RAM allocation possibilities are:</p>
<p><a href="http://momjian.us/main/blogs/pgblog/2012.html#April_30_2012"> </a></p>
<ul><a href="http://momjian.us/main/blogs/pgblog/2012.html#April_30_2012"> </a></p>
<li><a href="http://momjian.us/main/blogs/pgblog/2012.html#April_30_2012"></a><a class="txt2html" style="text-decoration: none" href="http://www.postgresql.org/docs/9.1/static/runtime-config-resource.html#RUNTIME-CONFIG-RESOURCE-MEMORY">shared_buffers</a></li>
<li><a class="txt2html" style="text-decoration: none" href="http://www.postgresql.org/docs/9.1/static/runtime-config-resource.html#RUNTIME-CONFIG-RESOURCE-MEMORY">work_mem</a></li>
<li>Kernel cache</li>
</ul>
<p><a href="http://momjian.us/main/blogs/pgblog/2012.html#April_30_2012">Continue Reading »</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.enterprisedb.com/2012/04/30/caching-levels/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Upcoming Events</title>
		<link>http://blogs.enterprisedb.com/2012/04/28/upcoming-events/</link>
		<comments>http://blogs.enterprisedb.com/2012/04/28/upcoming-events/#comments</comments>
		<pubDate>Sat, 28 Apr 2012 10:15:01 +0000</pubDate>
		<dc:creator>Bruce Momjian</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://blogs.enterprisedb.com/2012/04/28/upcoming-events/</guid>
		<description><![CDATA[
 
During the next two months I will be attending events in the following cities:  New York City, Ottawa, Charlotte (North Carolina), and Boston — the details are on my website.  I will also be doing training in many of these locations.  And I spoke in Philadelphia this week — I guess this is what [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://momjian.us/main/blogs/pgblog/2012.html#April_28_2012"></a></p>
<p><a href="http://momjian.us/main/blogs/pgblog/2012.html#April_28_2012"> </a></p>
<p>During the next two months I will be attending events in the following cities:  New York City, Ottawa, Charlotte (North Carolina), and Boston — the details are on my <a class="txt2html" style="text-decoration: none" href="http://momjian.us/main/events/conferences/2012.html">website</a>.  I will also be doing training in many of these locations.  And I spoke in <a class="txt2html" style="text-decoration: none" href="http://momjian.us/main/events/conferences/2012.html#April_26_2012">Philadelphia</a> this week — I guess this is what the <a class="txt2html" style="text-decoration: none" href="http://momjian.us/main/events/conferences/2012.html#April_26_2012">New Postgres Era</a> looks like. </p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.enterprisedb.com/2012/04/28/upcoming-events/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Why Use Multiple Schemas?</title>
		<link>http://blogs.enterprisedb.com/2012/04/27/why-use-multiple-schemas/</link>
		<comments>http://blogs.enterprisedb.com/2012/04/27/why-use-multiple-schemas/#comments</comments>
		<pubDate>Fri, 27 Apr 2012 11:15:01 +0000</pubDate>
		<dc:creator>Bruce Momjian</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://blogs.enterprisedb.com/2012/04/27/why-use-multiple-schemas/</guid>
		<description><![CDATA[
 
I mentioned that Postgres supports multiple clusters, databases, and schemas, but an open question is why use multiple schemas, rather than placing everything in the &#8220;public&#8221; schema?  By default, search_path places everything in the public schema (assuming a schema matching the current user name does not exist):

test=&#62; SHOW search_path;
  search_path
----------------
 "$user",public
(1 row)
Continue Reading »
]]></description>
			<content:encoded><![CDATA[<p><a href="http://momjian.us/main/blogs/pgblog/2012.html#April_27_2012"></a></p>
<p><a href="http://momjian.us/main/blogs/pgblog/2012.html#April_27_2012"> </a></p>
<p>I <a class="txt2html" style="text-decoration: none" href="http://momjian.us/main/blogs/pgblog/2012.html#April_23_2012">mentioned</a> that Postgres supports multiple clusters, databases, and schemas, but an open question is why use multiple schemas, rather than placing everything in the &#8220;public&#8221; schema?  By default, <a class="txt2html" style="text-decoration: none" href="http://www.postgresql.org/docs/9.1/static/runtime-config-client.html#RUNTIME-CONFIG-CLIENT-STATEMENT"><em>search_path</em></a> places everything in the public schema (assuming a schema matching the current user name does not exist):</p>
<blockquote>
<pre class="quote_explicit">test=&gt; SHOW search_path;
  search_path
----------------
 "$user",public
(1 row)</pre>
<p><a href="http://momjian.us/main/blogs/pgblog/2012.html#April_27_2012">Continue Reading »</a></p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://blogs.enterprisedb.com/2012/04/27/why-use-multiple-schemas/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Take a Dip in the Pooler</title>
		<link>http://blogs.enterprisedb.com/2012/04/25/take-a-dip-in-the-pooler/</link>
		<comments>http://blogs.enterprisedb.com/2012/04/25/take-a-dip-in-the-pooler/#comments</comments>
		<pubDate>Wed, 25 Apr 2012 10:15:01 +0000</pubDate>
		<dc:creator>Bruce Momjian</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://blogs.enterprisedb.com/2012/04/25/take-a-dip-in-the-pooler/</guid>
		<description><![CDATA[
 
I recently mentioned the use of connection poolers to reduce the overhead of server-side language initialization, but I believe the topic warrants fuller coverage.
Aside from the ability to reduce language initialization overhead, the two major advantages of connection pooling are:

Reducing session startup time by preallocating and reusing database sessions
Reducing session management overhead by reducing the [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://momjian.us/main/blogs/pgblog/2012.html#April_25_2012"></a></p>
<p><a href="http://momjian.us/main/blogs/pgblog/2012.html#April_25_2012"> </a></p>
<p>I recently <a class="txt2html" style="text-decoration: none" href="http://momjian.us/main/blogs/pgblog/2012.html#April_11_2012">mentioned</a> the use of connection poolers to reduce the overhead of server-side language initialization, but I believe the topic warrants fuller coverage.</p>
<p>Aside from the ability to reduce language initialization overhead, the two major advantages of connection pooling are:</p>
<ul>
<li>Reducing session startup time by preallocating and reusing database sessions</li>
<li>Reducing session management overhead by reducing the number of idle sessions</li>
</ul>
<p><a href="http://momjian.us/main/blogs/pgblog/2012.html#April_25_2012">Continue Reading »</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.enterprisedb.com/2012/04/25/take-a-dip-in-the-pooler/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Tour: PPCD Running on HP</title>
		<link>http://blogs.enterprisedb.com/2012/04/23/tour-ppcd-running-on-hp/</link>
		<comments>http://blogs.enterprisedb.com/2012/04/23/tour-ppcd-running-on-hp/#comments</comments>
		<pubDate>Mon, 23 Apr 2012 15:14:00 +0000</pubDate>
		<dc:creator>Bobby Bissett</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://blogs.enterprisedb.com/2012/04/23/tour-ppcd-running-on-hp/</guid>
		<description><![CDATA[The HP Compute Cloud will be starting its public beta soon, and the Postgres Plus Cloud Database will be there. You can see a tour now of the user console running on HP.
We&#8217;re excited to start offering the cloud database on more and more service providers.

]]></description>
			<content:encoded><![CDATA[<p>The <a href="http://www.hpcloud.com/">HP Compute Cloud</a> will be starting its public beta soon, and the <a href="http://www.enterprisedb.com/cloud-database">Postgres Plus Cloud Database</a> will be there. You can <a href="http://www.enterprisedb.com/resources-community/webcasts-podcasts-videos/videos/postgres-plus-cloud-database-hp-compute-cloud">see a tour now</a> of the user console running on HP.</p>
<p>We&#8217;re excited to start offering the cloud database on more and more service providers.</p>
<div class="blogger-post-footer"><img src="https://blogger.googleusercontent.com/tracker/5234658384993882719-3408489661528770428?l=bbissett.blogspot.com" alt="" width="1" height="1" /></div>
]]></content:encoded>
			<wfw:commentRss>http://blogs.enterprisedb.com/2012/04/23/tour-ppcd-running-on-hp/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

