Re: PG index architecture

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: PG index architecture
Дата
Msg-id 11451.1405457514@sss.pgh.pa.us
обсуждение исходный текст
Ответ на PG index architecture  (Andy Colson <andy@squeakycode.net>)
Список pgsql-general
Andy Colson <andy@squeakycode.net> writes:
> As I understand indexes, they are a key value pair, that contain a value
> and a position.  You lookup the value then use the position to seek into
> the database to load the record.

> Do we, or could we, load all the the matching index records, then sort
> them by position?  (maybe not all, maybe large batches)

This is more or less what a "bitmap index scan" does.

            regards, tom lane


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

Предыдущее
От: Igor Neyman
Дата:
Сообщение: Re: PG index architecture
Следующее
От: John R Pierce
Дата:
Сообщение: Re: PG index architecture