Received: from localhost (unknown [200.46.204.184]) by postgresql.org (Postfix) with ESMTP id AED429F924B for ; Sun, 4 Nov 2007 20:33:52 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.184]) (amavisd-maia, port 10024) with ESMTP id 15570-01 for ; Sun, 4 Nov 2007 20:33:41 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey-1.7.5 Received: from westnet.com (westnet.com [216.187.52.2]) by postgresql.org (Postfix) with ESMTP id C1F559F9245 for ; Sun, 4 Nov 2007 20:33:47 -0400 (AST) Received: from westnet.com (localhost [127.0.0.1]) by westnet.com (8.14.0/8.14.0) with ESMTP id lA50XljQ002481 for ; Sun, 4 Nov 2007 19:33:47 -0500 (EST) Received: from localhost (gsmith@localhost) by westnet.com (8.14.0/8.13.2/Submit) with ESMTP id lA50Xlt3002478 for ; Sun, 4 Nov 2007 19:33:47 -0500 (EST) X-Authentication-Warning: westnet.com: gsmith owned process doing -bs Date: Sun, 4 Nov 2007 19:33:46 -0500 (EST) From: Greg Smith X-X-Sender: gsmith@westnet.com To: pgsql-performance@postgresql.org Subject: Migrating to 8.3 - checkpoints and background writer Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200711/51 X-Sequence-Number: 27466 For those of you considering a move to the upcoming 8.3 release, now in beta, I've written some documentation on the changes made in checkpoint and background writer configuration in the new version: http://www.westnet.com/~gsmith/content/postgresql/chkp-bgw-83.htm Since the first half of that covers the current behavior in 8.1 and 8.2, those sections may be helpful if you'd like to know more about checkpoint slowdowns and ways to resolve them even if you have no plans to evaluate 8.3 yet. I'd certainly encourage anyone who can run the 8.3 beta to consider adding some tests in this area while there's still time to correct any issues encountered before the official release. On the topic of performance improvements in 8.3, I don't think this list has been getting information about the concurrent sequential scans improvements. Check out these documents for more about that: http://j-davis.com/postgresql/83v82_scans.html http://j-davis.com/postgresql/syncscan/syncscan.pdf http://j-davis.com/postgresql/syncscan/syncscan.odp I particularly liked that first one because it gives a nice sample of how to generate large amounts of data easily and then run benchmarks against it, which is a handy thing to know for many types of performance comparisons. -- * Greg Smith gsmith@gregsmith.com http://www.gregsmith.com Baltimore, MD