Re: Order of operations in lazy_vacuum_rel

Поиск
Список
Период
Сортировка
От Heikki Linnakangas
Тема Re: Order of operations in lazy_vacuum_rel
Дата
Msg-id 4B706D81.7010600@enterprisedb.com
обсуждение исходный текст
Ответ на Re: Order of operations in lazy_vacuum_rel  (Alvaro Herrera <alvherre@commandprompt.com>)
Список pgsql-hackers
Alvaro Herrera wrote:
> Tom Lane wrote:
>> The point would be to not disable interrupts till after doing the FSM
>> vacuuming.  Ignoring CANCEL for longer than we must is bad.
> 
> Oh, I see.  I guess the answer is that it depends on what happens if you
> interrupt after vacuuming the FSM.  I have no idea what that is supposed
> to accomplish so I'm of no help here.  FreeSpaceMapVacuum says it's
> about fixing inconsistencies in the FSM, so I'm guessing that it's not
> critical.

Yeah, interrupting FreeSpaceMapVacuum (or right after it) is harmless.

> FWIW I notice that RelationTruncate contains an outdated comment at the
> top about the 'fsm' function argument which is nowadays no longer an
> argument.

Thanks, fixed.

--  Heikki Linnakangas EnterpriseDB   http://www.enterprisedb.com


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

Предыдущее
От: Florian Weimer
Дата:
Сообщение: Re: Confusion over Python drivers
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: [CFReview] Red-Black Tree