Re: How to know server status variable in postgresql?

From: Marti Raudsepp <marti(at)juffo(dot)org>
To: ambilalmca <ambilalmca(at)gmail(dot)com>
Cc: PG-General Mailing List <pgsql-general(at)postgresql(dot)org>
Subject: Re: How to know server status variable in postgresql?
Date: 2014-01-15 13:30:47
Message-ID: CABRT9RDLRjsJJtaK6cxhCzZ9Q8vS2yy_JLXDcjDL0gi10tVXhA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Wed, Jan 15, 2014 at 7:36 AM, ambilalmca <ambilalmca(at)gmail(dot)com> wrote:
> can you tell me the full query for that? because in pg_stat_all_tables contains many fields. i dont know whats the correct one to get the result.

>>>> *Number of cached blocks read,

>>>> Number of cached index blocks read,

They're in pg_statio_all_tables, it's all documented at:
http://www.postgresql.org/docs/current/static/monitoring-stats.html

Regards,
Marti

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Felix.徐 2014-01-15 14:08:00 How are pg_operator and pg_type related with each other?
Previous Message Leonardo M. Ramé 2014-01-15 13:06:27 Londiste3 (SkyTools3)