Re: patch for new feature: Buffer Cache Hibernation

From: Greg Stark <gsstark(at)mit(dot)edu>
To: Mitsuru IWASAKI <iwasaki(at)jp(dot)freebsd(dot)org>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: patch for new feature: Buffer Cache Hibernation
Date: 2011-05-04 15:38:50
Message-ID: BANLkTiknoPhVBsMe8bBDZ8T=2u_Rnwz5oA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Wed, May 4, 2011 at 3:10 PM, Mitsuru IWASAKI <iwasaki(at)jp(dot)freebsd(dot)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.

--
greg

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2011-05-04 15:44:36 Re: patch for new feature: Buffer Cache Hibernation
Previous Message Simon Riggs 2011-05-04 15:30:03 Re: Unlogged vs. In-Memory