Received: from localhost (unknown [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id A79DF64FE67 for ; Thu, 30 Oct 2008 04:59:45 -0300 (ADT) Received: from postgresql.org ([200.46.204.86]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 36017-01 for ; Thu, 30 Oct 2008 04:59:42 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from outmail136128.authsmtp.com (outmail136128.authsmtp.com [62.13.136.128]) by postgresql.org (Postfix) with ESMTP id 93A8664FDE5 for ; Thu, 30 Oct 2008 04:59:41 -0300 (ADT) Received: from mail-c189.authsmtp.com (mail-c189.authsmtp.com [62.13.128.71]) by punt9.authsmtp.com (8.14.2/8.14.2/Kp) with ESMTP id m9U7xcF6030693; Thu, 30 Oct 2008 07:59:38 GMT Received: from [192.168.0.3] (85-211-99-122.dyn.gotadsl.co.uk [85.211.99.122]) (authenticated bits=0) by mail.authsmtp.com (8.14.2/8.14.2/Kp) with ESMTP id m9U7xb9u084258; Thu, 30 Oct 2008 07:59:37 GMT Subject: Re: 8.3.4 PITR recovery questions From: Simon Riggs To: Kevin Grittner Cc: pgsql-admin@postgresql.org In-Reply-To: <48F8AA95.EE98.0025.0@wicourts.gov> References: <48F8AA95.EE98.0025.0@wicourts.gov> Content-Type: text/plain Date: Thu, 30 Oct 2008 07:59:40 +0000 Message-Id: <1225353580.3971.353.camel@ebony.2ndQuadrant> Mime-Version: 1.0 X-Mailer: Evolution 2.12.0 Content-Transfer-Encoding: 7bit X-Server-Quench: b2db9582-a658-11dd-bc7a-001f29070be2 X-AuthRoute: OCdxZQATClZOTQEd DAteCiNZVAwpPBRK HVkIKg5MJUcNSQVJ NksadBtFawVbYlpF HGQLW1xEUFp7XGp/ aA0fZQBDYEtPQQxj TklLQE1QEQdtHhxP Wxd7VVEgfkBGcHpy YE4sX3FcWQoodxIv S0tcF3BXY2JodWEe BBRFJVBTIR5Kfh4T aFl/U3NfNGdJBC9q VzwaExUQGwAXeGIO BF1FFXMuew4REzU7 WR0YDH02AEAeWyQ0 KQdO X-Authentic-SMTP: 61633235383639.kestrel.dmpriest.net.uk:1378/Kp X-Report-SPAM: If SPAM / abuse - report it at: http://www.authsmtp.com/abuse X-Virus-Status: No virus detected - but ensure you scan with your own anti-virus system! X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0 tagged_above=0 required=5 tests=none X-Spam-Level: X-Archive-Number: 200810/179 X-Sequence-Number: 30635 On Fri, 2008-10-17 at 15:09 -0500, Kevin Grittner wrote: > In both cases it seemed to take longer to apply the WAL files during > the recovery process than we're used to from 8.2 I don't have hard > numbers, but before I spent time investigating I thought I would ask > here if that is already a known issue. We're doing a lot in 8.4 to improve performance. I'm allowing bgwriter to be active, so that cleaning and restartpoints are handled asynchronously. Koichi is releasing a patch to use readahead on the WAL files. Taken together we might expect recovery to be at least twice as fast on a 2+ CPU system. -- Simon Riggs www.2ndQuadrant.com PostgreSQL Training, Services and Support