Re: patch for new feature: Buffer Cache Hibernation

From: Mitsuru IWASAKI <iwasaki(at)jp(dot)FreeBSD(dot)org>
To: pgsql-hackers(at)postgresql(dot)org
Cc: greg(at)2ndquadrant(dot)com, robertmhaas(at)gmail(dot)com
Subject: Re: patch for new feature: Buffer Cache Hibernation
Date: 2011-05-08 04:58:52
Message-ID: 20110508.135852.103138738.iwasaki@jp.FreeBSD.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi, folks!

> I'll do more testing tomorrow, and hopefully finalize my patch.

Done! the patch is available at:
http://people.freebsd.org/~iwasaki/postgres/buffer-cache-hibernation-postgresql-20110508.patch

I hope this would be committable and the final version.
Major changes from the experimental implementation are the following.

- add many validations against hibernation file corruption and etc.
- restore buffer blocks based on buffer descriptors, not from the saved file.
- support restoring cache state even if shared_buffers had changed.

My vacation ends today and I have to go back my work from tomorrow,
but I would try to find spare time for this.

Thanks a lot for happy hacking days with you!

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2011-05-08 05:04:03 Re: postgresql.conf error checking strategy
Previous Message Tom Lane 2011-05-08 04:40:44 Re: pg_upgrade's bindir options could be optional