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

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: a7a4add) | patch
Send only one FORGET_RELATION_FSYNC request when dropping a relation.
2012年7月19日 17:07:33 +0000 (13:07 -0400)
2012年7月19日 17:07:33 +0000 (13:07 -0400)
commit 3072b7bade26d4cf72ad453ad7d3323927b1ea64
Send only one FORGET_RELATION_FSYNC request when dropping a relation.

We were sending one per fork, but a little bit of refactoring allows us
to send just one request with forknum == InvalidForkNumber. This not only
reduces pressure on the shared-memory request queue, but saves repeated
traversals of the checkpointer's hash table.
src/backend/storage/smgr/md.c diff | blob | blame | history
src/backend/storage/smgr/smgr.c diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

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