pg_buffercache

F.24. pg_buffercache

The pg_buffercache module provides a means for examining what's happening in the shared buffer cache in real time.

The module provides a C function pg_buffercache_pages that returns a set of records, plus a view pg_buffercache that wraps the function for convenient use.

By default public access is revoked from both of these, just in case there are security issues lurking.

F.24.1. The pg_buffercache View

The definitions of the columns exposed by the view are shown in Table F-16.

Table F-16. pg_buffercache Columns

登录查看完整内容