RE: [HACKERS] TODO item

Поиск
Список
Период
Сортировка
Искать
От
Hiroshi Inoue
Тема
RE: [HACKERS] TODO item
Дата
Msg-id
NDBBIJLOILGIKBGDINDFMEKPCCAA.Inoue@tpf.co.jp
Ответ на
Список
Дерево обсуждения
Re: fsync alternatives (was: Re: [HACKERS] TODO item) Chris Bitmead <chrisb@nimrod.itg.telstra.com.au>
> -----Original Message-----
> From: owner-pgsql-hackers@postgresql.org
> [mailto:owner-pgsql-hackers@postgresql.org]On Behalf Of Tatsuo Ishii
>
> > > In the TODO file:
> > >
> > > * -Allow transaction commits with rollback with no-fsync
> performance [fsync](Vadim)
> > >
> > > Has this been done in current? I see almost no performance
> > > improvement on copying data into a table.
> >
> > TODO updated.  That was part of MVCC which originally was supposed to be
> > in 7.0.
>
> Thanks.
>
> BTW, I have worked a little bit on this item. The idea is pretty
> simple. Instead of doing a real fsync() in pg_fsync(), just marking it
> so that we remember to do fsync() at the commit time. Following

This seems not good,unfortunately.
Note that the backend which calls pg_fsync() for a relation file may
be different from the backend which updated shared buffers of the file.
The former backend wouldn't necessarily be committed when the
latter backend is committed.

Regards.

Hiroshi Inoue
Inoue@tpf.co.jp


В списке pgsql-hackers по дате отправления
От: Bruce Momjian
Дата:
Сообщение: Re: [HACKERS] TODO item
От: Michael Meskes
Дата:
FAQ