Received: from maia.hub.org (unknown [200.46.204.183]) by mail.postgresql.org (Postfix) with ESMTP id 668FE634511 for ; Mon, 15 Feb 2010 17:27:02 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 58394-01-6 for ; Mon, 15 Feb 2010 21:26:51 +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 849CC633F18 for ; Mon, 15 Feb 2010 17:25:02 -0400 (AST) Received: from Cicero ([69.171.137.171]) by appserver.anatec.local with Microsoft SMTPSVC(6.0.3790.3959); Mon, 15 Feb 2010 21:24:50 +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: Mon, 15 Feb 2010 16:25:00 -0500 Message-ID: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0006_01CAAE5B.6E2AB4F0" X-Mailer: Microsoft Office Outlook 11 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579 thread-index: AcquhA0NuMh1uUKdRRCvkNjGiHD4WwAAOFUw In-Reply-To: <903012AD-0E8E-4FC0-BDE5-4DEB28C1D38C@silentmedia.com> X-OriginalArrivalTime: 15 Feb 2010 21:24:50.0890 (UTC) FILETIME=[4EC50AA0:01CAAE85] X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-2.598 tagged_above=-10 required=5 tests=BAYES_00=-2.599, HTML_MESSAGE=0.001 X-Spam-Level: X-Archive-Number: 201002/248 X-Sequence-Number: 37669 This is a multi-part message in MIME format. ------=_NextPart_000_0006_01CAAE5B.6E2AB4F0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit 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? Best Regards Rose Zhou _____ From: Ben Chobot [mailto:bench@silentmedia.com] Sent: 15 February 2010 16:16 To: Rose Zhou Cc: pgsql-performance@postgresql.org Subject: Re: [PERFORM] disk space usage unexpected On Feb 15, 2010, at 11:59 AM, Rose Zhou wrote: > Good day, > > I have a PostgreSQL 8.4 database installed on WinXP x64 with very heavy > writing and updating on a partitioned table. Sometimes within one minute, > there are tens of file with size=1,048,576kb (such as > filenode.1,filenode.2,...filenode.43) created in the database subdirectory > within PGDATA/base. > > This caused the disk space quickly used up. Is this expected? It's expected if you're doing lots of inserts, and/or lots of updates or deletes without an appropriate amount of vacuuming. ------=_NextPart_000_0006_01CAAE5B.6E2AB4F0 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Re: [PERFORM] disk space usage unexpected
Thanks Ben:
 
I will adjust the auto vacuum parameters. It = is on now,=20 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?
 
 


Best Regards

Rose Zhou

 


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

On Feb 15, 2010, at 11:59 AM, Rose Zhou = wrote:

>=20 Good day,
>
> I have a PostgreSQL 8.4 database installed = on WinXP=20 x64 with very heavy
> writing and updating on a partitioned = table.=20 Sometimes within one minute,
> there are tens of file with=20 size=3D1,048,576kb (such as
> = filenode.1,filenode.2,...filenode.43)=20 created in the database subdirectory
> within=20 PGDATA/base.
>
> This caused the disk space quickly used = up. Is=20 this expected?

It's expected if you're doing lots of inserts, = and/or=20 lots of updates or deletes without an appropriate amount of=20 vacuuming.


------=_NextPart_000_0006_01CAAE5B.6E2AB4F0--