Re: pg_prewarm
Dimitri Fontaine <dimitri@2ndquadrant.fr>
From: Dimitri Fontaine <dimitri@2ndQuadrant.fr>
To: Robert Haas <robertmhaas@gmail.com>
Cc: Dimitri Fontaine <dimitri@2ndquadrant.fr>, pgsql-hackers@postgresql.org
Date: 2012-03-09T15:33:47Z
Lists: pgsql-hackers
Commits
Same data as JSON:
GET /api/v1/messages/:b64id/commits
the thread's linked commits as JSON, with link sources.
API reference →
-
pgstattuple: Use a BufferAccessStrategy object to avoid cache-trashing.
- 2e46bf671145 9.2.0 cited
Robert Haas <robertmhaas@gmail.com> writes: >> https://github.com/klando/pgfincore > > Oh, huh. I had no idea that pgfincore could do that. I thought that > was just for introspection; I didn't realize it could actually move > data around for you. Well, I though Cédric already had included shared buffers related facilities, so that make us square it seems… >> Is it possible with your tool to snapshot the OS and PostgreSQL cache in >> order to warm an Hot Standby server? > > Nope. It doesn't have any capabilities to probe for information, > because I knew those things already existed in pg_buffercache and > pgfincore, and also because they weren't what I needed to solve my > immediate problem, which was a way to get the entirety of a relation > into shared_buffers. So that's complementary with pgfincore, ok. I still wish we could maintain the RAM content HOT on the standby in the same way we are able to maintain its data set on disk, though. Regards, -- Dimitri Fontaine http://2ndQuadrant.fr PostgreSQL : Expertise, Formation et Support