Received: from localhost (maia-1.hub.org [200.46.204.191]) by postgresql.org (Postfix) with ESMTP id B86FB9F9C35 for ; Wed, 6 Dec 2006 18:08:57 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.191]) (amavisd-new, port 10024) with ESMTP id 58436-05 for ; Wed, 6 Dec 2006 18:08:33 -0400 (AST) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.4 Received: from web58407.mail.re3.yahoo.com (web58407.mail.re3.yahoo.com [68.142.236.175]) by postgresql.org (Postfix) with SMTP id 88F379F9C9E for ; Wed, 6 Dec 2006 18:08:33 -0400 (AST) Received: (qmail 67206 invoked by uid 60001); 6 Dec 2006 21:53:01 -0000 Message-ID: <20061206215301.67204.qmail@web58407.mail.re3.yahoo.com> DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=4LQT7OfqsLnMGfzi8dlafX9qD3KQRrgSfe39Q0W+8R1JIC8vkcgTYKEt5L1NTE2+SFFgEzU2qev4k0sz8ysUSAgJemdbZnE7toYXWXTF7fFuu6hUB+EVg0jfqE5+G2OFXTmnGmtimRkM42WU05WEUM9wdLZB04YiPMEFVG+W3Z8=; X-YMail-OSG: 3wCQh4UVM1lrLeJSoIp65hqfJ.E4kRAgWmfDkeIHubDUsP08vPzlxIzTx7AahTboztP7Rjn_r1.o7v0R_FaT.CEqw3UJJu5y7XaH3kwhpiwUCla5nN_GHaPUx6g.Lxd64hAYaGrziYNh5wo- Received: from [65.218.233.130] by web58407.mail.re3.yahoo.com via HTTP; Wed, 06 Dec 2006 13:53:01 PST Date: Wed, 6 Dec 2006 13:53:01 -0800 (PST) From: asif ali Subject: Re: VACUUM FULL does not works....... To: pgsql-performance@postgresql.org In-Reply-To: <554.1165434927@sss.pgh.pa.us> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-6887853-1165441981=:66388" Content-Transfer-Encoding: 8bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200612/155 X-Sequence-Number: 22211 --0-6887853-1165441981=:66388 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Thanks Everybody for helping me out. I checked "pg_stat_activity"/pg_locks, but do not see any activity on the table. How to find a old running transaction... I saw this link, but it did not help.. http://archives.postgresql.org/pgsql-hackers/2005-02/msg00760.php Thanks asif ali icrossing inc Tom Lane wrote: asif ali writes: > INFO: vacuuming "public.product_table" > INFO: "product_table": found 0 removable, 139178 nonremovable row versions in 4305 pages > DETAIL: 138859 dead row versions cannot be removed yet. So Scott's guess was correct: you've got a whole lot of dead rows in there that will eventually be removable, but not while there's still an open transaction that might be able to "see" them. Find your open transaction and get rid of it (pg_stat_activity might help). regards, tom lane ---------------------------(end of broadcast)--------------------------- TIP 4: Have you searched our list archives? http://archives.postgresql.org --------------------------------- Check out the all-new Yahoo! Mail beta - Fire up a more powerful email and get things done faster. --0-6887853-1165441981=:66388 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Thanks Everybody for helping me out.
I checked "pg_stat_activity"/pg_locks, but do not see any activity on the table.
How to find a old running transaction...
I saw this link, but it did not help..
http://archives.postgresql.org/pgsql-hackers/2005-02/msg00760.php

Thanks

asif ali
icrossing inc

Tom Lane <tgl@sss.pgh.pa.us> wrote:
asif ali writes:
> INFO: vacuuming "public.product_table"
> INFO: "product_table": found 0 removable, 139178 nonremovable row versions in 4305 pages
> DETAIL: 138859 dead row versions cannot be removed yet.

So Scott's guess was correct: you've got a whole lot of dead rows in
there that will eventually be removable, but not while there's still
an open transaction that might be able to "see" them. Find your open
transaction and get rid of it (pg_stat_activity might help).

regards, tom lane

---------------------------(end of broadcast)---------------------------
TIP 4: Have you searched our list archives?

http://archives.postgresql.org


Check out the all-new Yahoo! Mail beta - Fire up a more powerful email and get things done faster. --0-6887853-1165441981=:66388--