Re: Dynamic Catalog Views

From: tv(at)fuzzy(dot)cz
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Dynamic Catalog Views
Date: 2010-04-13 11:05:40
Message-ID: 57213.62.40.76.70.1271156740.squirrel@sq.gransy.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Kenichiro Tanaka 2010-04-13 11:12:40 Re: Need some help with a query (uniq -c)
Previous Message John R Pierce 2010-04-13 10:00:42 Re: prevent connection using pgpass.conf