RE: [HACKERS] tables > 1 gig

Поиск
Список
Период
Сортировка
От Hiroshi Inoue
Тема RE: [HACKERS] tables > 1 gig
Дата
Msg-id 000e01beb938$335b9660$2801007e@cadzone.tpf.co.jp
обсуждение исходный текст
Ответ на Re: [HACKERS] tables > 1 gig  (Bruce Momjian <maillist@candle.pha.pa.us>)
Ответы Re: [HACKERS] tables > 1 gig  (Bruce Momjian <maillist@candle.pha.pa.us>)
Список 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 по дате отправления:

Предыдущее
От: "Billy G. Allie"
Дата:
Сообщение: Re: [HACKERS] Re: UnixWare
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: [HACKERS] tables > 1 gig