<?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"
	>
<channel>
	<title>Comments on: Back to the drawing board</title>
	<atom:link href="http://blog.xcski.com/2008/04/13/back-to-the-drawing-board/feed" rel="self" type="application/rss+xml" />
	<link>http://blog.xcski.com/2008/04/13/back-to-the-drawing-board</link>
	<description>Everything I used to bore people on newsgroups and mailing lists with, now in one inconvenient place.</description>
	<pubDate>Tue, 07 Oct 2008 05:44:06 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.2</generator>
		<item>
		<title>By: Paul Ramsey</title>
		<link>http://blog.xcski.com/2008/04/13/back-to-the-drawing-board#comment-85620</link>
		<dc:creator>Paul Ramsey</dc:creator>
		<pubDate>Sun, 13 Apr 2008 14:54:47 +0000</pubDate>
		<guid isPermaLink="false">http://blog.xcski.com/?p=1319#comment-85620</guid>
		<description>(a) Ensure you are not doing your load one transactional insert at a time.  Wrap 1000 inserts in a transaction block.  Even better, do your load with a COPY statement or at least using prepared statements.
(b) Tune your postgresql.conf file, increase your WAL buffers and other parameters off the crappy default values.
(c) If you are doing a bulk load set fsync off at the start and on at the end.  It's dangerous, but if it's a bulk load you don't mind re-starting the load in the unlikely event your server crashes midway through.</description>
		<content:encoded><![CDATA[<p>(a) Ensure you are not doing your load one transactional insert at a time.  Wrap 1000 inserts in a transaction block.  Even better, do your load with a COPY statement or at least using prepared statements.<br />
(b) Tune your postgresql.conf file, increase your WAL buffers and other parameters off the crappy default values.<br />
(c) If you are doing a bulk load set fsync off at the start and on at the end.  It&#8217;s dangerous, but if it&#8217;s a bulk load you don&#8217;t mind re-starting the load in the unlikely event your server crashes midway through.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
