Received: from localhost (maia-2.hub.org [200.46.204.187]) by postgresql.org (Postfix) with ESMTP id C3F609F9F46 for ; Sat, 23 Dec 2006 13:33:11 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.187]) (amavisd-new, port 10024) with ESMTP id 07689-03 for ; Sat, 23 Dec 2006 13:33: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 55DF69F939E for ; Sat, 23 Dec 2006 13:33:04 -0400 (AST) Received: from out1.internal (unknown [10.202.2.149]) by out1.messagingengine.com (Postfix) with ESMTP id B239459A3C for ; Sat, 23 Dec 2006 12:32:48 -0500 (EST) Received: from web4.messagingengine.com ([10.202.2.213]) by out1.internal (MEProxy); Sat, 23 Dec 2006 12:32:48 -0500 Received: by web4.messagingengine.com (Postfix, from userid 99) id 9A61016791C; Sat, 23 Dec 2006 12:32:48 -0500 (EST) Message-Id: <1166895168.15177.281812013@webmail.messagingengine.com> X-Sasl-Enc: Ye/cuWpzoXMjW3UlGSuWhTwCny8l6oCC0CJ/LFbLFsbW 1166895168 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: <200612222215.kBMMFnB00280@momjian.us> Subject: Re: URGENT: Out of disk space pg_xlog In-Reply-To: <200612222215.kBMMFnB00280@momjian.us> Date: Sat, 23 Dec 2006 12:32:48 -0500 X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200612/508 X-Sequence-Number: 22564 > > Once you free some space on the data partition and restart, you should > > be good to go --- there will be no loss of committed transactions, since > > all the operations are in pg_xlog. Might take a little while to replay > > all that log though :-( > > Amazing that all works. What I did not see is confirmation from the > user that the data directory filled up _before_ pg_xlog filled up. After I freed up space on the pg_xlog partition and restarted, it took some time to replay all of the log (15-20 minutes) and everything recovered with no data corruption! However, the theory about the data partition filling up first didn't happen in my case. The data partition was (and still is) less than 50% utilized. My pg_xlog files typically run around 400MB, but with the long running update filled up the entire 10GB partition. (which is now a 70 GB partition) So, I'm still not sure what caused the problem. When I get back to work (or maybe sooner), I'll take a look in the PG logs and post anything that looks suspicious here. Thanks for all of your comments and suggestions. Even though I haven't figured out the root of the problem yet, they've been very informative.