Re: Bug: Buffer cache is not scan resistant - Mailing list pgsql-hackers

From Hannu Krosing
Subject Re: Bug: Buffer cache is not scan resistant
Date
Msg-id 1173085824.3279.1.camel@localhost.localdomain
Whole thread Raw
In response to Re: Bug: Buffer cache is not scan resistant  ("Luke Lonergan" <LLonergan@greenplum.com>)
Responses Re: Bug: Buffer cache is not scan resistant
List pgsql-hackers
Ühel kenal päeval, E, 2007-03-05 kell 03:51, kirjutas Luke Lonergan:
>  Hi Tom,
> 
> > Even granting that your conclusions are accurate, we are not 
> > in the business of optimizing Postgres for a single CPU architecture.
> 
> I think you're missing my/our point:
> 
> The Postgres shared buffer cache algorithm appears to have a bug.  When
> there is a sequential scan the blocks are filling the entire shared
> buffer cache.  This should be "fixed".
> 
> My proposal for a fix: ensure that when relations larger (much larger?)
> than buffer cache are scanned, they are mapped to a single page in the
> shared buffer cache.

How will this approach play together with synchronized scan patches ?

Or should synchronized scan rely on systems cache only ?

> - Luke
> 
> 
> ---------------------------(end of broadcast)---------------------------
> TIP 1: if posting/reading through Usenet, please send an appropriate
>        subscribe-nomail command to majordomo@postgresql.org so that your
>        message can get through to the mailing list cleanly
-- 
----------------
Hannu Krosing
Database Architect
Skype Technologies OÜ
Akadeemia tee 21 F, Tallinn, 12618, Estonia

Skype me:  callto:hkrosing
Get Skype for free:  http://www.skype.com



pgsql-hackers by date:

Previous
From: Heikki Linnakangas
Date:
Subject: Re: Bug: Buffer cache is not scan resistant
Next
From: Tom Lane
Date:
Subject: Re: Bug: Buffer cache is not scan resistant