Re: cache reads vs. disk reads

From: decibel <decibel(at)decibel(dot)org>
To: Gerd König <koenig(at)transporeon(dot)com>
Cc: pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: Re: cache reads vs. disk reads
Date: 2009-07-10 03:03:32
Message-ID: 003892BD-90F5-4D30-AB0F-B1A9D4220A13@decibel.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Jul 1, 2009, at 4:20 AM, Gerd König wrote:
> b) pg_statio_user_tables=>
>
> heap_blks_read is the number of disk blocks read for that table
> (excluding index
> access), does heap_blks_hit mean the number of accesses to the
> cache for that data ?
> ...and is the number of heap_blks_read in heap_blks_hit included,
> or is this
> number the additional accesses, after reading the data from disk to
> buffer ?

Take a look in the manual; there's a pretty clear explanation in there.
--
Decibel!, aka Jim C. Nasby, Database Architect decibel(at)decibel(dot)org
Give your computer some brain candy! www.distributed.net Team #1828

In response to

Browse pgsql-general by date

  From Date Subject
Next Message decibel 2009-07-10 03:06:02 Re: REINDEX "is not a btree"
Previous Message decibel 2009-07-10 03:01:24 Re: Multi - table statistics