Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1V73C0-0005tM-Lt for pgsql-bugs@arkaria.postgresql.org; Wed, 07 Aug 2013 12:50:20 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1V73C0-0005uu-07 for pgsql-bugs@arkaria.postgresql.org; Wed, 07 Aug 2013 12:50:20 +0000 Received: from makus.postgresql.org ([2001:4800:7903:4::125]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1V73By-0005ub-Vk for pgsql-bugs@postgresql.org; Wed, 07 Aug 2013 12:50:19 +0000 Received: from bln4.gameduell.de ([213.95.169.180]) by makus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1V73Bv-0002k8-96 for pgsql-bugs@postgresql.org; Wed, 07 Aug 2013 12:50:18 +0000 Received: from bln1.gameduell.de (mailer.gd [10.1.1.148]) by bln4.gameduell.de (Postfix) with SMTP id 3FB79E7 for ; Wed, 7 Aug 2013 14:50:13 +0200 (CEST) Received: (qmail 2929 invoked from network); 7 Aug 2013 14:50:13 +0200 Received: from unknown (HELO ?10.2.1.132?) (10.2.1.132) by phaeton.gd with SMTP; 7 Aug 2013 14:50:13 +0200 Message-ID: <52024285.2030204@sourcebase.org> Date: Wed, 07 Aug 2013 14:50:13 +0200 From: Sebastian Kornehl User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130330 Thunderbird/17.0.5 MIME-Version: 1.0 To: Tom Lane CC: pgsql-bugs@postgresql.org Subject: Re: Reltuples/n_live_tup values wrong References: <5202205C.8030904@sourcebase.org> <6848.1375877575@sss.pgh.pa.us> In-Reply-To: <6848.1375877575@sss.pgh.pa.us> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -0.7 (/) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org Hi Tom, thanks for your Reply! You might be right, I found some pg_prepared_xacts from 2013-05-23. This was a test with a XA using application, but the application is already offline. There is also no pid available for the given transaction id's. Do you have any idea how to close these xa transactions without restarting the whole db? Thank you. -Sebastian On 08/07/2013 02:12 PM, Tom Lane wrote: > Sebastian Kornehl writes: >> I'm facing a problem which seems like a bug to me. I'm running: > It seems like most of your problem is explained by this: > >>> DETAIL: 609299 dead row versions cannot be removed yet. > You need to get rid of whatever old open transaction is preventing > those rows from getting vacuumed away. Perhaps you have a prepared > transaction lying around? > > regards, tom lane -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs