Re: Have vacuum emit a warning when it runs out of maintenance_work_mem
В списке pgsql-patches по дате отправления:
| От | Tom Lane |
|---|---|
| Тема | Re: Have vacuum emit a warning when it runs out of maintenance_work_mem |
| Дата | |
| Msg-id | 13246.1179161648@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | Re: Have vacuum emit a warning when it runs out of maintenance_work_mem (Heikki Linnakangas <heikki@enterprisedb.com>) |
| Список | pgsql-patches |
Heikki Linnakangas <heikki@enterprisedb.com> writes:
> Jim C. Nasby wrote:
>> If nothing else, it would likely be
>> worth special-casing an entire page being dead, which is a common case
>> for queue tables. That could be done by making an entry in the page
>> number array with a special offset value.
> That won't work, because someone might add live tuples to the page after
> the 1st vacuum pass. You could only invoke that special case when
> there's no room on the page for new tuples, but that's a hack and not as
> common.
The bitmap case seems to me to be plenty efficient already for an
all-dead page. The regime where my proposal seems to leave something
to be desired is just a few dead tuples per page --- it's not very much
better than the existing code in that case.
regards, tom lane
В списке pgsql-patches по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера