pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
query to find out # of buffer hits vs. # of disk reads ?
2+ messages / 2 participants
[nested] [flat]

* query to find out # of buffer hits vs. # of disk reads ?
@ 2009-01-14 16:47 Kevin Kempter <kevink@consistentstate.com>
  2009-01-16 23:45 ` Re: query to find out # of buffer hits vs. # of disk reads ? Erik Jones <ejones@engineyard.com>
  0 siblings, 1 reply; 2+ messages in thread

From: Kevin Kempter @ 2009-01-14 16:47 UTC (permalink / raw)
  To: pgsql-admin

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



^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: query to find out # of buffer hits vs. # of disk reads ?
  2009-01-14 16:47 query to find out # of buffer hits vs. # of disk reads ? Kevin Kempter <kevink@consistentstate.com>
@ 2009-01-16 23:45 ` Erik Jones <ejones@engineyard.com>
  0 siblings, 0 replies; 2+ messages in thread

From: Erik Jones @ 2009-01-16 23:45 UTC (permalink / raw)
  To: Kevin Kempter <kevink@consistentstate.com>; +Cc: pgsql-admin

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








^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2009-01-16 23:45 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2009-01-14 16:47 query to find out # of buffer hits vs. # of disk reads ? Kevin Kempter <kevink@consistentstate.com>
2009-01-16 23:45 ` Erik Jones <ejones@engineyard.com>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox