dbTalk Databases Forums  

pgsql: Reduce the default size of the local lock hash table.

comp.databases.postgresql.committers comp.databases.postgresql.committers


Discuss pgsql: Reduce the default size of the local lock hash table. in the comp.databases.postgresql.committers forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Tom Lane
 
Posts: n/a

Default pgsql: Reduce the default size of the local lock hash table. - 11-20-2004 , 02:16 PM






Log Message:
-----------
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.

Modified Files:
--------------
pgsql/src/backend/storage/lmgr:
lock.c (r1.143 -> r1.144)
(http://developer.postgresql.org/cvsw...1.143&r2=1.144)

---------------------------(end of broadcast)---------------------------
TIP 4: Don't 'kill -9' the postmaster


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.