Re: wholly / partially table read into shared buffer - Mailing list pgsql-admin

From Simon Riggs
Subject Re: wholly / partially table read into shared buffer
Date
Msg-id 1190671185.4181.236.camel@ebony.site
Whole thread Raw
In response to wholly / partially table read into shared buffer  (Григорий Титов <nav73@narod.ru>)
Responses Re: wholly / partially table read into shared buffer  (michal.zaborowski@gmail.com)
List pgsql-admin
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


pgsql-admin by date:

Previous
From: Jessica Richard
Date:
Subject: Re: hanging Postgres connections....
Next
From: "Cesar Otero"
Date:
Subject: Restarting standby database have to reaply WAL (redo logs)