Re: Vacuum Verbose output

From: Scott Marlowe <smarlowe(at)g2switchworks(dot)com>
To: "Tomeh, Husam" <htomeh(at)firstam(dot)com>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: Vacuum Verbose output
Date: 2005-10-31 22:52:40
Message-ID: 1130799160.15018.35.camel@state.g2switchworks.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

On Mon, 2005-10-31 at 16:34, Tomeh, Husam wrote:
> My understanding that the current release of Postgres does not allow
> the DBA to pre-allocated space for the data files or tablespace in
> advance (as Oracle or SQL Server does). Am I correct on that ? If
> that's still the case, is this item on the TODO list or the white
> board? Pre-allocating space will prevent extending the datafile during
> loading massive data (batch processing) and would improve the overall
> batch write performance.

I can't see pre-allocation making much if any difference in any modern
OS, except it might lower fragmentation of the file a bit. Writing data
is writing data. It takes time, whether you're writing it into a file
that already exists with zeros in it or a new blank file you just
created.

Have you got any file system benchmarks that back up this assertion? I
would love to see something that shows one way or the other if that
really makes any difference.

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Tomeh, Husam 2005-10-31 23:14:13 Pre-allocate space in advance
Previous Message Tomeh, Husam 2005-10-31 22:34:43 Re: Vacuum Verbose output