Received: from maia.hub.org (unknown [200.46.208.211]) by mail.postgresql.org (Postfix) with ESMTP id 2539663362B for ; Wed, 17 Feb 2010 15:58:55 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.208.211]) (amavisd-maia, port 10024) with ESMTP id 63730-04-2 for ; Wed, 17 Feb 2010 19:58:41 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from appserver.anatec.local (anatec-adsl.demon.co.uk [80.177.51.9]) by mail.postgresql.org (Postfix) with SMTP id 5521564004B for ; Wed, 17 Feb 2010 14:43:50 -0400 (AST) Received: from Cicero ([69.171.137.171]) by appserver.anatec.local with Microsoft SMTPSVC(6.0.3790.3959); Wed, 17 Feb 2010 18:43:35 +0000 From: "Rose Zhou" To: "'Ben Chobot'" Cc: References: <4891A2E2CDEF4CE6B6D7F7A4BD4F4D66@Cicero> <903012AD-0E8E-4FC0-BDE5-4DEB28C1D38C@silentmedia.com> Subject: Re: disk space usage unexpected Date: Wed, 17 Feb 2010 13:43:46 -0500 Message-ID: <8FCC635F9E0B4F618FFCA91388EAB4B1@Cicero> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0003_01CAAFD7.3B99E010" X-Mailer: Microsoft Office Outlook 11 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579 In-Reply-To: thread-index: Acqv/8+lx0nKOHSIQV2YndALmyp/+gAAFjgg X-OriginalArrivalTime: 17 Feb 2010 18:43:35.0531 (UTC) FILETIME=[1CA1EBB0:01CAB001] X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.002 tagged_above=-10 required=5 tests=BAYES_50=0.001, HTML_MESSAGE=0.001 X-Spam-Level: X-Archive-Number: 201002/266 X-Sequence-Number: 37687 This is a multi-part message in MIME format. ------=_NextPart_000_0003_01CAAFD7.3B99E010 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Vacuum Full Verbose did not get the disk space back to OS, it did bloat my indexes, also got out of memory error. I dumped the suspicious table, deleted it, re-created it, then restored the data and re-indexed the data, so I got the disk space back. To avoid the database eating up the disk space again, I have adjusted the autovacuum parameters, to make it keep up with the updates. Not sure if this is the right way to solve this kind of problem. Best Regards Rose Zhou _____ From: Ben Chobot [mailto:bench@silentmedia.com] Sent: 17 February 2010 13:34 To: Rose Zhou Cc: pgsql-performance@postgresql.org Subject: Re: [PERFORM] disk space usage unexpected On Feb 15, 2010, at 1:25 PM, Rose Zhou wrote: Thanks Ben: I will adjust the auto vacuum parameters. It is on now, maybe not frequently enough. How to get the disk space back to OS? Will a Vacuum Full Verbose get the disk space back to OS? Yes, but it might bloat your indexes. Do you actually need to get your disk space back? If you did, would the database just eat it up again after more activity? ------=_NextPart_000_0003_01CAAFD7.3B99E010 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable
Vacuum Full Verbose did not get the disk space = back to OS, it=20 did bloat my indexes, also got out of memory error. I dumped the = suspicious=20 table, deleted it, re-created it, then restored the data and re-indexed = the=20 data, so I got the disk space back.
 
To avoid the database eating up the disk space = again, I have=20 adjusted the autovacuum parameters, to make it keep up with the=20 updates.
 
Not sure if this is the right way to solve this = kind of=20 problem.
 


Best Regards

Rose Zhou

 


From: Ben Chobot=20 [mailto:bench@silentmedia.com]
Sent: 17 February 2010=20 13:34
To: Rose Zhou
Cc:=20 pgsql-performance@postgresql.org
Subject: Re: [PERFORM] disk = space=20 usage unexpected

On Feb 15, 2010, at 1:25 PM, Rose Zhou wrote:
Thanks Ben:
 
I will adjust the auto vacuum parameters. = It is on=20 now, maybe not frequently enough.
How to get the disk space back to OS? = Will a Vacuum=20 Full Verbose get the disk space back to OS?
 
 

Yes, but it might bloat your indexes. Do you actually need to get = your=20 disk space back? If you did, would the database just eat it up again = after=20 more activity?
------=_NextPart_000_0003_01CAAFD7.3B99E010--