Re: reducing statistics write overhead
От | Martin Pihlak |
---|---|
Тема | Re: reducing statistics write overhead |
Дата | |
Msg-id | 496B0FAB.7070803@gmail.com обсуждение исходный текст |
Ответ на | Re: reducing statistics write overhead (Tom Lane <tgl@sss.pgh.pa.us>) |
Ответы |
Re: reducing statistics write overhead
|
Список | pgsql-hackers |
Tom Lane wrote: > I never understood why autovacuum should need a particularly short fuse > on the stats file age to start with. If the launcher is launching > multiple workers into the same database with only a few milliseconds > between them, isn't the launcher pretty broken anyhow? ISTM that stats > files even several seconds old ought to be plenty good enough. > I was thinking that the launcher should only request fresh stats at wakeup, the workers could then reuse that file. This could be implemented by calling pgstat_clear_snapshot only at launcher wakeup and setting max stats age to to autovacuum_naptime for the workers. This would effectively disable the table vacuum recheck though. If this is OK, I'll start working on it. regards, Martin
В списке pgsql-hackers по дате отправления: