X-Original-To: pgsql-sql-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 4BCFD53FA8 for ; Thu, 14 Apr 2005 18:15:43 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 36592-02 for ; Thu, 14 Apr 2005 21:15:34 +0000 (GMT) Received: from krogh.officenet.no (unknown [128.39.244.194]) by svr1.postgresql.org (Postfix) with ESMTP id 933B153C80 for ; Thu, 14 Apr 2005 18:15:32 -0300 (ADT) Received: from localhost (localhost [127.0.0.1]) by krogh.officenet.no (Postfix) with ESMTP id 0D20611C64C; Thu, 14 Apr 2005 23:15:36 +0200 (CEST) From: Andreas Joseph Krogh Organization: OfficeNet AS To: Andrew Sullivan Subject: Re: row-attribute in EXPLAIN-output doesn't match count(*) Date: Thu, 14 Apr 2005 23:15:35 +0200 User-Agent: KMail/1.8 Cc: pgsql-sql@postgresql.org References: <200504141838.14705.andreak@officenet.no> <200504142157.03313.andreak@officenet.no> <20050414204435.GF9027@phlogiston.dyndns.org> In-Reply-To: <20050414204435.GF9027@phlogiston.dyndns.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200504142315.35484.andreak@officenet.no> X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0 tagged_above=0 required=5 tests= X-Spam-Level: X-Archive-Number: 200504/213 X-Sequence-Number: 21106 On Thursday 14 April 2005 22:44, Andrew Sullivan wrote: > On Thu, Apr 14, 2005 at 09:57:03PM +0200, Andreas Joseph Krogh wrote: > > Is it safe to issue a "kill -2 ", will the > > connection-pool reconnect? > > The kill -2 will definitely work to shut the connectiond down > cleanly. Actually, I should put that more precisely: you should send > SIGINT. I don't know of any systems where that's not 2, but I > suppose it's logically possible. > > As for the reconnection, it'll depend entirely on what your pool does > when its connections are closed. You'll have to test it. Just did, and SIGINT didn't help(or I was too impatient), so I sent a SIGTE= RM,=20 then it wen away. But - it didn't help on my "vacuum dead rows" problem,=20 vacuum still won't reclaim those > 100.000 "dead" rows, not even after a=20 web-app restart(shut down Tomcat, ran "vacuum full verbose" then started=20 Tomcat again). INFO: vacuuming "public.onp_web_index" INFO: "onp_web_index": found 0 removable, 160057 nonremovable row versions= in=20 14892 pages DETAIL: 159759 dead row versions cannot be removed yet. =2E.. Any hints? =2D-=20 Andreas Joseph Krogh Senior Software Developer / Manager gpg public_key: http://dev.officenet.no/~andreak/public_key.asc =2D-----------------------+---------------------------------------------+ OfficeNet AS | The most difficult thing in the world is to | Hoffsveien 17 | know how to do a thing and to watch | PO. Box 425 Sk=F8yen | somebody else doing it wrong, without | 0213 Oslo | comment. | NORWAY | | Phone : +47 22 13 01 00 | | Direct: +47 22 13 10 03 | | Mobile: +47 909 56 963 | | =2D-----------------------+---------------------------------------------+