Commit Graph

48 Commits (2b438c12cca443fe69852e9b0c678893c8686ac0)

Author SHA1 Message Date
Alvaro Herrera 2b438c12cc Avoid passing zero as a value for vacuum_cost_limit, because it's not a valid 19 years ago
Tom Lane d526575f89 Make large sequential scans and VACUUMs work in a limited-size "ring" of 19 years ago
Alvaro Herrera 067deaf83d Make sure we don't skip databases that are supposed to be vacuumed "exactly 19 years ago
Tom Lane fab789eac9 Suppress a recently-introduced 'variable might be clobbered by longjmp' warning. 19 years ago
Alvaro Herrera 229d33801d Use the new TimestampDifferenceExceeds API instead of timestamp_cmp_internal 19 years ago
Alvaro Herrera a115bfe3b9 Fix failure to check for INVALID worker entry in the new autovacuum code, which 19 years ago
Alvaro Herrera ef23a77441 Enable configurable log of autovacuum actions. Initial patch from Simon 19 years ago
Alvaro Herrera e2a186b03c Add a multi-worker capability to autovacuum. This allows multiple worker 19 years ago
Alvaro Herrera 7d4c9a5793 Add the "recheck" logic to autovacuum worker code. The worker first builds 19 years ago
Alvaro Herrera f1a596bdfb Cosmetic changes: rename some struct fields, and move the fetching of pgstat 19 years ago
Alvaro Herrera e019bbc9e8 Set the node properly, per Tom. 19 years ago
Alvaro Herrera a0abe87f1c Separate the code to start a new worker into its own function. The code is 19 years ago
Alvaro Herrera 6287eb7adc Separate fetch of pg_autovacuum tuple into its own function. 19 years ago
Alvaro Herrera 8aaecaf809 We no longer need to palloc the VacuumStmt node; keeping it on the stack is 19 years ago
Tom Lane b9527e9840 First phase of plan-invalidation project: create a plan cache management 19 years ago
Alvaro Herrera 626eb02198 Cleanup the bootstrap code a little, and rename "dummy procs" in the code 19 years ago
Alvaro Herrera 1820650934 Restructure autovacuum in two processes: a dummy process, which runs 19 years ago
Alvaro Herrera eb63cc3da8 Arrange for autovacuum to be killed when another operation wants to be alone 19 years ago
Bruce Momjian 29dccf5fe0 Update CVS HEAD for 2007 copyright. Back branches are typically not 19 years ago
Tom Lane 3ad0728c81 On systems that have setsid(2) (which should be just about everything except 19 years ago
Tom Lane 48188e1621 Fix recently-understood problems with handling of XID freezing, particularly 19 years ago
Bruce Momjian f99a569a2e pgindent run for 8.2. 20 years ago
Tom Lane 09d3670df3 Change the relation_open protocol so that we obtain lock on a relation 20 years ago
Bruce Momjian e0522505bd Remove 576 references of include files that were not needed. 20 years ago
Bruce Momjian a22d76d96a Allow include files to compile own their own. 20 years ago
Bruce Momjian fa601357fb Sort reference of include files, "A" - "F". 20 years ago
Alvaro Herrera d4cef0aa2a Improve vacuum code to track minimum Xids per table instead of per database. 20 years ago
Bruce Momjian 370a709c75 Add GUC update_process_title to control whether 'ps' display is updated 20 years ago
Peter Eisentraut 5266f221a2 Merge postmaster and postgres command into just postgres. postmaster 20 years ago
Alvaro Herrera 49b3462abb Have autovacuum report its activities to the stat collector. 20 years ago
Tom Lane cb98e6fb8f Create a syscache for pg_database-indexed-by-oid, and make use of it 20 years ago
Bruce Momjian afab814a18 Change log message about vacuuming database name from LOG to DEBUG1. 20 years ago
Tom Lane 0914ae1c14 Remove the pgstats logic for delaying destruction of stats table entries. 20 years ago
Tom Lane e6107da53c Turn off zero_damaged_pages in the right place (ie, in the autovac 20 years ago
Bruce Momjian 8d51c276ca Use SetConfigOption() to turn off "zero_damaged_pages" in autovacuum. 20 years ago
Bruce Momjian 4c63b1f88e Prevent autovacuum from zeroing damaged pages. 20 years ago
Bruce Momjian f2f5b05655 Update copyright for 2006. Update scripts. 20 years ago
Tom Lane 413d492d32 Fix thinko in autovacuum's test to skip temp tables: want to skip any 20 years ago
Tom Lane d5db3abfb6 Modify pgstats code to reduce performance penalties from oversized stats data 20 years ago
Tom Lane 349f40b2c2 Rearrange backend startup sequence so that ShmemIndexLock can become 20 years ago
Alvaro Herrera f1713078c5 Install a more future-proof fix for the snapshot-unset bug just found. 20 years ago
Alvaro Herrera d4fc4ac4c7 Set a snapshot before running analyze on a single table, to avoid a 20 years ago
Bruce Momjian 436a2956d8 Re-run pgindent, fixing a problem where comment lines after a blank 20 years ago
Bruce Momjian 1dc3498251 Standard pgindent run for 8.1. 20 years ago
Tom Lane 87808aef05 Allow the pgstat views to show toast tables as well as regular tables 21 years ago
Tom Lane d90c531188 Autovacuum loose end mop-up. Provide autovacuum-specific vacuum cost 21 years ago
Tom Lane 5d5f1a79e6 Clean up a number of autovacuum loose ends. Make the stats collector 21 years ago
Tom Lane 29094193f5 Integrate autovacuum functionality into the backend. There's still a 21 years ago