Re: remove flatfiles.c

Поиск
Список
Период
Сортировка
От Simon Riggs
Тема Re: remove flatfiles.c
Дата
Msg-id 1251791038.2889.42.camel@ebony.2ndQuadrant
обсуждение исходный текст
Ответ на remove flatfiles.c  (Alvaro Herrera <alvherre@commandprompt.com>)
Ответы Re: remove flatfiles.c  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On Mon, 2009-08-31 at 18:53 -0400, Alvaro Herrera wrote:

> Regarding sync commits that previously happen and now won't, I think the
> only case worth worrying about is the one in vacuum.c.  Do we need a
> ForceSyncCommit() in there?  I'm not sure if vacuum itself already
> forces sync commit.

VACUUM FULL requires ForceSyncCommit().

Not sure why removing them elsewhere is important? Getting robustness
wrong is a big, bad thing and this opens us to future error. We already
tuned VACUUM so it does very little if it has no work to do, why would
one extra I/O improve things so much? If it ain't broke... 

VACUUM does so many things that I'd rather have it all safely on disk.
I'd feel happier with the rule "VACUUM always sync commits", so we all
remember it and can rely upon it to be the same from release to release.

-- Simon Riggs           www.2ndQuadrant.com



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

Предыдущее
От: Jeff Janes
Дата:
Сообщение: pgbench hard coded constants
Следующее
От: Dimitri Fontaine
Дата:
Сообщение: binary compat