Обсуждение: query to find out # of buffer hits vs. # of disk reads ?

Поиск
Список
Период
Сортировка

query to find out # of buffer hits vs. # of disk reads ?

От
Kevin Kempter
Дата:
Hi all;

Anyone know what system catalogs I need to query to find out # of disk reads
and # of memory / buffercache reads ?

Thanks in advance

Re: query to find out # of buffer hits vs. # of disk reads ?

От
Erik Jones
Дата:
On Jan 14, 2009, at 8:47 AM, Kevin Kempter wrote:

> Hi all;
>
> Anyone know what system catalogs I need to query to find out # of
> disk reads
> and # of memory / buffercache reads ?

See blks_hit and blks_read on the pg_stat_database view.

Erik Jones, Database Administrator
Engine Yard
Support, Scalability, Reliability
866.518.9273 x 260
Location: US/Pacific
IRC: mage2k