postgresql/src/backend
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
..
access Revert the patch to check if we've reached end-of-backup also when doing 2011-04-13 22:05:40 +03:00
bootstrap More collations cleanup, from trawling for missed collation assignments. 2011-03-26 16:35:25 -04:00
catalog Fix toast table creation. 2011-04-13 18:17:52 -07:00
commands Remove obsolete comment. 2011-04-13 19:20:39 -07:00
executor Pass collations to functions in FunctionCallInfoData, not FmgrInfo. 2011-04-12 19:19:24 -04:00
foreign Clean up most -Wunused-but-set-variable warnings from gcc 4.6 2011-04-11 22:28:45 +03:00
lib Stamp copyrights for year 2011. 2011-01-01 13:18:15 -05:00
libpq On HP/UX, the structs used by ioctl(SIOCGLIFCONF) are named differently 2011-04-13 22:25:27 +03:00
main pgindent run before PG 9.1 beta 1. 2011-04-10 11:42:00 -04:00
nodes pgindent run before PG 9.1 beta 1. 2011-04-10 11:42:00 -04:00
optimizer Ensure mark_dummy_rel doesn't create dangling pointers in RelOptInfos. 2011-04-13 18:56:40 -04:00
parser Fix RI_Initial_Check to use a COLLATE clause when needed in its query. 2011-04-11 21:32:53 -04:00
po Remove cvs keywords from all files. 2010-09-20 22:08:53 +02:00
port pgindent run before PG 9.1 beta 1. 2011-04-10 11:42:00 -04:00
postmaster pgindent run before PG 9.1 beta 1. 2011-04-10 11:42:00 -04:00
regex Insert dummy "break"s to silence compiler complaints. 2011-04-10 18:44:07 -04:00
replication pgindent run before PG 9.1 beta 1. 2011-04-10 11:42:00 -04:00
rewrite Clean up most -Wunused-but-set-variable warnings from gcc 4.6 2011-04-11 22:28:45 +03:00
snowball Stamp copyrights for year 2011. 2011-01-01 13:18:15 -05:00
storage Reduce the initial size of local lock hash to 16 entries. 2011-04-15 15:07:36 +03:00
tcop On IA64 architecture, we check the depth of the register stack in addition 2011-04-13 11:50:55 +03:00
tsearch Pass collations to functions in FunctionCallInfoData, not FmgrInfo. 2011-04-12 19:19:24 -04:00
utils Pass collations to functions in FunctionCallInfoData, not FmgrInfo. 2011-04-12 19:19:24 -04:00
.gitignore Convert cvsignore to gitignore, and add .gitignore for build targets. 2010-09-22 12:57:04 +02:00
Makefile replication/repl_gram.h needs to be cleaned too ... 2011-03-10 00:12:38 -05:00
common.mk Workaround for recursive make breakage 2011-01-13 09:32:06 +02:00
nls.mk Revise the API for GUC variable assign hooks. 2011-04-07 00:12:02 -04:00