Re: [COMMITTERS] Re: pgsql: Speed up CREATE DATABASE by deferring the fsyncs until after

Поиск
Список
Период
Сортировка
От Andres Freund
Тема Re: [COMMITTERS] Re: pgsql: Speed up CREATE DATABASE by deferring the fsyncs until after
Дата
Msg-id 201002230843.32394.andres@anarazel.de
обсуждение исходный текст
Ответ на Re: [COMMITTERS] Re: pgsql: Speed up CREATE DATABASE by deferring the fsyncs until after  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Hi Tom,

On Tuesday 23 February 2010 06:37:26 Tom Lane wrote:
> I wrote:
> > Any theories about what is happening? 
> Now, this doesn't mean that all is fine and dandy.  I believe that a
> majority of Unixen will reject attempts to open directories for writing,
> so this solution puts us even further away from being able to fsync the
> directories.  I would bet however that the platforms that reject this
> are ones that don't need fsync on directories.  Maybe we just have to
> have two different code paths depending on platform :-(
Cool.
You can't open a directory for writing under linux as well though - so that 
wont be the decisive argument. Do you have a better idea than a configure 
test?

Andres


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Heikki Linnakangas
Дата:
Сообщение: Re: Streaming replication and pg_xlogfile_name()
Следующее
От: Pavel Stehule
Дата:
Сообщение: Re: Issues for named/mixed function notation patch