]> granicus.if.org Git - postgresql/commit
Reduce the default size of the local lock hash table. There's usually
authorTom Lane <tgl@sss.pgh.pa.us>
Sat, 20 Nov 2004 20:16:54 +0000 (20:16 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Sat, 20 Nov 2004 20:16:54 +0000 (20:16 +0000)
commit8ecbc46bdb5815a52b8a0f2c88b891ad49ce50dd
tree51b034e042fa4d19e4569ee33fe79f9aab0eb92b
parent193a97c2d32afc046ee20f34035906709bf852a0
Reduce the default size of the local lock hash table.  There's usually
no need for it to be nearly as big as the global hash table, and since
it's not in shared memory it can grow if it does need to be bigger.
By reducing the size, we speed up hash_seq_search(), which saves a
significant fraction of subtransaction entry/exit overhead.
src/backend/storage/lmgr/lock.c