RE: [HACKERS] tables > 1 gig - Mailing list pgsql-hackers

From Hiroshi Inoue
Subject RE: [HACKERS] tables > 1 gig
Date
Msg-id 000e01beb938$335b9660$2801007e@cadzone.tpf.co.jp
Whole thread Raw
In response to Re: [HACKERS] tables > 1 gig  (Bruce Momjian <maillist@candle.pha.pa.us>)
Responses Re: [HACKERS] tables > 1 gig
List pgsql-hackers
> -----Original Message-----
> From: Bruce Momjian [mailto:maillist@candle.pha.pa.us]
> Sent: Friday, June 18, 1999 11:31 AM
> To: Hiroshi Inoue
> Cc: PostgreSQL-development
> Subject: Re: [HACKERS] tables > 1 gig
> 
> 
> > Unlinking unused segments after truncating to zero length may cause 
> > the result such as 
> > 
> >      Existent backends write to the truncated file to extend 
> the relation
> >      while new backends create a new segment file to extend the 
> relation. 
> 
> How about my idea of creating a truncated file, the renaming it to the
> table file.  That keeps the table open for other open file descriptors,
> but put a zero-length file in place in an atomic manner.
>

Sorry,I couldn't understand what you mean.
What is differenct from truncating existent files to zero length ?

Regards.

Hiroshi Inoue
Inoue@tpf.co.jp


pgsql-hackers by date:

Previous
From: "Billy G. Allie"
Date:
Subject: Re: [HACKERS] Re: UnixWare
Next
From: Bruce Momjian
Date:
Subject: Re: [HACKERS] tables > 1 gig