Re: Pre-allocate space in advance

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: "Jim C(dot) Nasby" <jnasby(at)pervasive(dot)com>
Cc: "Tomeh, Husam" <htomeh(at)firstam(dot)com>, pgsql-admin(at)postgresql(dot)org
Subject: Re: Pre-allocate space in advance
Date: 2005-11-01 01:37:22
Message-ID: 200511010137.jA11bMT10616@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Jim C. Nasby wrote:
> There was recently discussion about changing how allocation happens in
> the future. I'm pretty sure it was started by Bruce Momjian on -hackers,
> but I can't find it in the archives now...

I don't think is was me. If it was, it would be on the TODO list.

---------------------------------------------------------------------------

>
> On Mon, Oct 31, 2005 at 03:14:13PM -0800, Tomeh, Husam wrote:
> > I apologize for the wrong subject in a previous post. Here it is again:
> >
> >
> > 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.
> >
> > Thanks in advance.
> >
> > --
> > Husam
> >
> > ---------------------------(end of broadcast)---------------------------
> >
> > TIP 2: Don't 'kill -9' the postmaster
> >
> >
> >
> >
> >
> > **********************************************************************
> > This message contains confidential information intended only for the
> > use of the addressee(s) named above and may contain information that
> > is legally privileged. If you are not the addressee, or the person
> > responsible for delivering it to the addressee, you are hereby
> > notified that reading, disseminating, distributing or copying this
> > message is strictly prohibited. If you have received this message by
> > mistake, please immediately notify us by replying to the message and
> > delete the original message immediately thereafter.
> >
> > Thank you. FADLD Tag
> > **********************************************************************
>
> --
> Jim C. Nasby, Sr. Engineering Consultant jnasby(at)pervasive(dot)com
> Pervasive Software http://pervasive.com work: 512-231-6117
> vcard: http://jim.nasby.net/pervasive.vcf cell: 512-569-9461
>
> ---------------------------(end of broadcast)---------------------------
> TIP 2: Don't 'kill -9' the postmaster
>

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Tom Lane 2005-11-01 03:59:13 Re: Vacuum Verbose output
Previous Message Jim C. Nasby 2005-11-01 00:40:48 Re: Pre-allocate space in advance