Re: Synchronized Scan update

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Synchronized Scan update
Дата
Msg-id 3631.1173804812@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Synchronized Scan update  (Jeff Davis <pgsql@j-davis.com>)
Ответы Re: Synchronized Scan update  (Jeff Davis <pgsql@j-davis.com>)
Re: Synchronized Scan update  (Hannu Krosing <hannu@skype.net>)
Список pgsql-hackers
Jeff Davis <pgsql@j-davis.com> writes:
> I agree that ss_report_loc() doesn't need to report on every call. If
> there's any significant overhead I agree that it should report less
> often. Do you think that the overhead is significant on such a simple
> function?

One extra LWLock cycle per page processed definitely *is* a significant
overhead ... can you say "context swap storm"?  I'd think about doing it
once every 100 or so pages.
        regards, tom lane


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Daylight Saving Time question PostgreSQL 8.1.4
Следующее
От: Jeff Davis
Дата:
Сообщение: Re: Synchronized Scan update