-
- Downloads
Move pgstat.tmp into a temporary directory under $PGDATA named pg_stat_tmp.
This allows the use of a ramdrive (either through mount or symlink) for the temporary file that's written every half second, which should reduce I/O. On server shutdown/startup, the file is written to the old location in the global directory, to preserve data across restarts. Bump catversion since the $PGDATA directory layout changed.
Showing
- doc/src/sgml/monitoring.sgml 12 additions, 1 deletiondoc/src/sgml/monitoring.sgml
- doc/src/sgml/storage.sgml 7 additions, 1 deletiondoc/src/sgml/storage.sgml
- src/backend/postmaster/pgstat.c 38 additions, 22 deletionssrc/backend/postmaster/pgstat.c
- src/bin/initdb/initdb.c 3 additions, 2 deletionssrc/bin/initdb/initdb.c
- src/include/catalog/catversion.h 2 additions, 2 deletionssrc/include/catalog/catversion.h
Loading
Please register or sign in to comment