Received: from localhost (maia-4.hub.org [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id EF9BF9F9F46 for ; Fri, 22 Dec 2006 12:53:10 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-new, port 10024) with ESMTP id 87245-10 for ; Fri, 22 Dec 2006 12:53:05 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey-1.7.4 Received: from out4.smtp.messagingengine.com (out4.smtp.messagingengine.com [66.111.4.28]) by postgresql.org (Postfix) with ESMTP id AB9A59F9C35 for ; Fri, 22 Dec 2006 12:53:05 -0400 (AST) Received: from out1.internal (unknown [10.202.2.149]) by out1.messagingengine.com (Postfix) with ESMTP id 7861B59BA5 for ; Fri, 22 Dec 2006 11:52:58 -0500 (EST) Received: from db2.messagingengine.com ([10.202.2.12]) by out1.internal (MEProxy); Fri, 22 Dec 2006 11:52:58 -0500 Received: by db2.messagingengine.com (Postfix, from userid 99) id 53E80BF; Fri, 22 Dec 2006 11:52:58 -0500 (EST) Message-Id: <1166806378.10592.281708161@webmail.messagingengine.com> X-Sasl-Enc: mIC/g0zB1X4FF4wwwxmNVhQI7x3ukgCaCK3qNi4nfsQt 1166806378 From: "Jeremy Haile" To: pgsql-performance@postgresql.org Content-Disposition: inline Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="ISO-8859-1" MIME-Version: 1.0 X-Mailer: MessagingEngine.com Webmail Interface References: <1166803606.2828.281701761@webmail.messagingengine.com> Subject: Re: URGENT: Out of disk space pg_xlog In-Reply-To: <1166803606.2828.281701761@webmail.messagingengine.com> Date: Fri, 22 Dec 2006 11:52:58 -0500 X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200612/492 X-Sequence-Number: 22548 Sorry for my rushed posting, as I was in a bit of a panic. We moved the pg_xlog directory over to a 70GB partition, and after 15-20 minutes the automatic recovery finished. Everything is working fine now. I would still appreciate a PG guru explaining how to estimate size for a pg_xlog partition. It seems like it can vary considerably depending on how intensive your current transactions are. Is there a way to determine a maximum? On Fri, 22 Dec 2006 11:06:46 -0500, "Jeremy Haile" said: > I created a 10GB partition for pg_xlog and ran out of disk space today > during a long running update. My checkpoint_segments is set to 12, but > there are 622 files in pg_xlog. What size should the pg_xlog partition > be? > > Postmaster is currently not starting up (critical for my organization) > and reports "FATAL: The database system is starting up" . > > The log reports: > 2006-12-22 10:50:09 LOG: checkpoint record is at 2E/87A323C8 > 2006-12-22 10:50:09 LOG: redo record is at 2E/8729A6E8; undo record is > at 0/0; shutdown FALSE > 2006-12-22 10:50:09 LOG: next transaction ID: 0/25144015; next OID: > 140986 > 2006-12-22 10:50:09 LOG: next MultiXactId: 12149; next MultiXactOffset: > 24306 > 2006-12-22 10:50:09 LOG: database system was not properly shut down; > automatic recovery in progress > 2006-12-22 10:50:09 LOG: redo starts at 2E/8729A6E8 > > > This has been running for 20 minutes. What can I do? Please help! > > ---------------------------(end of broadcast)--------------------------- > TIP 4: Have you searched our list archives? > > http://archives.postgresql.org