shared buffer cache monitoring

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • rashao
    New Member
    • Aug 2008
    • 1

    shared buffer cache monitoring

    I am using Postgres 8.1.4 on Linux. I am interested in calculating the following for a specific application:

    How long it takes the operating system to fulfil a page demand, ie, reading the page from disk or from the OS cache to the Postgres shared buffer.

    Also how long it takes the bgwriter to flush a page from the shared buffer into the OS cache or disk.

    These can be averages or detailed info that I can analyze with other tools

    Are there any functions/views available that log this information, if not where should I start in the source code.
Working...