Re: Indexed views?

Поиск
Список
Период
Сортировка
От Greg Stark
Тема Re: Indexed views?
Дата
Msg-id 87zn41o4ku.fsf@stark.xeocode.com
обсуждение исходный текст
Ответ на Re: Indexed views?  (Doug McNaught <doug@mcnaught.org>)
Ответы Re: Indexed views?
Список pgsql-hackers
Doug McNaught <doug@mcnaught.org> writes:

> Short answer: MVCC tuple visibility status isn't (and can't be) stored
> in the index.  

Well the "can't" part is false or at least unproven. From prior discussion the
only thing that would be technically challenging would be avoiding deadlocks.

The main issue raised is that storing the visibility information in the index
would incur other performance costs. It would increase the storage size of the
index and it would dramatically increase the i/o needed to maintain indexes
for updates and deletes.

So it becomes a question of performance trade-offs, as many things do. 
It would be an experiment that would require a lot of work to even try,
and people are skeptical that it would really have any benefits.

-- 
greg



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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Indexed views?
Следующее
От: Stephan Szabo
Дата:
Сообщение: Re: Making AFTER triggers act properly in PL functions