Re: [HACKERS] Priorities for 6.6

Поиск
Список
Период
Сортировка
От Hannu Krosing
Тема Re: [HACKERS] Priorities for 6.6
Дата
Msg-id 37598DD4.62C56219@trust.ee
обсуждение исходный текст
Ответ на Re: [HACKERS] Priorities for 6.6  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: [HACKERS] Priorities for 6.6  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: [HACKERS] Priorities for 6.6  (Don Baccus <dhogaza@pacifier.com>)
Re: [HACKERS] Priorities for 6.6  (wieck@debis.com (Jan Wieck))
Список pgsql-hackers
Tom Lane wrote:
> 
> Don Baccus <dhogaza@pacifier.com> writes:
> > While I don't doubt your analysis is correct for the case you've
> > uncovered, it doesn't explain why surrounding a bunch of selects
> > with a begin/end block greatly descreases disk activity for tables
> > that don't change.
> 
> Hmm, I'm not sure why that should be, either.  Anyone?

>From a recent discussion I remember that every block that is read 
in is marked as dirty, regardless of weather it is modified or not.

It is not a genuine bug (as it only slows thong down instead of 
getting wrong results), but still a misfeature.

It is most likely an ancient quickfix for some execution path that 
failed to set the dirty mark when it should have.

---------------------
Hannu


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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: [PATCHES] Re: contrib code for 6.5
Следующее
От: Tom Lane
Дата:
Сообщение: Re: [HACKERS] Priorities for 6.6