There's more...

There is an extension called pgfincore that implements a set of functions to manage PostgreSQL data pages in the operating system's file cache. One possible use is to preload some tables so that PostgreSQL will load them faster when requested. The general idea is that you can provide more detailed information for the operating system cache, which can therefore behave more efficiently.

The pgfincore extension is a stable project started in 2009. More details about it are available at http://pgfoundry.org/projects/pgfincore, including the source code. However, it should be noted that most distributions include a prebuilt pgfincore package, which makes installation easier.

There is also a contrib module called pg_prewarm, introduced ...

Get PostgreSQL Administration Cookbook, 9.5/9.6 Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.