Re: Spread checkpoint sync

Поиск
Список
Период
Сортировка
От Marti Raudsepp
Тема Re: Spread checkpoint sync
Дата
Msg-id AANLkTimG+WgKS8bHUo-wR5cgm2G15nBP9n=yrYf7=SS+@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Spread checkpoint sync  (Robert Haas <robertmhaas@gmail.com>)
Ответы ToDo List Item - System Table Index Clustering  (Simone Aiken <saiken@ulfheim.net>)
Список pgsql-hackers
On Sat, Jan 15, 2011 at 14:05, Robert Haas <robertmhaas@gmail.com> wrote:
> Idea #4: For ext3 filesystems that like to dump the entire buffer
> cache instead of only the requested file, write a little daemon that
> runs alongside of (and completely indepdently of) PostgreSQL.  Every
> 30 s, it opens a 1-byte file, changes the byte, fsyncs the file, and
> closes the file, thus dumping the cache and preventing a ridiculous
> growth in the amount of data to be sync'd at checkpoint time.

Wouldn't it be easier to just mount in data=writeback mode? This
provides a similar level of journaling as most other file systems.

Regards,
Marti


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

Предыдущее
От: Andreas Karlsson
Дата:
Сообщение: Re: Bug in pg_describe_object, patch v2
Следующее
От: Robert Haas
Дата:
Сообщение: Re: Spread checkpoint sync