Re: Win2K Questions

Поиск
Список
Период
Сортировка
Искать
От
Tom Lane
Тема
Re: Win2K Questions
Дата
Msg-id
3077.1037037332@sss.pgh.pa.us
Ответ на
Re: Win2K Questions (Jean-Luc Lachance)
Список
Дерево обсуждения
Win2K Questions "SV" <ng@dig [NO] italnot [SPAM] hing.com>
Re: Win2K Questions Richard Huxton <dev@archonet.com>
Re: Win2K Questions Bruce Momjian <pgman@candle.pha.pa.us>
Jean-Luc Lachance  writes:
> What would be involved in adding version and visibility to the index?

* Index bloat.  An index entry is currently 8 bytes plus the index key,
eg 12 bytes for an int4 index.  Version info would add 12 bytes.
Doubling the size of indexes would double the time for index scans.

* Update costs.  Instead of one place to update when a row is updated,
now all the associated index entries would have to be updated too.

			regards, tom lane
В списке pgsql-general по дате отправления
От: scott.marlowe
Дата:
Сообщение: Re: SQL Tuning
От: Shaun Thomas
Дата:
FAQ