From: Scott Marlowe <smarlowe@g2switchworks.com>
To: Tomeh, Husam <htomeh@firstam.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: Vacuum Verbose output
Date: Mon, 31 Oct 2005 16:52:40 -0600
Message-ID: <1130799160.15018.35.camel@state.g2switchworks.com> (raw)
In-Reply-To: <C45835824D00A844BBD0F032D5CDED9202D55552@pisgana01sxch01.ana.firstamdata.com>
References: <C45835824D00A844BBD0F032D5CDED9202D55552@pisgana01sxch01.ana.firstamdata.com>
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.
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: smarlowe@g2switchworks.com, htomeh@firstam.com
Subject: Re: Vacuum Verbose output
In-Reply-To: <1130799160.15018.35.camel@state.g2switchworks.com>
References: <C45835824D00A844BBD0F032D5CDED9202D55552@pisgana01sxch01.ana.firstamdata.com> <1130799160.15018.35.camel@state.g2switchworks.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox