- Notifications
You must be signed in to change notification settings - Fork4.9k
Commit187492b
committed
Split pgstat file in smaller pieces
We now write one file per database and one global file, instead ofhaving the whole thing in a single huge file. This reduces the I/O thatmust be done when partial data is required -- which is all the time,because each process only needs information on its own database anyway.Also, the autovacuum launcher does not need data about tables andfunctions in each database; having the global stats for all DBs isenough.Catalog version bumped because we have a new subdir under PGDATA.Author: Tomas Vondra. Some rework by ÁlvaroTesting by Jeff JanesOther discussion by Heikki Linnakangas, Tom Lane.1 parent9475db3 commit187492b
File tree
5 files changed
+593
-239
lines changed- src
- backend
- postmaster
- utils/misc
- bin/initdb
- include
- catalog
5 files changed
+593
-239
lines changed0 commit comments
Comments
(0)