Re: HOT is applied

Поиск
Список
Период
Сортировка
От Pavan Deolasee
Тема Re: HOT is applied
Дата
Msg-id 2e78013d0709210722h55f8535dwd2a6941da7cc0d1b@mail.gmail.com
обсуждение исходный текст
Ответ на Re: HOT is applied  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: HOT is applied  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers

On 9/21/07, Tom Lane <tgl@sss.pgh.pa.us> wrote:

so this example is getting past the heuristic tests in
heap_page_prune_opt almost every time.  Why is that?  Too tired to poke
at it more tonight.


I guess you already know the answer now, but anyways: Since we are
updating a single tuple in a single transaction, each update is preceded
by a sequential scan. All but last pages are completely full and marked
prunable, so HOT would try to (unsuccessfully) prune every (except may
be last) page.

Thanks,
Pavan

--
Pavan Deolasee
EnterpriseDB     http://www.enterprisedb.com

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

Предыдущее
От: Andrew Dunstan
Дата:
Сообщение: Re: Schema access in PL/PGSQL for custom objects - i.e. type access?
Следующее
От: Tom Lane
Дата:
Сообщение: Re: HOT is applied