Re: 9.2 and index only scans

Поиск
Список
Период
Сортировка
От Craig Ringer
Тема Re: 9.2 and index only scans
Дата
Msg-id 503CC1FA.9050905@ringerc.id.au
обсуждение исходный текст
Ответ на Re: 9.2 and index only scans  (Thomas Kellerer <spam_eater@gmx.net>)
Ответы Re: 9.2 and index only scans  (Thomas Kellerer <spam_eater@gmx.net>)
Re: 9.2 and index only scans  (Chris Travers <chris.travers@gmail.com>)
Список pgsql-general
On 08/28/2012 05:51 PM, Thomas Kellerer wrote:
> Martijn van Oosterhout, 28.08.2012 10:02:
>> I'm not sure how oracle avoids the same issues:
>> - The index has no visibility information, so you can't tell if an
>>    index entry refers to a row you can actually see in your session.
>>    The visibility map might help here in the future.
>
> In Oracle an index (entry) has the information about transactional
> visibility.

Wow. Doesn't that mean that indexes are insanely expensive to update,
since each index (and possibly also the table its self) needs updating?

I can see that making sense for index-oriented tables, but otherwise ...
ugh.

--
Craig Ringer



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

Предыдущее
От: Merlin Moncure
Дата:
Сообщение: Re: Postgres DBA in Berlin, Germany
Следующее
От: Craig Ringer
Дата:
Сообщение: Re: Is it nonsense (read: stupid) to keep count of child entries via triggers and a custom table?