mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-11-27 07:21:09 +08:00
9243664dd4
* A few bug fixes * fixes solaris compile and crash issue * decouple vacuum analyze and analyze thresholds * detach from tty (dameonize) * improved logging layout * more conservative default configuration * improved, expanded and updated README please apply and 1st convenience, or before code freeze which ever comes first :-) At this point I think I have brought pg_autovacuum and its client side design as far as I think it should go. It works, keeping file sizes in check, helps performance and give the administrator a fair amount flexibility in configuring it. Next up is to do the FSM based design that is integrated into the back end. p.s. Thanks to Christopher Browne for his help. Matthew T. O'Connor
44 lines
1.3 KiB
Plaintext
44 lines
1.3 KiB
Plaintext
Todo Items for pg_autovacuum client
|
|
--------------------------------------------------------------------------
|
|
|
|
_create a FSM export function and see if I can use it for pg_autovacuum
|
|
|
|
_look into possible benifits of pgstattuple contrib work
|
|
|
|
_Continue trying to reduce server load created by polling.
|
|
|
|
Done:
|
|
--------------------------------------------------------------------------
|
|
_Check if required pg_stats are enables, if not exit with error
|
|
|
|
_Reduce the number connections and queries to the server
|
|
_Make database adding and removal part of the normal loop
|
|
_make table adding and removal part of the normal loop
|
|
|
|
_Separate logic for vacuum and analyze
|
|
|
|
_all pg_autovacuum specific functions are now static
|
|
|
|
_correct usage of snprintf
|
|
|
|
_reworked database and table update functions, now they
|
|
use the existing database connection and only one query
|
|
|
|
_fixed -h option output
|
|
|
|
_cleanup of 'constant == variable' used much more consistently now.
|
|
|
|
_Guarantee database wide vacuum prior to Xid wraparound
|
|
|
|
_change name to pg_autovacuum
|
|
|
|
_Add proper table and database removal functions so that we can properly
|
|
clear up before we exit, and make sure we don't leak memory when removing tables and such.
|
|
|
|
_Decouple insert and delete thresholds
|
|
|
|
_Fix Vacuum debug routine to include the database name.
|
|
|
|
_Allow it to detach from the tty
|
|
|