Re: Dynamic Catalog Views - Mailing list pgsql-general

From tv@fuzzy.cz
Subject Re: Dynamic Catalog Views
Date
Msg-id 57213.62.40.76.70.1271156740.squirrel@sq.gransy.com
Whole thread Raw
In response to Re: Dynamic Catalog Views  (John R Pierce <pierce@hogranch.com>)
Responses Re: Dynamic Catalog Views
List pgsql-general
> raghavendra t wrote:
>> Hi All,
>>
>> Could please guide me in knowing the Dynamic Catalog views which will
>> tell about the Buffers and Cache information using System Catalogs.
>>
>
> you mean, stuff like
> http://www.postgresql.org/docs/current/static/catalog-pg-statistic.html ?
>
> afaik, data about whats in the cache and buffers is not accessible via
> any pg_catalog schema tables.

It's not accessible by default, but there is contrib package called
'pg_buffercache':

http://www.postgresql.org/docs/8.4/interactive/pgbuffercache.html

I guess that might provide the information about buffers.

Tomas




pgsql-general by date:

Previous
From: John R Pierce
Date:
Subject: Re: prevent connection using pgpass.conf
Next
From: Kenichiro Tanaka
Date:
Subject: Re: Need some help with a query (uniq -c)