Re: patch for new feature: Buffer Cache Hibernation - Mailing list pgsql-hackers

From Dickson S. Guedes
Subject Re: patch for new feature: Buffer Cache Hibernation
Date
Msg-id BANLkTimg7NcSzp0j-E=42A0O=GyhCh_BfQ@mail.gmail.com
Whole thread Raw
In response to Re: patch for new feature: Buffer Cache Hibernation  (Greg Stark <gsstark@mit.edu>)
List 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 by date:

Previous
From: Jeff Janes
Date:
Subject: Re: "full_page_writes" makes no difference?
Next
From: Tom Lane
Date:
Subject: Re: Pull up aggregate subquery