diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2012-06-07 17:42:27 -0400 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2012-06-07 17:43:11 -0400 |
commit | ece01aae479227d9836294b287d872c5a6146a11 (patch) | |
tree | c079ac4532474ccd3803f21a95ffb08fb8373dd9 /src/backend/access/gist/gistproc.c | |
parent | 5baf6da71701abcb76487d9de68f7d7dc6c365e9 (diff) | |
download | postgresql-ece01aae479227d9836294b287d872c5a6146a11.tar.gz |
Scan the buffer pool just once, not once per fork, during relation drop.
This provides a speedup of about 4X when NBuffers is large enough.
There is also a useful reduction in sinval traffic, since we
only do CacheInvalidateSmgr() once not once per fork.
Simon Riggs, reviewed and somewhat revised by Tom Lane
Diffstat (limited to 'src/backend/access/gist/gistproc.c')
0 files changed, 0 insertions, 0 deletions