git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: 7e61edf) | patch
Move pgstat.tmp into a temporary directory under $PGDATA named pg_stat_tmp.
Tue, 5 Aug 2008 12:09:30 +0000 (12:09 +0000)
Tue, 5 Aug 2008 12:09:30 +0000 (12:09 +0000)
commit 70d756970b7b2e93e6f807f5c55e2ad7727e212a
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.
doc/src/sgml/monitoring.sgml diff | blob | blame | history
doc/src/sgml/storage.sgml diff | blob | blame | history
src/backend/postmaster/pgstat.c diff | blob | blame | history
src/bin/initdb/initdb.c diff | blob | blame | history
src/include/catalog/catversion.h diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /