Received: from localhost (maia-3.hub.org [200.46.204.184]) by postgresql.org (Postfix) with ESMTP id B51199FA324 for ; Fri, 22 Dec 2006 14:47:18 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.184]) (amavisd-new, port 10024) with ESMTP id 15286-05 for ; Fri, 22 Dec 2006 14:47:07 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey-1.7.4 Received: from sun.pyrenet (ohp.adsl.pyrenet.fr [62.212.125.145]) by postgresql.org (Postfix) with ESMTP id E3AF79F9F47 for ; Fri, 22 Dec 2006 14:47:08 -0400 (AST) Received: from localhost (localhost [127.0.0.1]) by sun.pyrenet (Postfix) with ESMTP id AC9251481B; Fri, 22 Dec 2006 19:47:07 +0100 (CET) X-Virus-Scanned: amavisd-new at pyrenet.fr Received: from sun.pyrenet ([127.0.0.1]) by localhost (sun.pyrenet [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 2UampnqsgFeA; Fri, 22 Dec 2006 19:47:05 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by sun.pyrenet (Postfix) with ESMTP id 9914714821; Fri, 22 Dec 2006 19:47:05 +0100 (CET) Date: Fri, 22 Dec 2006 19:47:05 +0100 (CET) From: ohp@pyrenet.fr X-X-Sender: ohp@sun.pyrenet Reply-To: ohp@pyrenet.fr To: Tom Lane cc: Kevin Grittner , Jeremy Haile , pgsql-performance@postgresql.org Subject: Re: URGENT: Out of disk space pg_xlog In-Reply-To: <26238.1166811258@sss.pgh.pa.us> Message-ID: References: <1166803606.2828.281701761@webmail.messagingengine.com> <1166806378.10592.281708161@webmail.messagingengine.com> <458BC058.EE98.0025.0@wicourts.gov> <26238.1166811258@sss.pgh.pa.us> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200612/502 X-Sequence-Number: 22558 On Fri, 22 Dec 2006, Tom Lane wrote: > Date: Fri, 22 Dec 2006 13:14:18 -0500 > From: Tom Lane > To: Kevin Grittner > Cc: Jeremy Haile , pgsql-performance@postgresql.org > Subject: Re: [PERFORM] URGENT: Out of disk space pg_xlog > > "Kevin Grittner" writes: > > As I understand it, the log space accumulates for the oldest transaction > > which is still running, and all transactions which started after it. > > No, pg_xlog can be truncated as soon as a checkpoint occurs. Even for currently running transactions ? My understanding was that checkpoint was syncing data files for commited transactions. What happens to pg_xlogs when a transaction updates M of rows/tables and runs for hours? [snip] > > regards, tom lane > > ---------------------------(end of broadcast)--------------------------- > TIP 4: Have you searched our list archives? > > http://archives.postgresql.org > regards -- Olivier PRENANT Tel: +33-5-61-50-97-00 (Work) 15, Chemin des Monges +33-5-61-50-97-01 (Fax) 31190 AUTERIVE +33-6-07-63-80-64 (GSM) FRANCE Email: ohp@pyrenet.fr ------------------------------------------------------------------------------ Make your life a dream, make your dream a reality. (St Exupery)