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 40413D1B566 for ; Wed, 8 Oct 2003 16:47:43 +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 97352-07 for ; Wed, 8 Oct 2003 13:46:53 -0300 (ADT) Received: from sj-iport-2.cisco.com (sj-iport-2-in.cisco.com [171.71.176.71]) by svr1.postgresql.org (Postfix) with ESMTP id CB8F1D1B89B for ; Wed, 8 Oct 2003 13:46:52 -0300 (ADT) Received: from cisco.com (171.68.223.137) by sj-iport-2.cisco.com with ESMTP; 08 Oct 2003 09:47:43 -0700 Received: from cjwhitew2k01 (dhcp-128-107-151-92.cisco.com [128.107.151.92]) by sj-core-3.cisco.com (8.12.6/8.12.6) with ESMTP id h98GkiYb015890; Wed, 8 Oct 2003 09:46:45 -0700 (PDT) Reply-To: From: "Chris White (cjwhite)" To: "'Christopher Browne'" , Subject: Re: Question about DB VACUUM Date: Wed, 8 Oct 2003 09:47:52 -0700 Message-ID: <002101c38dbb$ee42ecb0$5c976b80@amer.cisco.com> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.4024 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4927.1200 In-Reply-To: Importance: Normal X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200310/95 X-Sequence-Number: 10656 Sorry to be such a pain on this, but we are running postgres on a system where we are using a 512MB compact flash as our physical disk media, so disk space usage is of utmost importance. Chris -----Original Message----- From: pgsql-admin-owner@postgresql.org [mailto:pgsql-admin-owner@postgresql.org] On Behalf Of Christopher Browne Sent: Wednesday, October 08, 2003 6:22 AM To: pgsql-admin@postgresql.org Subject: Re: [ADMIN] Question about DB VACUUM 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 ---------------------------(end of broadcast)--------------------------- TIP 5: Have you checked our extensive FAQ? http://www.postgresql.org/docs/faqs/FAQ.html