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

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: 6c878ed) | patch
Move BufferGetBlockNumber() out of heap_page_is_all_visible()'s inner loop.
2014年11月14日 16:04:44 +0000 (17:04 +0100)
2014年11月14日 16:04:44 +0000 (17:04 +0100)
commit 0c5af0a537a2d6320eb8ef7f401401aa1f47b79e
Move BufferGetBlockNumber() out of heap_page_is_all_visible()'s inner loop.

In some workloads BufferGetBlockNumber() shows up in profiles due to
the sheer number of calls to it (and because it causes cache
misses). The compiler can't move it out of the loop because it's a
full extern function call...
src/backend/commands/vacuumlazy.c diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

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