Re: CLUSTER and indisclustered

Поиск
Список
Период
Сортировка
От Gavin Sherry
Тема Re: CLUSTER and indisclustered
Дата
Msg-id Pine.LNX.4.21.0208071259210.13438-100000@linuxworld.com.au
обсуждение исходный текст
Ответ на Re: CLUSTER and indisclustered  (Curt Sampson <cjs@cynic.net>)
Список pgsql-hackers
On Wed, 7 Aug 2002, Curt Sampson wrote:

> But after doing some benchmarking of various sorts of random reads
> and writes, it occurred to me that there might be optimizations
> that could help a lot with this sort of thing. What if, when we've
> got an index block with a bunch of entries, instead of doing the
> reads in the order of the entries, we do them in the order of the
> blocks the entries point to? That would introduce a certain amount
> of "sequentialness" to the reads that the OS is not capable of
> introducing (since it can't reschedule the reads you're doing, the
> way it could reschedule, say, random writes).

This sounds more or less like the method employed by Firebird as described
by Ann Douglas to Tom at OSCON (correct me if I get this wrong).

Basically, firebird populates a bitmap with entries the scan is interested
in. The bitmap is populated in page order so that all entries on the same
heap page can be fetched at once.

This is totally different to the way postgres does things and would
require significant modification to the index access methods.

Gavin



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Curt Sampson
Дата:
Сообщение: Re: Why is MySQL more chosen over PostgreSQL?
Следующее
От: Don Baccus
Дата:
Сообщение: Re: Why is MySQL more chosen over PostgreSQL?