Re: Proposing pg_hibernate

Поиск
Список
Период
Сортировка
Искать
От
Cédric Villemain
Тема
Re: Proposing pg_hibernate
Дата
Msg-id
2328330.T2qD6s7k5m@obelix
Ответ на
Proposing pg_hibernate (Gurjeet Singh)
Список
Дерево обсуждения
Proposing pg_hibernate Gurjeet Singh <gurjeet@singh.im>
Re: Proposing pg_hibernate Cédric Villemain <cedric@2ndquadrant.com>
Re: Proposing pg_hibernate Gurjeet Singh <gurjeet@singh.im>
Re: Proposing pg_hibernate Gurjeet Singh <gurjeet@singh.im>
Re: Proposing pg_hibernate Amit Kapila <amit.kapila16@gmail.com>
Re: Proposing pg_hibernate Gurjeet Singh <gurjeet@singh.im>
Re: Proposing pg_hibernate Amit Kapila <amit.kapila16@gmail.com>
Re: Proposing pg_hibernate Robert Haas <robertmhaas@gmail.com>
Re: Proposing pg_hibernate Gurjeet Singh <gurjeet@singh.im>
Re: Proposing pg_hibernate Amit Kapila <amit.kapila16@gmail.com>
Re: Proposing pg_hibernate Andres Freund <andres@2ndquadrant.com>
Re: Proposing pg_hibernate Robert Haas <robertmhaas@gmail.com>
Re: Proposing pg_hibernate Andres Freund <andres@2ndquadrant.com>
Re: Proposing pg_hibernate Jim Nasby <jim@nasby.net>
Re: Proposing pg_hibernate Robert Haas <robertmhaas@gmail.com>
Re: Proposing pg_hibernate Andres Freund <andres@2ndquadrant.com>
Re: Proposing pg_hibernate Gurjeet Singh <gurjeet@singh.im>
Re: Proposing pg_hibernate Gurjeet Singh <gurjeet@singh.im>
Re: Proposing pg_hibernate Robert Haas <robertmhaas@gmail.com>
Re: Proposing pg_hibernate Gurjeet Singh <gurjeet@singh.im>
Re: Proposing pg_hibernate Robert Haas <robertmhaas@gmail.com>
Re: Proposing pg_hibernate Gurjeet Singh <gurjeet@singh.im>
Re: Proposing pg_hibernate Robert Haas <robertmhaas@gmail.com>
Re: Proposing pg_hibernate Gurjeet Singh <gurjeet@singh.im>
Re: Proposing pg_hibernate "MauMau" <maumau307@gmail.com>
Re: Proposing pg_hibernate "MauMau" <maumau307@gmail.com>
Re: Proposing pg_hibernate Amit Kapila <amit.kapila16@gmail.com>
Re: Proposing pg_hibernate Gurjeet Singh <gurjeet@singh.im>
Re: Proposing pg_hibernate Amit Kapila <amit.kapila16@gmail.com>
Re: Proposing pg_hibernate Gurjeet Singh <gurjeet@singh.im>
Re: Proposing pg_hibernate Amit Kapila <amit.kapila16@gmail.com>
Re: Proposing pg_hibernate Gurjeet Singh <gurjeet@singh.im>
Re: Proposing pg_hibernate Amit Kapila <amit.kapila16@gmail.com>
Re: Proposing pg_hibernate Gurjeet Singh <gurjeet@singh.im>
Re: Proposing pg_hibernate Amit Kapila <amit.kapila16@gmail.com>
Re: Proposing pg_hibernate Gurjeet Singh <gurjeet@singh.im>
Re: Proposing pg_hibernate Amit Kapila <amit.kapila16@gmail.com>
Re: Proposing pg_hibernate Kevin Grittner <kgrittn@ymail.com>
Re: Proposing pg_hibernate Gurjeet Singh <gurjeet@singh.im>
Re: Proposing pg_hibernate Gurjeet Singh <gurjeet@singh.im>
Re: Proposing pg_hibernate Gurjeet Singh <gurjeet@singh.im>
Re: Proposing pg_hibernate Josh Kupershmidt <schmiddy@gmail.com>
Re: Proposing pg_hibernate Gurjeet Singh <gurjeet@singh.im>

Le lundi 3 février 2014 19:18:54 Gurjeet Singh a écrit :

> Possible enhancements:

> - Ability to save/restore only specific databases.

> - Control how many BlockReaders are active at a time; to avoid I/O

> storms. - Be smart about lowered shared_buffers across the restart.

> - Different modes of reading like pg_prewarm does.

> - Include PgFincore functionality, at least for Linux platforms.

 

Please note that pgfincore is working on any system where PostgreSQL prefetch is working, exactly like pg_prewarm. This includes linux, BSD and many unix-like. It *is not* limited to linux.

I never had a single request for windows, but windows does provides an API for that too (however I have no windows offhand to test).

 

Another side note is that currently BSD (at least freeBSD) have a more advanced mincore() syscall than linux and offers a better analysis (dirty status is known) and they implemented posix_fadvise...

 

PS:

There is a previous thread about that hibernation feature. Mitsuru IWASAKI did a patch, and it triggers some interesting discussions.

Some notes in this thread are outdated now, but it's worth having a look at it:

 

http://www.postgresql.org/message-id/20110504.231048.113741617.iwasaki@jp.FreeBSD.org

 

https://commitfest.postgresql.org/action/patch_view?id=549

 

--

Cédric Villemain +33 (0)6 20 30 22 52

http://2ndQuadrant.fr/

PostgreSQL: Support 24x7 - Développement, Expertise et Formation

В списке pgsql-hackers по дате отправления
От: Peter Geoghegan
Дата:
От: Gurjeet Singh
Дата:
FAQ