<?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/"
		xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd"
	xmlns:media="http://search.yahoo.com/mrss/"
>

<channel>
	<title>tending the garden &#187; postgresql</title>
	<atom:link href="http://www.chesnok.com/daily/category/postgresql/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.chesnok.com/daily</link>
	<description>Selena Deckelmann&#039;s blog about postgres, open source and the web.</description>
	<lastBuildDate>Tue, 21 Feb 2012 00:34:11 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<copyright>2006-2007 </copyright>
	<managingEditor>selenamarie@gmail.com (tending the garden)</managingEditor>
	<webMaster>selenamarie@gmail.com (tending the garden)</webMaster>
	<image>
		<url>http://www.chesnok.com/daily/wp-content/plugins/podpress/images/powered_by_podpress.jpg</url>
		<title>tending the garden</title>
		<link>http://www.chesnok.com/daily</link>
		<width>144</width>
		<height>144</height>
	</image>
	<itunes:subtitle></itunes:subtitle>
	<itunes:summary>a gathering place for all the stray thoughts</itunes:summary>
	<itunes:keywords></itunes:keywords>
	<itunes:category text="Society &#38; Culture" />
	<itunes:author>tending the garden</itunes:author>
	<itunes:owner>
		<itunes:name>tending the garden</itunes:name>
		<itunes:email>selenamarie@gmail.com</itunes:email>
	</itunes:owner>
	<itunes:block>no</itunes:block>
	<itunes:explicit>no</itunes:explicit>
	<itunes:image href="http://www.chesnok.com/daily/wp-content/plugins/podpress/images/powered_by_podpress_large.jpg" />
		<item>
		<title>Catching up with pgsql-hackers: CRCs, checkpoint performance, SKIP LOCKED ROWS, dry-run pg_archivecleanup</title>
		<link>http://www.chesnok.com/daily/2012/02/07/catching-up-with-pgsql-hackers-crcs-checkpoint-performance-skip-locked-rows-dry-run-pg_archivecleanup/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=catching-up-with-pgsql-hackers-crcs-checkpoint-performance-skip-locked-rows-dry-run-pg_archivecleanup</link>
		<comments>http://www.chesnok.com/daily/2012/02/07/catching-up-with-pgsql-hackers-crcs-checkpoint-performance-skip-locked-rows-dry-run-pg_archivecleanup/#comments</comments>
		<pubDate>Tue, 07 Feb 2012 16:25:04 +0000</pubDate>
		<dc:creator>selena</dc:creator>
				<category><![CDATA[pgsql-hackers]]></category>
		<category><![CDATA[postgres]]></category>
		<category><![CDATA[postgresql]]></category>
		<category><![CDATA[catching up with pgsql-hackers]]></category>

		<guid isPermaLink="false">http://www.chesnok.com/daily/?p=3686</guid>
		<description><![CDATA[Catching up with pgsql-hackers: CRCs, checkpoint performance, SKIP LOCKED ROWS, dry-run pg_archivecleanup <a href="http://www.chesnok.com/daily/2012/02/07/catching-up-with-pgsql-hackers-crcs-checkpoint-performance-skip-locked-rows-dry-run-pg_archivecleanup/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<div id="tweetbutton3686" class="tw_button" style=""><a href="http://twitter.com/share?url=http%3A%2F%2Fwww.chesnok.com%2Fdaily%2F2012%2F02%2F07%2Fcatching-up-with-pgsql-hackers-crcs-checkpoint-performance-skip-locked-rows-dry-run-pg_archivecleanup%2F&amp;text=Catching%20up%20with%20pgsql-hackers%3A%20CRCs%2C%20checkpoint%20performance%2C%20SKIP%20LOCKED%20ROWS%2C%20dry-run%20pg_archivecleanup&amp;related=selenamarie:Catching%20up%20with%20pgsql-hackers&amp;lang=en&amp;count=horizontal&amp;counturl=http%3A%2F%2Fwww.chesnok.com%2Fdaily%2F2012%2F02%2F07%2Fcatching-up-with-pgsql-hackers-crcs-checkpoint-performance-skip-locked-rows-dry-run-pg_archivecleanup%2F" class="twitter-share-button"  style="width:55px;height:22px;background:transparent url('http://www.chesnok.com/daily/wp-content/plugins/wp-tweet-button/tweetn.png') no-repeat  0 0;text-align:left;text-indent:-9999px;display:block;">Tweet</a></div><p>I&#8217;ve been sick for a few days, so I settled in with a nice cup of tea and started in on the tremendous backlog I&#8217;ve got on pgsql-hackers. I put patch status at the end of each paragraph. </p>
<p>The first thread I read was a patch for <a href="http://archives.postgresql.org/message-id/CA+U5nMJzQyxcObkpNAf1SYTX-gO_Mom3O9JXHnGpxRo1kXJ7ww@mail.gmail.com">implementing 16-bit CRCs for all buffer pages</a>. This is the most recent patch in a multi-year effort around CRCs. There are many small and large problems with implementing this (performance, hint bits and cramped page header space for starters). If you read the whole thread, you&#8217;ll see some interesting compromises, and the role that pg_upgrade now plays in the stewardship of page format changes.  Patch is still under review.</p>
<p>That lead me over to performance <a href="http://archives.postgresql.org/pgsql-hackers/2012-01/msg00943.php">testing results</a> from what was titled as a double-write buffer patch from VMWare. The author of these patches doesn&#8217;t respond to comments in-line like everyone else on -hackers does, so it makes his responses pretty difficult to track relative to everyone else. Still WIP.</p>
<p>And, related a <a href="http://archives.postgresql.org/pgsql-hackers/2012-01/msg00883.php">checkpoint performance tuning treatise from Greg Smith</a>. This started from a patch to add a parameter that allows adding pause time before a checkpoint. He points out that to tune this usefully, you need to know what the number of files a checkpoint typically syncs. (and <a href="http://archives.postgresql.org/message-id/4F13C38D.2080905@2ndQuadrant.com">has a related patch that publishes this information</a>). Patches are still under review. </p>
<p>There&#8217;s another discussion about <a href="http://archives.postgresql.org/message-id/CADLWmXUUjmrPU-+9ss7BCATxM-hr6__9mB6Wv7ry3-r+KXGgBw@mail.gmail.com">SKIP LOCKED ROWS and a patch</a>, apparently a commercial database feature. Early WIP.</p>
<p>In usability land, there was <a href="http://archives.postgresql.org/message-id/4EE4C393.4060302@2ndQuadrant.it">an addition of a &#8220;dry-run&#8221; feature to pg_archivecleanup</a>. This one&#8217;s committed!</p>
<p>This all makes me so excited for the 9.2 release this year. Also, great to see a bunch of new folks submitting patches.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.chesnok.com/daily/2012/02/07/catching-up-with-pgsql-hackers-crcs-checkpoint-performance-skip-locked-rows-dry-run-pg_archivecleanup/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>I&#8217;m keynoting today at SCALE10x</title>
		<link>http://www.chesnok.com/daily/2012/01/22/im-keynoting-today-at-scale10x/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=im-keynoting-today-at-scale10x</link>
		<comments>http://www.chesnok.com/daily/2012/01/22/im-keynoting-today-at-scale10x/#comments</comments>
		<pubDate>Sun, 22 Jan 2012 17:17:57 +0000</pubDate>
		<dc:creator>selena</dc:creator>
				<category><![CDATA[conference]]></category>
		<category><![CDATA[postgres]]></category>
		<category><![CDATA[postgresql]]></category>
		<category><![CDATA[keynote]]></category>
		<category><![CDATA[mistakes were made]]></category>
		<category><![CDATA[scale10x]]></category>

		<guid isPermaLink="false">http://www.chesnok.com/daily/?p=3637</guid>
		<description><![CDATA[TweetSlides (as of this moment) are here: Mistakes were made. I changed quite a bit of the beginning and end, given how big the audience is. Previous talks, we&#8217;ve usually ended with a fun &#8220;omg, here&#8217;s the craziest story I &#8230; <a href="http://www.chesnok.com/daily/2012/01/22/im-keynoting-today-at-scale10x/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<div id="tweetbutton3637" class="tw_button" style=""><a href="http://twitter.com/share?url=http%3A%2F%2Fwww.chesnok.com%2Fdaily%2F2012%2F01%2F22%2Fim-keynoting-today-at-scale10x%2F&amp;text=I%26%238217%3Bm%20keynoting%20today%20at%20SCALE10x&amp;related=&amp;lang=en&amp;count=horizontal&amp;counturl=http%3A%2F%2Fwww.chesnok.com%2Fdaily%2F2012%2F01%2F22%2Fim-keynoting-today-at-scale10x%2F" class="twitter-share-button"  style="width:55px;height:22px;background:transparent url('http://www.chesnok.com/daily/wp-content/plugins/wp-tweet-button/tweetn.png') no-repeat  0 0;text-align:left;text-indent:-9999px;display:block;">Tweet</a></div><p>Slides (as of this moment) are here: <a href='http://www.chesnok.com/daily/wp-content/uploads/2012/01/Mistakes-were-made-SCALE.pdf'>Mistakes were made</a>.  I changed quite a bit of the beginning and end, given how big the audience is. Previous talks, we&#8217;ve usually ended with a fun &#8220;omg, here&#8217;s the craziest story I know&#8221; session. I imagine we&#8217;ll get a little bit of that today. </p>
<p>Postgres folks will note a relevant picture on slide 13. <img src='http://www.chesnok.com/daily/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>This is my first keynote!  Thanks so much to SCALE for inviting me. There were at least 1500 registered attendees as of Friday, so looking forward to a big crowd.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.chesnok.com/daily/2012/01/22/im-keynoting-today-at-scale10x/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Where to find me at #LCA2012</title>
		<link>http://www.chesnok.com/daily/2012/01/10/where-to-find-me-at-lca2012/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=where-to-find-me-at-lca2012</link>
		<comments>http://www.chesnok.com/daily/2012/01/10/where-to-find-me-at-lca2012/#comments</comments>
		<pubDate>Wed, 11 Jan 2012 00:51:10 +0000</pubDate>
		<dc:creator>selena</dc:creator>
				<category><![CDATA[conference]]></category>
		<category><![CDATA[postgres]]></category>
		<category><![CDATA[postgresql]]></category>
		<category><![CDATA[australia]]></category>
		<category><![CDATA[lca2012]]></category>
		<category><![CDATA[travel]]></category>

		<guid isPermaLink="false">http://www.chesnok.com/daily/?p=3580</guid>
		<description><![CDATA[TweetI&#8217;m going to be pretty busy while in Melbourne and Ballarat for the next 10 days. Here&#8217;s my itinerary: AdaCamp Melbourne, Saturday, January 14, all day Geek Girl Dinner &#8211; Saturday, January 14, evening Gender-focused outreach panel, Monday, January 16, &#8230; <a href="http://www.chesnok.com/daily/2012/01/10/where-to-find-me-at-lca2012/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<div id="tweetbutton3580" class="tw_button" style=""><a href="http://twitter.com/share?url=http%3A%2F%2Fwww.chesnok.com%2Fdaily%2F2012%2F01%2F10%2Fwhere-to-find-me-at-lca2012%2F&amp;text=Where%20to%20find%20me%20at%20%23LCA2012&amp;related=&amp;lang=en&amp;count=horizontal&amp;counturl=http%3A%2F%2Fwww.chesnok.com%2Fdaily%2F2012%2F01%2F10%2Fwhere-to-find-me-at-lca2012%2F" class="twitter-share-button"  style="width:55px;height:22px;background:transparent url('http://www.chesnok.com/daily/wp-content/plugins/wp-tweet-button/tweetn.png') no-repeat  0 0;text-align:left;text-indent:-9999px;display:block;">Tweet</a></div><p>I&#8217;m going to be pretty busy while in Melbourne and Ballarat for the next 10 days. </p>
<p>Here&#8217;s my itinerary: </p>
<ul>
<li><a href="http://adainitiative.org/what-we-do/events/adacamp-mel-2012/" title="AdaCamp Melbourne">AdaCamp Melbourne</a>, Saturday, January 14, all day</li>
<li><a href="http://ggdmelb-jan2012.eventbrite.com.au/">Geek Girl Dinner</a> &#8211; Saturday, January 14, evening</li>
<li><a href="http://haecksen.net/">Gender-focused outreach panel</a>, Monday, January 16, 11:30-12:20pm, Studio 2</li>
<li><a href="http://linux.conf.au/wiki/index.php/Miniconfs/HighAvailabilityAndDistributedStorage#Scaling_Data:_Postgres.2C_The_Stack_and_the_Future_of_Replication">Scaling Data with Postgres</a>, Monday, January 16, 4:05pm, Room C001</li>
<li><a href="http://linux.conf.au/schedule/131/view_talk?day=tuesday">Mistakes were made</a>, Tuesday, January 17, 1:20pm, Room C001</li>
</ul>
<p>There&#8217;s a rumor that Stewart Smith and I might do a Q&#038;A about databases in the cloud. If it happens, it will involve lots of pessimism and swearing.</p>
<p>Drop me an note if you want to meet up!  I&#8217;ll be in Ballarat until early Friday morning.  </p>
<p>Then I fly back to LA to give a keynote at SCaLE that Sunday (blog post about that coming).</p>
]]></content:encoded>
			<wfw:commentRss>http://www.chesnok.com/daily/2012/01/10/where-to-find-me-at-lca2012/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Day 3 at PgConf.EU: the future, replication, performance and the closing keynote</title>
		<link>http://www.chesnok.com/daily/2011/10/21/day-3-at-pgconf-eu-the-future-replication-performance-and-the-rising-tide-of-daas/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=day-3-at-pgconf-eu-the-future-replication-performance-and-the-rising-tide-of-daas</link>
		<comments>http://www.chesnok.com/daily/2011/10/21/day-3-at-pgconf-eu-the-future-replication-performance-and-the-rising-tide-of-daas/#comments</comments>
		<pubDate>Fri, 21 Oct 2011 14:33:36 +0000</pubDate>
		<dc:creator>selena</dc:creator>
				<category><![CDATA[postgres]]></category>
		<category><![CDATA[postgresql]]></category>
		<category><![CDATA[day summary]]></category>
		<category><![CDATA[pgconf.eu]]></category>
		<category><![CDATA[talks]]></category>

		<guid isPermaLink="false">http://www.chesnok.com/daily/?p=3400</guid>
		<description><![CDATA[Tweet I was room host for Simon Riggs, Magnus Hagander and Greg Smith today before giving my final talk this afternoon. The morning started with Simon Riggs talking about his wishlist for the future of Postgres &#8211; including some boundary-stretching &#8230; <a href="http://www.chesnok.com/daily/2011/10/21/day-3-at-pgconf-eu-the-future-replication-performance-and-the-rising-tide-of-daas/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<div id="tweetbutton3400" class="tw_button" style=""><a href="http://twitter.com/share?url=http%3A%2F%2Fwww.chesnok.com%2Fdaily%2F2011%2F10%2F21%2Fday-3-at-pgconf-eu-the-future-replication-performance-and-the-rising-tide-of-daas%2F&amp;text=Day%203%20at%20PgConf.EU%3A%20the%20future%2C%20replication%2C%20performance%20and%20the%20closing%20keynote&amp;related=&amp;lang=en&amp;count=horizontal&amp;counturl=http%3A%2F%2Fwww.chesnok.com%2Fdaily%2F2011%2F10%2F21%2Fday-3-at-pgconf-eu-the-future-replication-performance-and-the-rising-tide-of-daas%2F" class="twitter-share-button"  style="width:55px;height:22px;background:transparent url('http://www.chesnok.com/daily/wp-content/plugins/wp-tweet-button/tweetn.png') no-repeat  0 0;text-align:left;text-indent:-9999px;display:block;">Tweet</a></div><p><a href="http://twitpic.com/73jjap" title="Audience in closing keynote at #pgconfeu   on Twitpic"><img src="http://www.chesnok.com/daily/wp-content/uploads/2011/10/closing_keynote_audience-300x225.jpg" alt="" title="closing_keynote_audience" width="300" height="225" class="aligncenter size-medium wp-image-3406" /></a></p>
<p>I was room host for Simon Riggs, Magnus Hagander and Greg Smith today before giving my final talk this afternoon. </p>
<p>The morning started with Simon Riggs <a href="http://www.postgresql.eu/events/schedule/pgconfeu2011/session/199-postgresql-roadmap/">talking about his wishlist for the future of Postgres</a> &#8211; including some boundary-stretching ideas for bi-directional replication (a way to possibly support multi-master architecture for Postgres). Simon named his talk &#8220;Postgres Futures&#8221;, but also called it his personal &#8220;shopping list&#8221; of features he&#8217;d like to see implemented, or implement himself. <a href="http://www.postgresql.eu/events/schedule/pgconfeu2011/session/147-the-postgresql-replication-protocol-tools-and-opportunities/">Magnus deep-dove into the replication protocol</a> and how to use pg_basebackup with 9.1. <a href="http://www.postgresql.eu/events/schedule/pgconfeu2011/session/157-bottom-up-database-benchmarking/">Greg&#8217;s talk on benchmarking</a> is always fantastic, and I learn something new every time. He included some graphs for FusionIO testing he&#8217;d done in the last couple weeks. </p>
<p>I also gave my last talk of the conference, &#8220;<a href="http://www.slideshare.net/selenamarie/managing-terabytes">Managing Terabytes</a>&#8221; about my experiences managing 8.x version clusters of a terabyte or larger in size for several companies. I reorganized this talk from the last time I&#8217;d given it, and I think it came across quite a bit more clearly to the audience. One developer gave me the suggestion that I should have tried to do a series of updates to a catalog tables to try to recover page space. I&#8217;m designing a little test case to help someone do this in the future if they run into this problem with older versions of Postgres. HOT (8.4 and later) essentially fixes this issue, by the way.</p>
<p>The keynote was shared by Ed Boyajian and Bruce Momjian. Ed mentioned that Oracle had the best earnings statement ever in the most recent shareholders call. In spite of that, there&#8217;s a rising tide of Oracle users who are looking for alternatives, given how strongly they&#8217;re locked into their technology. He said that he was recommending companies use Postgres is a strategic lever to negotiate with Oracle. And as IT departments strapped for cash are trying to figure out how to fund new data initiatives &#8211; they&#8217;re turning to products that are free.</p>
<p>Bruce then quoted the opening keynote by Ram Mohan &#8211; &#8220;With open source, support is a whole new level.&#8221; And Bruce&#8217;s comment was that what Ram did when he started 10 years ago with Afilias was heretical for conventional IT wisdom at the time. </p>
<p>Bruce also said that he&#8217;d always thought Postgres would ultimately only ever be a niche player among databases. But with all the progress we&#8217;ve made as a project, and the new markets being explored, he sees much greater possibilities for the project.</p>
<p>He asked the audience about the speed at which bugs had been fixed &#8211; within 24 hours, a few days or a single week. Only one hand was raised for a bug requiring more than 1 week to be fixed, among probably 40-50 hands raised for much faster fixes.</p>
<p>Bruce also noted that developers are often moved to work and stay with Postgres as a project, because they have decided that &#8220;this is an important thing for me to do in my life.&#8221;</p>
<p>PgConf EU was a great conference, and I&#8217;d be happy to be invited back, wherever they decide to hold it in 2012.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.chesnok.com/daily/2011/10/21/day-3-at-pgconf-eu-the-future-replication-performance-and-the-rising-tide-of-daas/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Day 2 at PgConf.EU: hallway track and the marketing of Postgres</title>
		<link>http://www.chesnok.com/daily/2011/10/20/day-2-at-pgconf-eu/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=day-2-at-pgconf-eu</link>
		<comments>http://www.chesnok.com/daily/2011/10/20/day-2-at-pgconf-eu/#comments</comments>
		<pubDate>Thu, 20 Oct 2011 23:55:50 +0000</pubDate>
		<dc:creator>selena</dc:creator>
				<category><![CDATA[open source]]></category>
		<category><![CDATA[postgres]]></category>
		<category><![CDATA[postgresql]]></category>
		<category><![CDATA[presentation]]></category>

		<guid isPermaLink="false">http://www.chesnok.com/daily/?p=3396</guid>
		<description><![CDATA[TweetThe hallway track is always my favorite part of the conference. I had to give a full-length and a lightning talk today, so much of my time was spent making sure I was really prepared and then giving the talks! &#8230; <a href="http://www.chesnok.com/daily/2011/10/20/day-2-at-pgconf-eu/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<div id="tweetbutton3396" class="tw_button" style=""><a href="http://twitter.com/share?url=http%3A%2F%2Fwww.chesnok.com%2Fdaily%2F2011%2F10%2F20%2Fday-2-at-pgconf-eu%2F&amp;text=Day%202%20at%20PgConf.EU%3A%20hallway%20track%20and%20the%20marketing%20of%20Postgres&amp;related=&amp;lang=en&amp;count=horizontal&amp;counturl=http%3A%2F%2Fwww.chesnok.com%2Fdaily%2F2011%2F10%2F20%2Fday-2-at-pgconf-eu%2F" class="twitter-share-button"  style="width:55px;height:22px;background:transparent url('http://www.chesnok.com/daily/wp-content/plugins/wp-tweet-button/tweetn.png') no-repeat  0 0;text-align:left;text-indent:-9999px;display:block;">Tweet</a></div><p>The hallway track is always my favorite part of the conference. I had to give a full-length and a lightning talk today, so much of my time was spent making sure I was really prepared and then giving the talks!</p>
<p>But between talks, I got to chat with Heroku, 2ndQuadrant and EnterpriseDB folks about what they think is coming next in the world of enterprise development and Postgres. </p>
<p>One topic that I touched on in those conversations and my lightning talk (<a href="http://www.slideshare.net/selenamarie/postgres-needs-an-aircraft-carrier">Postgres needs an aircraft carrier</a>) was that our plan for world domination needs to get quite a bit more specific and actionable. </p>
<p>For the open source community, the right question is not &#8220;are we ready to tackle the enterprise?&#8221; &#8212; the right question is: Which market segment and customer group are we going to target for complete market domination? </p>
<p>One area that we definitely already dominate is online poker. We have had a few blog posts about it, but not a whole lot else. Another is GIS through PostGIS. </p>
<p>I <a href="https://docs.google.com/a/primeradiant.com/spreadsheet/viewform?hl=en_US&#038;formkey=dEwySU1JLXR1eEVGTm80OUZDOVB1LWc6MQ#gid=0">created a survey</a> to try and capture some scenarios from the developers who work with customers every day solving problems. We need to know more about the people using Postgres and the way that they use the database.</p>
<p>If we can get 30 responses, I&#8217;ll publish the results. It&#8217;s a bit long, and requires some thought, so I imagine it will take some time to get them all. </p>
<p>If you have a customer that you think represents a good target market for Postgres, take 10 minutes and <a href="https://docs.google.com/a/primeradiant.com/spreadsheet/viewform?hl=en_US&#038;formkey=dEwySU1JLXR1eEVGTm80OUZDOVB1LWc6MQ#gid=0">fill out the survey</a> for us!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.chesnok.com/daily/2011/10/20/day-2-at-pgconf-eu/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Day 0: PgConf.EU</title>
		<link>http://www.chesnok.com/daily/2011/10/18/day-0-pgconf-eu/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=day-0-pgconf-eu</link>
		<comments>http://www.chesnok.com/daily/2011/10/18/day-0-pgconf-eu/#comments</comments>
		<pubDate>Wed, 19 Oct 2011 06:46:42 +0000</pubDate>
		<dc:creator>selena</dc:creator>
				<category><![CDATA[postgres]]></category>
		<category><![CDATA[postgresql]]></category>
		<category><![CDATA[pgconf.eu]]></category>

		<guid isPermaLink="false">http://www.chesnok.com/daily/?p=3386</guid>
		<description><![CDATA[TweetYesterday was spent settling into the Casa 400 and reconnecting with the European Postgres community! The hotel allowed us to check in very early and so I got to settle in, grab lunch and a nap before we set out &#8230; <a href="http://www.chesnok.com/daily/2011/10/18/day-0-pgconf-eu/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<div id="tweetbutton3386" class="tw_button" style=""><a href="http://twitter.com/share?url=http%3A%2F%2Fwww.chesnok.com%2Fdaily%2F2011%2F10%2F18%2Fday-0-pgconf-eu%2F&amp;text=Day%200%3A%20PgConf.EU&amp;related=&amp;lang=en&amp;count=horizontal&amp;counturl=http%3A%2F%2Fwww.chesnok.com%2Fdaily%2F2011%2F10%2F18%2Fday-0-pgconf-eu%2F" class="twitter-share-button"  style="width:55px;height:22px;background:transparent url('http://www.chesnok.com/daily/wp-content/plugins/wp-tweet-button/tweetn.png') no-repeat  0 0;text-align:left;text-indent:-9999px;display:block;">Tweet</a></div><p>Yesterday was spent settling into the Casa 400 and reconnecting with the European Postgres community!</p>
<p>The hotel allowed us to check in very early and so I got to settle in, grab lunch and a nap before we set out for the evening. </p>
<p>We had informally decided to go on a pub crawl with whoever was already in town. The decision making about where to go started around 5pm.</p>
<p>We now have <a href="http://www.flickr.com/photos/u-suke/101236328/">about five years</a> of <a href="http://www.flickr.com/photos/selenamarie/3259324875/in/photostream/">experience trying</a> to <a href="http://andreas.scherbaum.la/pictures/v/events/fosdem_2008/dsc_3475_640x480.jpg.html">get 20 or more</a> people <a href="http://www.flickr.com/photos/selenamarie/3260724507/in/photostream/">into bars and restaurants</a> without calling ahead and last night, luck was with us!</p>
<p>I broke down our lessons learned as follows: </p>
<ul>
<li>Start the planning one hour before the intended departure time.</li>
<li>Have a printed map, even if it is not consulted.</li>
<li>Ask for help from locals.</li>
</ul>
<p>Thanks to Greg, we actually asked a local bar owner about where to go, and he called a friend&#8217;s restaurant for us! </p>
<p>We ended up at Nels for dinner with nearly 25 people taking over most of the restaurant. I was lucky enough to have a friend in town from Portland that joined us for a long conversation about marketing, PostgreSQL, geek cruises and aircraft carriers. I think I have a topic now for a <a href="http://www.postgresql.eu/events/schedule/pgconfeu2011/session/217-lightning-talks/">lightning talk</a>.</p>
<p>After that, we walked around searching for ice cream for <a href="http://andreas.scherbaum.la/blog/">Ads</a>. We ended up at Pasta e Basta, which had ice cream and singing wait staff. After hearing &#8220;Hit the road, Jack&#8221;, &#8220;Here comes the sun&#8221; and a few other tunes, we closed out the night at the hotel bar. </p>
<p>I got to meet the author of <a href="https://github.com/gciolli/pgChess">pgChess</a>, Gianni Ciolli, and catch up with Jonathan Katz, Dimitri Fontaine and Peter Geoghegan. </p>
<p>All in all, a great start to the week at the conference!  I&#8217;ll be room hosting this afternoon in room #3.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.chesnok.com/daily/2011/10/18/day-0-pgconf-eu/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Headed to PgConf.EU</title>
		<link>http://www.chesnok.com/daily/2011/10/17/headed-to-pgconf-eu/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=headed-to-pgconf-eu</link>
		<comments>http://www.chesnok.com/daily/2011/10/17/headed-to-pgconf-eu/#comments</comments>
		<pubDate>Mon, 17 Oct 2011 15:16:21 +0000</pubDate>
		<dc:creator>selena</dc:creator>
				<category><![CDATA[conference]]></category>
		<category><![CDATA[postgres]]></category>
		<category><![CDATA[postgresql]]></category>
		<category><![CDATA[conferences]]></category>
		<category><![CDATA[failure]]></category>
		<category><![CDATA[mistakes were made]]></category>
		<category><![CDATA[pgconf.eu]]></category>

		<guid isPermaLink="false">http://www.chesnok.com/daily/?p=3382</guid>
		<description><![CDATA[TweetI&#8217;m headed to Amsterdam for PgConf.EU and very excited for my very first European postgres Conference. I&#8217;m giving two talks &#8211; Managing Terabytes, and Mistakes Were Made. Both are cautionary tales about the things that one can do terribly wrong &#8230; <a href="http://www.chesnok.com/daily/2011/10/17/headed-to-pgconf-eu/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<div id="tweetbutton3382" class="tw_button" style=""><a href="http://twitter.com/share?url=http%3A%2F%2Fwww.chesnok.com%2Fdaily%2F2011%2F10%2F17%2Fheaded-to-pgconf-eu%2F&amp;text=Headed%20to%20PgConf.EU&amp;related=&amp;lang=en&amp;count=horizontal&amp;counturl=http%3A%2F%2Fwww.chesnok.com%2Fdaily%2F2011%2F10%2F17%2Fheaded-to-pgconf-eu%2F" class="twitter-share-button"  style="width:55px;height:22px;background:transparent url('http://www.chesnok.com/daily/wp-content/plugins/wp-tweet-button/tweetn.png') no-repeat  0 0;text-align:left;text-indent:-9999px;display:block;">Tweet</a></div><p>I&#8217;m headed to Amsterdam for <a href="http://pgconf.eu">PgConf.EU</a> and very excited for my very first European postgres Conference. </p>
<p>I&#8217;m giving two talks &#8211; Managing Terabytes, and Mistakes Were Made. Both are cautionary tales about the things that one can do terribly wrong with database management, and system operations management. My goal with these talks is to start a conversation about what we can learn from failure. </p>
<p>I encourage everyone to share their stories about what fails. Not only are they great &#8220;campfire stories&#8221; for entertainment, but they help us all learn faster, and they teach us what ultimately works when everything is failing.</p>
<p>In the same vein, <a href="http://calagator.org/events/1250461397">UpdatePDX</a> is putting on another &#8220;tales of failure&#8221; set of short talks the following week back in Portland. I&#8217;ll be leading the charge with a short story of my own, followed by at least two other tales of failure. </p>
]]></content:encoded>
			<wfw:commentRss>http://www.chesnok.com/daily/2011/10/17/headed-to-pgconf-eu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Update releases for 9.1.1, 9.0.5, 8.4.9, 8.3.16 and 8.2.22</title>
		<link>http://www.chesnok.com/daily/2011/09/26/update-releases-for-9-1-1-9-0-5-8-4-9-8-3-16-and-8-2-22/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=update-releases-for-9-1-1-9-0-5-8-4-9-8-3-16-and-8-2-22</link>
		<comments>http://www.chesnok.com/daily/2011/09/26/update-releases-for-9-1-1-9-0-5-8-4-9-8-3-16-and-8-2-22/#comments</comments>
		<pubDate>Mon, 26 Sep 2011 16:30:02 +0000</pubDate>
		<dc:creator>selena</dc:creator>
				<category><![CDATA[postgresql]]></category>
		<category><![CDATA[8.2.22]]></category>
		<category><![CDATA[8.3.16]]></category>
		<category><![CDATA[8.4.9]]></category>
		<category><![CDATA[9.0.5]]></category>
		<category><![CDATA[9.1.1]]></category>
		<category><![CDATA[postgres]]></category>
		<category><![CDATA[update release]]></category>

		<guid isPermaLink="false">http://www.chesnok.com/daily/?p=3372</guid>
		<description><![CDATA[TweetToday the Global PostgreSQL Development Group released branch updates for all supported versions. You can go ahead and download them now! There were quite a few fixes for somewhat obscure crashes, fixes for memory leaks discovered by some valgrind testing, &#8230; <a href="http://www.chesnok.com/daily/2011/09/26/update-releases-for-9-1-1-9-0-5-8-4-9-8-3-16-and-8-2-22/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<div id="tweetbutton3372" class="tw_button" style=""><a href="http://twitter.com/share?url=http%3A%2F%2Fwww.chesnok.com%2Fdaily%2F2011%2F09%2F26%2Fupdate-releases-for-9-1-1-9-0-5-8-4-9-8-3-16-and-8-2-22%2F&amp;text=Update%20releases%20for%209.1.1%2C%209.0.5%2C%208.4.9%2C%208.3.16%20and%208.2.22&amp;related=&amp;lang=en&amp;count=horizontal&amp;counturl=http%3A%2F%2Fwww.chesnok.com%2Fdaily%2F2011%2F09%2F26%2Fupdate-releases-for-9-1-1-9-0-5-8-4-9-8-3-16-and-8-2-22%2F" class="twitter-share-button"  style="width:55px;height:22px;background:transparent url('http://www.chesnok.com/daily/wp-content/plugins/wp-tweet-button/tweetn.png') no-repeat  0 0;text-align:left;text-indent:-9999px;display:block;">Tweet</a></div><p>Today the Global PostgreSQL Development Group released branch updates for all supported versions. You can go ahead and <a href="http://postgresql.org/download">download them now</a>!</p>
<p>There were quite a few fixes for somewhat obscure crashes, fixes for memory leaks discovered by some valgrind testing, and a couple big fixes for GiST indexes, like this: </p>
<blockquote><p>
* <a href="http://git.postgresql.org/gitweb/?p=postgresql.git;a=commit;h=0a6cc28500b7a8db7a27cbd0d75e18837fb2e367">Fix memory leak at end of a GiST index scan</a></p>
<p>    gistendscan() forgot to free so->giststate.</p>
<p>    This oversight led to a massive memory leak &#8212; upwards of 10KB per tuple<br />
    &#8212; during creation-time verification of an exclusion constraint based on a<br />
    GIST index.  In most other scenarios it&#8217;d just be a leak of 10KB that would<br />
    be recovered at end of query, so not too significant; though perhaps the<br />
    leak would be noticeable in a situation where a GIST index was being used<br />
    in a nestloop inner indexscan.  In any case, it&#8217;s a real leak of long<br />
    standing, so patch all supported branches.  Per report from Harald Fuchs.
</p></blockquote>
<p>There were a few fixes for catalog or catalog index corruption, and avoidance of buffer overflows which could cause a backend crash. There were also a few fixes that will improve the performance of VACUUM over time.</p>
<p>Release notes have all the details. Many of the fixes have already been committed to 9.1 (there are only 11 new commits in 9.1.1). So, you&#8217;re about to experience a great many bugfixes, users of 8.2->9.0. </p>
<p>Another thing to note &#8211; 8.2 will be deprecated in 2011! You ought to upgrade anyway, just to get HOT and to get yourself into a position to use pg_upgrade for future upgrades. But now, you&#8217;ve got extra incentive.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.chesnok.com/daily/2011/09/26/update-releases-for-9-1-1-9-0-5-8-4-9-8-3-16-and-8-2-22/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>My Postgres Performance Checklist</title>
		<link>http://www.chesnok.com/daily/2011/09/22/my-postgres-performance-checklist/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=my-postgres-performance-checklist</link>
		<comments>http://www.chesnok.com/daily/2011/09/22/my-postgres-performance-checklist/#comments</comments>
		<pubDate>Thu, 22 Sep 2011 15:30:13 +0000</pubDate>
		<dc:creator>selena</dc:creator>
				<category><![CDATA[postgres]]></category>
		<category><![CDATA[postgresql]]></category>
		<category><![CDATA[assessment]]></category>
		<category><![CDATA[checklist]]></category>
		<category><![CDATA[performance]]></category>

		<guid isPermaLink="false">http://www.chesnok.com/daily/?p=3358</guid>
		<description><![CDATA[TweetI am asked fairly frequently to give a health assessment of Postgres databases. Below is the process I&#8217;ve used and continue to refine. The list isn&#8217;t exhaustive, but it covers the main issues a DBA needs to address. Run boxinfo.pl &#8230; <a href="http://www.chesnok.com/daily/2011/09/22/my-postgres-performance-checklist/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<div id="tweetbutton3358" class="tw_button" style=""><a href="http://twitter.com/share?url=http%3A%2F%2Fwww.chesnok.com%2Fdaily%2F2011%2F09%2F22%2Fmy-postgres-performance-checklist%2F&amp;text=My%20Postgres%20Performance%20Checklist&amp;related=&amp;lang=en&amp;count=horizontal&amp;counturl=http%3A%2F%2Fwww.chesnok.com%2Fdaily%2F2011%2F09%2F22%2Fmy-postgres-performance-checklist%2F" class="twitter-share-button"  style="width:55px;height:22px;background:transparent url('http://www.chesnok.com/daily/wp-content/plugins/wp-tweet-button/tweetn.png') no-repeat  0 0;text-align:left;text-indent:-9999px;display:block;">Tweet</a></div><p>I am asked fairly frequently to give a health assessment of Postgres databases. Below is the process I&#8217;ve used and continue to refine. </p>
<p>The list isn&#8217;t exhaustive, but it covers the main issues a DBA needs to address.</p>
<ol>
<li><strong>Run boxinfo.pl on a system</strong><br />
Fetch the script from <a href="http://bucardo.org/wiki/Boxinfo">http://bucardo.org/wiki/Boxinfo</a>. Run as the postgres user on the system (or a user that has access to the postgres config).
</li>
<li><strong>Check network.</strong><br />
What is the network configuration of the system? What is the network topology between database and application servers? Any errors?
</li>
<li><strong>Check hardware.</strong><br />
How many disks? What is the RAID level? What is the SLA for disk replacement? How many spares? What is the SLA for providing data to the application? Can we meet that with the hardware we have?</li>
<li><strong>Check operating system.</strong><br />
IO scheduler set to &#8216;noop&#8217; or &#8216;deadline&#8217;, swappiness set to 0 (http://www.pythian.com/news/1913/what-exactly-is-swappiness/)
</li>
<li><strong>Check filesystems.</strong><br />
Which filesystem is being used? What parameters are used with the filesystem? Typical things: noatime, &#8216;<code>tune2fs -m 0 /dev/sdXY</code>&#8216; (get rid of root reserved space on database partition), readahead &#8211; set to at least 1MB, 8MB might be better.
</li>
<li><strong>Check partitions.</strong><br />
What are the partition sizes? Are the <code>/</code>, <code>pg_xlog</code> and <code>pgdata</code> directories separated? Are they of sufficient size for production, SLAs, error management, backups?
</li>
<li><strong>Check Postgres.</strong><br />
What is the read/write mix of the application? What is our available memory? What is the anticipated transpactions per second? Where are stats being written (<code>tmpfs</code>)?
</li>
<li><strong>Check connection pooler.</strong><br />
Which connection pooler is being used? Which system is it running on? Where will clients connect from? Which connection style (single statement, single transaction, multi-transaction)?</li>
<li><strong>Backups, disaster recovery, HA</strong><br />
Big issues. Must be tailored to each situation.
</li>
</ol>
<p>What&#8217;s your checklist for analyzing a system?</p>
]]></content:encoded>
			<wfw:commentRss>http://www.chesnok.com/daily/2011/09/22/my-postgres-performance-checklist/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>Seeking: Database Disaster Stories</title>
		<link>http://www.chesnok.com/daily/2011/09/21/seeking-database-disaster-stories/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=seeking-database-disaster-stories</link>
		<comments>http://www.chesnok.com/daily/2011/09/21/seeking-database-disaster-stories/#comments</comments>
		<pubDate>Wed, 21 Sep 2011 15:30:00 +0000</pubDate>
		<dc:creator>selena</dc:creator>
				<category><![CDATA[postgres]]></category>
		<category><![CDATA[postgresql]]></category>
		<category><![CDATA[databases]]></category>
		<category><![CDATA[disaster]]></category>
		<category><![CDATA[mistakes were made]]></category>

		<guid isPermaLink="false">http://www.chesnok.com/daily/?p=3355</guid>
		<description><![CDATA[TweetI&#8217;m going to give another &#8220;Mistakes Were Made&#8221; talk at PgConf.EU next month. I have many disaster stories of my own, but am always looking for more! Stories of data-destruction and tales of unexpected failure are welcome. You can leave &#8230; <a href="http://www.chesnok.com/daily/2011/09/21/seeking-database-disaster-stories/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<div id="tweetbutton3355" class="tw_button" style=""><a href="http://twitter.com/share?url=http%3A%2F%2Fwww.chesnok.com%2Fdaily%2F2011%2F09%2F21%2Fseeking-database-disaster-stories%2F&amp;text=Seeking%3A%20Database%20Disaster%20Stories&amp;related=&amp;lang=en&amp;count=horizontal&amp;counturl=http%3A%2F%2Fwww.chesnok.com%2Fdaily%2F2011%2F09%2F21%2Fseeking-database-disaster-stories%2F" class="twitter-share-button"  style="width:55px;height:22px;background:transparent url('http://www.chesnok.com/daily/wp-content/plugins/wp-tweet-button/tweetn.png') no-repeat  0 0;text-align:left;text-indent:-9999px;display:block;">Tweet</a></div><p>I&#8217;m going to give another &#8220;Mistakes Were Made&#8221; talk at <a href="http://2011.pgconf.eu/">PgConf.EU</a> next month. </p>
<p>I have many disaster stories of my own, but am always looking for more! Stories of data-destruction and tales of unexpected failure are welcome. </p>
<p>You can leave them in the comments, or <a href="mailto:selena@chesnok.com">email me</a>.</p>
<p>The talk focuses on the ways in which systems fail, and the typical kinds of failure we find in web operations. Types of failure I focus on are: </p>
<p>* Failure to Document<br />
* Failure to Test<br />
* Failure to Verify<br />
* Failure to Imagine<br />
* Failure to Implement</p>
<p>Stories that fall outside those categories are especially welcome. </p>
<p>I look forward to your tales of woe!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.chesnok.com/daily/2011/09/21/seeking-database-disaster-stories/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Dynamic page generated in 0.387 seconds. -->
<!-- Cached page generated by WP-Super-Cache on 2012-02-22 22:00:58 -->

