Re: [HACKERS] ANALYZE getting dead tuple count hopelessly wrong

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [HACKERS] ANALYZE getting dead tuple count hopelessly wrong
Дата
Msg-id 2718.1207240348@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: [HACKERS] ANALYZE getting dead tuple count hopelessly wrong  ("Pavan Deolasee" <pavan.deolasee@gmail.com>)
Ответы Re: [HACKERS] ANALYZE getting dead tuple count hopelessly wrong  ("Pavan Deolasee" <pavan.deolasee@gmail.com>)
Список pgsql-general
"Pavan Deolasee" <pavan.deolasee@gmail.com> writes:
> Please see the attached patch. One change I made is to hold the SHARE lock
> on the page while ANALYZE is reading tuples from it. I thought it would
> be a right thing to do instead of repeatedly acquiring/releasing the lock.

I've applied a modified/extended form of this patch for 8.3.2.

            regards, tom lane

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

Предыдущее
От: rihad
Дата:
Сообщение: deadlock
Следующее
От: rihad
Дата:
Сообщение: choosing the right locking mode