Re: disk space usage unexpected

From: "Rose Zhou" <rose(at)anatec(dot)com>
To: "'Ben Chobot'" <bench(at)silentmedia(dot)com>
Cc: <pgsql-performance(at)postgresql(dot)org>
Subject: Re: disk space usage unexpected
Date: 2010-02-15 21:25:00
Message-ID: E7C81E4831384DD6BFD53C85E304EBE1@Cicero
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)silentmedia(dot)com]
Sent: 15 February 2010 16:16
To: Rose Zhou
Cc: pgsql-performance(at)postgresql(dot)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.

In response to

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Joshua D. Drake 2010-02-16 01:24:50 Re: disk space usage unexpected
Previous Message Ben Chobot 2010-02-15 21:15:48 Re: disk space usage unexpected