Re: disk space usage unexpected - Mailing list pgsql-performance

From Rose Zhou
Subject Re: disk space usage unexpected
Date
Msg-id E7C81E4831384DD6BFD53C85E304EBE1@Cicero
Whole thread Raw
In response to Re: disk space usage unexpected  (Ben Chobot <bench@silentmedia.com>)
Responses Re: disk space usage unexpected  (Ben Chobot <bench@silentmedia.com>)
List pgsql-performance
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.


pgsql-performance by date:

Previous
From: Ben Chobot
Date:
Subject: Re: disk space usage unexpected
Next
From: "Joshua D. Drake"
Date:
Subject: Re: disk space usage unexpected