Re: Index/Function organized table layout - Mailing list pgsql-hackers

From Alvaro Herrera
Subject Re: Index/Function organized table layout
Date
Msg-id 20031001162950.GA3379@dcc.uchile.cl
Whole thread Raw
In response to Re: Index/Function organized table layout  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Index/Function organized table layout
List pgsql-hackers
On Wed, Oct 01, 2003 at 11:37:38AM -0400, Tom Lane wrote:
> James Rogers <jamesr@best.com> writes:

> > Both of these things really are attempts to address the same basic problem,
> > which is optimizing the number of buffers a given query uses by making the
> > tables layout reflect typical queries.
> 
> Hm, are you sure that smarter buffer management wouldn't serve the
> purpose?

It doesn't help when there a lot of access locality in searching.  In my
case I want to select some thousands of records that were inserted very
apart from each other, but are logically very near.  Having this
pseudoheap that is ordered by definition helps very much with the
selection; the current heap requires me to bring to buffers lots of
uninteresting tuples, whichever buffer management algorithm is used,
because they are in the same page as interesting tuples.

-- 
Alvaro Herrera (<alvherre[a]dcc.uchile.cl>)
"Linux transformó mi computadora, de una `máquina para hacer cosas',
en un aparato realmente entretenido, sobre el cual cada día aprendo
algo nuevo" (Jaime Salinas)


pgsql-hackers by date:

Previous
From: "Yanhong.Li-1"
Date:
Subject: ...
Next
From: Andrew Sullivan
Date:
Subject: Re: Thoughts on maintaining 7.3