Avoid having autovacuum read pgstats data too many times in quick succession.
authorAlvaro Herrera <alvherre@alvh.no-ip.org>
Mon, 24 Sep 2007 04:12:01 +0000 (04:12 +0000)
committerAlvaro Herrera <alvherre@alvh.no-ip.org>
Mon, 24 Sep 2007 04:12:01 +0000 (04:12 +0000)
commit424ded0213d13bf168120a0ec46324c7b663ab6f
tree916b8cd3fe3f610d91450d8d92904cb2ae3440a9
parent4290692ce37cfca4aea1d38e138da4ffd874bc97
Avoid having autovacuum read pgstats data too many times in quick succession.
This is problematic for the autovac launcher when there are many databases,
so we keep data for a full second before reading it again.
src/backend/postmaster/autovacuum.c