pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Simon Riggs <simon@2ndquadrant.com>
To: Григорий Титов <nav73@narod.ru>
Cc: pgsql-admin@postgresql.org
Subject: Re: wholly / partially table read into shared buffer
Date: Mon, 24 Sep 2007 22:59:45 +0100
Message-ID: <1190671185.4181.236.camel@ebony.site> (raw)
In-Reply-To: <42071190300869@webmail27.yandex.ru>
References: <42071190300869@webmail27.yandex.ru>

On Thu, 2007-09-20 at 19:07 +0400, Григорий Титов wrote:

> I am newbie in Postgres, but previously worked with Oracle. Now I am
> puzzled with heap_blks_hit/heap_blks_read ratio. I make select from
> table (whose size is larger than shared_buffer) and saw that it was
> wholly read from disk after second, third and so on runs. Isn't is
> wrong that RDBMS tries to cache table data blocks at least PARTIALLY
> in the case of insufficient cache buffer?

It does cache partially, but its always the wrong part of the table.

BTQ, Oracle does that too...

-- 
  Simon Riggs
  2ndQuadrant  http://www.2ndQuadrant.com




view thread (3+ messages)  latest in thread

Message-ID: <1190671185.4181.236.camel@ebony.site>
Permalink:  ../1190671185.4181.236.camel@ebony.site/
Also on:    postgresql.org/message-id/1190671185.4181.236.camel@ebony.site

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: simon@2ndquadrant.com, nav73@narod.ru
  Subject: Re: wholly / partially table read into shared buffer
  In-Reply-To: <1190671185.4181.236.camel@ebony.site>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

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