Proposal: Log inability to lock pages during vacuum

Поиск
Список
Период
Сортировка
От Jim Nasby
Тема Proposal: Log inability to lock pages during vacuum
Дата
Msg-id 54446C10.2080203@BlueTreble.com
обсуждение исходный текст
Ответы Re: Proposal: Log inability to lock pages during vacuum  (Greg Stark <stark@mit.edu>)
Re: Proposal: Log inability to lock pages during vacuum  (Alvaro Herrera <alvherre@2ndquadrant.com>)
Re: Proposal: Log inability to lock pages during vacuum  (Simon Riggs <simon@2ndQuadrant.com>)
Список pgsql-hackers
Currently, a non-freeze vacuum will punt on any page it can't get a cleanup lock on, with no retry. Presumably this
shouldbe a rare occurrence, but I think it's bad that we just assume that and won't warn the user if something bad is
goingon.
 

My thought is that if we skip any pages elog(LOG) how many we skipped. If we skip more than 1% of the pages we visited
(notrelpages) then elog(WARNING) instead.
 

Comments?
-- 
Jim Nasby, Data Architect, Blue Treble Consulting
Data in Trouble? Get it in Treble! http://BlueTreble.com



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

Предыдущее
От: Jim Nasby
Дата:
Сообщение: Re: get_actual_variable_range vs idx_scan/idx_tup_fetch
Следующее
От: Noah Misch
Дата:
Сообщение: Re: narwhal and PGDLLIMPORT