Re: Index/Function organized table layout

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: Index/Function organized table layout
Дата
Msg-id 20031001162950.GA3379@dcc.uchile.cl
обсуждение исходный текст
Ответ на Re: Index/Function organized table layout  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Index/Function organized table layout  (James Rogers <jamesr@best.com>)
Список 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 по дате отправления:

Предыдущее
От: "Yanhong.Li-1"
Дата:
Сообщение: ...
Следующее
От: Andrew Sullivan
Дата:
Сообщение: Re: Thoughts on maintaining 7.3