Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 60100475957 for ; Tue, 7 Jan 2003 05:29:31 -0500 (EST) Received: from news.hub.org (news.hub.org [64.49.215.80]) by postgresql.org (Postfix) with ESMTP id 0271B4758C9 for ; Tue, 7 Jan 2003 05:29:31 -0500 (EST) Received: by news.hub.org (Postfix, from userid 8) id E263E43A74A; Tue, 7 Jan 2003 05:29:30 -0500 (EST) From: "Gaetano Mendola" X-Newsgroups: comp.databases.postgresql.admin Subject: Re: Vacuum explained -> Dangerous ? Date: Tue, 7 Jan 2003 11:29:44 +0100 Organization: Hub.Org Networking Services (http://www.hub.org) Lines: 34 Message-ID: References: <26423.1041885959@sss.pgh.pa.us> X-Complaints-To: usenet@news.hub.org X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 To: pgsql-admin@postgresql.org X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200301/47 X-Sequence-Number: 6889 "Tom Lane" wrote in message news:26423.1041885959@sss.pgh.pa.us... > Robert Treat writes: > > Tup = # of "rows" in your table > > Right. This is the number of rows remaining after the vacuum, to be > precise. > > > Keep = # of tuples that the db did not feel it could safely mark/remove > > (probably envolved in some type of transaction) NOTICE: Pages 2518: Changed 38, Empty 0; Tup 75489: Vac 447, Keep 68661, UnUsed 144574. This mean that if a process do a "begin transaction" and stay there one month without activity all row delete or updated after that "begin transaction" remain there for ever ? If it's so, this is what is happening on my DB I have a pool of process ( for performance sake) and some of this process are not working but the first thing done is: SetAutoCommit( false ); if this start the transaction ( I'm going to investigate ) is a disaster!!!! Some one have already experience on that ? Ciao Gaetano.