autovacuum_freeze_max_age

Поиск
Список
Период
Сортировка
От Jacques Caron
Тема autovacuum_freeze_max_age
Дата
Msg-id 20071110003437.8E201116595D@zeus.directinfos.com
обсуждение исходный текст
Ответы Re: autovacuum_freeze_max_age  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Hi,

I was wondering why autovacuum_freeze_max_age actually can't be set 
at runtime... guc.c points to varsup.c which says:
         * Note: autovacuum_freeze_max_age is a PGC_POSTMASTER 
parameter so that         * we don't have to worry about dealing with on-the-fly changes in its         * value.  It
doesn'tlook practical to update shared state from a GUC         * assign hook (too many processes would try to execute
thehook,         * resulting in race conditions as well as crashes of those not         * connected to shared memory).
Perhapsthis can be improved someday.
 

I'm not sure I understand what would need to be updated other than 
the variable itself? Obviously it would mean that it would only take 
effect the next time SetTransactionIdLimit is called, i.e. the next 
time VACUUM is run, but I guess this is always better than having to 
restart the database?

Any more explicit hints?

Thanks,

Jacques.



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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: Segmentation fault using digest from pg_crypto
Следующее
От: "Gevik Babakhani"
Дата:
Сообщение: Need for advice and direction (again)