postgresql/src
Heikki Linnakangas 4c37c1e3b2 Reduce the initial size of local lock hash to 16 entries.
The hash table is seq scanned at transaction end, to release all locks,
and making the hash table larger than necessary makes that slower. With
very simple queries, that overhead can amount to a few percent of the total
CPU time used.

At the moment, backend startup needs 6 locks, and a simple query with one
table and index needs 3 locks. 16 is enough for even quite complicated
transactions, and it will grow automatically if it fills up.
2011-04-15 15:07:36 +03:00
..
backend Reduce the initial size of local lock hash to 16 entries. 2011-04-15 15:07:36 +03:00
bin Clean up most -Wunused-but-set-variable warnings from gcc 4.6 2011-04-11 22:28:45 +03:00
include Pass collations to functions in FunctionCallInfoData, not FmgrInfo. 2011-04-12 19:19:24 -04:00
interfaces Rename pg_regress option --multibyte to --encoding 2011-04-15 08:42:05 +03:00
makefiles Allow make check in PL directories 2011-02-15 06:52:12 +02:00
pl Pass collations to functions in FunctionCallInfoData, not FmgrInfo. 2011-04-12 19:19:24 -04:00
port pgindent run before PG 9.1 beta 1. 2011-04-10 11:42:00 -04:00
template Remove cvs keywords from all files. 2010-09-20 22:08:53 +02:00
test Rename pg_regress option --multibyte to --encoding 2011-04-15 08:42:05 +03:00
timezone Update time zone data files to tzdata release 2011f. 2011-04-13 18:03:23 -04:00
tools Rename pg_regress option --multibyte to --encoding 2011-04-15 08:42:05 +03:00
tutorial Stamp copyrights for year 2011. 2011-01-01 13:18:15 -05:00
.gitignore Convert cvsignore to gitignore, and add .gitignore for build targets. 2010-09-22 12:57:04 +02:00
DEVELOPERS Replace a couple of references to files that no longer exist in the source 2009-05-04 08:08:47 +00:00
Makefile Fix some oversights in distprep and maintainer-clean targets. 2011-03-10 00:04:05 -05:00
Makefile.global.in Rename pg_regress option --multibyte to --encoding 2011-04-15 08:42:05 +03:00
Makefile.shlib Remove useless whitespace at end of lines 2010-11-23 22:34:55 +02:00
bcc32.mak Remove useless whitespace at end of lines 2010-11-23 22:34:55 +02:00
nls-global.mk Fix makefile logic to not break the build when xgettext is missing 2010-10-14 23:16:46 +03:00
win32.mak Remove useless whitespace at end of lines 2010-11-23 22:34:55 +02:00