Re: vacuum, performance, and MVCC

Поиск
Список
Период
Сортировка
От Greg Stark
Тема Re: vacuum, performance, and MVCC
Дата
Msg-id 87wtb910vf.fsf@stark.xeocode.com
обсуждение исходный текст
Ответ на Re: vacuum, performance, and MVCC  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Tom Lane <tgl@sss.pgh.pa.us> writes:

> Yeah, you should be able to find the older version easily enough, if you
> arrived at the newer version and realized you needed to visit the older
> version.  But this fails in scenarios where you are searching on a
> column that's been updated --- the index entry for the newer version
> will not lead you to visit it at all.  I've not seen any documentation
> about what Oracle does with cases like that.

That's a good question. I had the impression rollback was handled at a lower
level so index pages were stored in rollback segments just like table pages.
If you saw that the page of the index had been updated you went and fetched
the index page of the appropriate age from the rollback segment, giving you
pointers to the right records or at least the right places to start from.

Now that I think about it though I'm not too sure. It seems like the
performance of that would be pretty awful.

-- 
greg



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

Предыдущее
От: "Bort, Paul"
Дата:
Сообщение: Re: [CORE] GPL Source and Copyright Questions
Следующее
От: Tom Lane
Дата:
Сообщение: Re: [CORE] GPL Source and Copyright Questions