Re: Optimizer not using index on 120M row table

Поиск
Список
Период
Сортировка
От Neil Conway
Тема Re: Optimizer not using index on 120M row table
Дата
Msg-id 1049776140.3145.32.camel@tokyo
обсуждение исходный текст
Ответ на Re: Optimizer not using index on 120M row table  ("Jim C. Nasby" <jim@nasby.net>)
Ответы Re: Optimizer not using index on 120M row table  ("Jim C. Nasby" <jim@nasby.net>)
Список pgsql-general
On Tue, 2003-04-08 at 00:18, Jim C. Nasby wrote:
> 'visibility information'? Is this related to the versioning that pgsql
> uses instead of read locks?

Yes -- it's the information used by PostgreSQL to implement MVCC.

> I know in other RDBMS's it's very useful to
> have index covering because it eliminates needing to load the base pages
> into memory at all

Storing visibility information in index entries (in addition to heap
tuples) doesn't strike me as a good idea: for one thing, an
UPDATE/DELETE would require touching both heap tuples and any index
entries that point to them. It would also bloat the size of indexes.

Cheers,

Neil


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

Предыдущее
От: "Jim C. Nasby"
Дата:
Сообщение: Re: Optimizer not using index on 120M row table
Следующее
От: "Jim C. Nasby"
Дата:
Сообщение: Re: Optimizer not using index on 120M row table