Re: No heap lookups on index

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: No heap lookups on index
Дата
Msg-id 5987.1137633934@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: No heap lookups on index  (Christopher Kings-Lynne <chriskl@familyhealth.com.au>)
Ответы Re: No heap lookups on index  (Greg Stark <gsstark@mit.edu>)
Список pgsql-hackers
Christopher Kings-Lynne <chriskl@familyhealth.com.au> writes:
>> Oracle does, but you pay in other ways. Instead of keeping dead tuples
>> in the main heap, they shuffle them off to an 'undo log'. This has some
>> downsides:
>> Rollbacks take *forever*, though this usually isn't much of an issue
>> unless you need to abort a really big transaction.

> It's a good point though.  Surely a database should be optimised for the 
> most common operation - commits, rather than rollbacks?

The "shuffling off" of the data is expensive in itself, so I'm not sure
you can argue that the Oracle way is more optimal for commits either.
        regards, tom lane


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

Предыдущее
От: "Jim C. Nasby"
Дата:
Сообщение: Re: No heap lookups on index
Следующее
От: "Jim C. Nasby"
Дата:
Сообщение: Re: No heap lookups on index