diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2005-12-06 18:10:06 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2005-12-06 18:10:06 +0000 |
commit | a615acf555c0e9ea6ed1c5398d14b81ff2179e6c (patch) | |
tree | 553e5845c030e029e955db1830eed3f8f695a09e /src/backend/executor/nodeHashjoin.c | |
parent | 953208a34cbb7585ed4ae782141052461d35739b (diff) | |
download | postgresql-a615acf555c0e9ea6ed1c5398d14b81ff2179e6c.tar.gz postgresql-a615acf555c0e9ea6ed1c5398d14b81ff2179e6c.zip |
Arrange for read-only accesses to SLRU page buffers to take only a shared
lock, not exclusive, if the desired page is already in memory. This can
be demonstrated to be a significant win on the pg_subtrans cache when there
is a large window of open transactions. It should be useful for pg_clog
as well. I didn't try to make GetMultiXactIdMembers() use the code, as
that would have taken some restructuring, and what with the local cache
for multixact contents it probably wouldn't really make a difference.
Per my recent proposal.
Diffstat (limited to 'src/backend/executor/nodeHashjoin.c')
0 files changed, 0 insertions, 0 deletions