OSDN Git Service

Autovacuum loose end mop-up. Provide autovacuum-specific vacuum cost
authorTom Lane <tgl@sss.pgh.pa.us>
Thu, 11 Aug 2005 21:11:50 +0000 (21:11 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Thu, 11 Aug 2005 21:11:50 +0000 (21:11 +0000)
commitd90c531188196cd4ea6683c7f4395151b42028a2
treeaef955843c8a9648f7841d0e934ed152976129fa
parentf6c30d54fa26047cc2e7315debb85a0a20a07c90
Autovacuum loose end mop-up.  Provide autovacuum-specific vacuum cost
delay and limit, both as global GUCs and as table-specific entries in
pg_autovacuum.  stats_reset_on_server_start is now OFF by default,
but a reset is forced if we did WAL replay.  XID-wrap vacuums do not
ANALYZE, but do FREEZE if it's a template database.  Alvaro Herrera
18 files changed:
doc/src/sgml/catalogs.sgml
doc/src/sgml/runtime.sgml
src/backend/access/transam/xlog.c
src/backend/libpq/hba.c
src/backend/postmaster/autovacuum.c
src/backend/postmaster/pgstat.c
src/backend/postmaster/postmaster.c
src/backend/tcop/postgres.c
src/backend/utils/init/flatfiles.c
src/backend/utils/init/postinit.c
src/backend/utils/misc/guc.c
src/backend/utils/misc/postgresql.conf.sample
src/include/catalog/catversion.h
src/include/catalog/pg_autovacuum.h
src/include/libpq/hba.h
src/include/pgstat.h
src/include/postmaster/autovacuum.h
src/include/tcop/tcopprot.h