X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [64.117.224.130]) by svr1.postgresql.org (Postfix) with ESMTP id A52B7D1B55E for ; Wed, 8 Oct 2003 13:51:24 +0000 (GMT) Received: from svr1.postgresql.org ([64.117.224.193]) by localhost (neptune.hub.org [64.117.224.130]) (amavisd-new, port 10024) with ESMTP id 61363-04 for ; Wed, 8 Oct 2003 10:50:42 -0300 (ADT) Received: from news.hub.org (unknown [64.117.224.194]) by svr1.postgresql.org (Postfix) with ESMTP id A7F3CD1B588 for ; Wed, 8 Oct 2003 10:50:38 -0300 (ADT) Received: from news.hub.org (host-64-117-224-194.altec1.com [64.117.224.194] (may be forged)) by news.hub.org (8.12.9/8.12.9) with ESMTP id h98DocQj052547 for ; Wed, 8 Oct 2003 13:50:38 GMT (envelope-from news@news.hub.org) Received: (from news@localhost) by news.hub.org (8.12.9/8.12.9/Submit) id h98DSH6Y048931 for pgsql-admin@postgresql.org; Wed, 8 Oct 2003 13:28:17 GMT From: Christopher Browne X-Newsgroups: comp.databases.postgresql.admin Subject: Re: Question about DB VACUUM Date: Wed, 08 Oct 2003 09:21:56 -0400 Organization: cbbrowne Computing Inc Lines: 25 Message-ID: References: <002401c38d62$a9df7010$0400a8c0@amer.cisco.com> <002501c38d69$cc9f4ba0$0400a8c0@amer.cisco.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@news.hub.org X-message-flag: Outlook is rather hackable, isn't it? X-Home-Page: http://www.cbbrowne.com/info/ X-Affero: http://svcs.affero.net/rm.php?r=cbbrowne User-Agent: Gnus/5.1003 (Gnus v5.10.3) XEmacs/21.4 (Reasonable Discussion, linux) Cancel-Lock: sha1:h7E4jpWikCPuD2cbvROyBsKHf1A= To: pgsql-admin@postgresql.org X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200310/93 X-Sequence-Number: 10654 In the last exciting episode, cjwhite@cisco.com ("Chris White (cjwhite)") wrote: > BTW, the connection I shutdown, had not read, written or deleted any > large objects. It had read and written to other tables. This is causing > me concern as I am using a thread pool to provide access to the data in > the large object table, and this seems to imply I have to close each > connection after reading/writing or deleting a large object in order for > me to truly reclaim unused space when I issue my periodic vacuum > command. Yup, that sounds like a more-than-vaguely familiar story... The implication may not be _precisely_ correct, but the difference between what you're expecting and reality seems to be difficult to get at. I would expect that if you fired a (perhaps trivial) transaction through each of the connections once in a while, that would "clear things up" too. How to accomplish that may be the challenge... -- wm(X,Y):-write(X),write('@'),write(Y). wm('cbbrowne','ntlug.org'). http://www.ntlug.org/~cbbrowne/postgresql.html "With sufficient thrust, pigs fly just fine. However, this is not necessarily a good idea. It is hard to be sure where they are going to land, and it could be dangerous sitting under them as they fly overhead." -- RFC 1925