Re: patch for new feature: Buffer Cache Hibernation

Поиск
Список
Период
Сортировка
От Dickson S. Guedes
Тема Re: patch for new feature: Buffer Cache Hibernation
Дата
Msg-id BANLkTimg7NcSzp0j-E=42A0O=GyhCh_BfQ@mail.gmail.com
обсуждение исходный текст
Ответ на Re: patch for new feature: Buffer Cache Hibernation  (Greg Stark <gsstark@mit.edu>)
Список pgsql-hackers
2011/5/4 Greg Stark <gsstark@mit.edu>:
> On Wed, May 4, 2011 at 3:10 PM, Mitsuru IWASAKI <iwasaki@jp.freebsd.org> wrote:
>> Postgres usually starts with ZERO buffer cache.  By saving the buffer
>> cache data structure into hibernation files just before shutdown, and
>> loading them at startup, postgres can start operations with the saved
>> buffer cache as the same condition as just before the last shutdown.
>
> Offhand this seems pretty handy for benchmarks where it would help get
> reproducible results.

It could have an option to force it or not at start of postgres. This
could helps on benchmarks scenarios.

--
Dickson S. Guedes
mail/xmpp: guedes@guedesoft.net - skype: guediz
http://guedesoft.net - http://www.postgresql.org.br


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

Предыдущее
От: Jeff Janes
Дата:
Сообщение: Re: "full_page_writes" makes no difference?
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Pull up aggregate subquery