{"shas":[["4c37c1e3b2a7ba7b5519e5e366720e7444878a78","ac1e0af1ee8efe15f889b38482e897ff7d0f0432@iki.fi","Reduce the initial size of local lock hash to 16 entries.\n\nThe hash table is seq scanned at transaction end, to release all locks,\nand making the hash table larger than necessary makes that slower. With\nvery simple queries, that overhead can amount to a few percent of the total\nCPU time used.\n\nAt the moment, backend startup needs 6 locks, and a simple query with one\ntable and index needs 3 locks. 16 is enough for even quite complicated\ntransactions, and it will grow automatically if it fills up.","Heikki Linnakangas"]],"repo":"postgres/postgres","actor":"postgres-mirror","ref":"refs/heads/master","size":1,"head":"4c37c1e3b2a7ba7b5519e5e366720e7444878a78","actor_gravatar":"b843ba1ea54a1b6c35a20550ad076b2b","push_id":29110731}