postgresql/src
Bruce Momjian 7ab7467318 I've attached a patch which implements Bob Jenkin's hash function for
PostgreSQL. This hash function replaces the one used by hash indexes and
the catalog cache. Hash joins use a different, relatively poor-quality
hash function, but I'll fix that later.

As suggested by Tom Lane, this patch also changes the size of the fixed
hash table used by the catalog cache to be a power-of-2 (instead of a
prime: I chose 256 instead of 257). This allows the catcache to lookup
hash buckets using a simple bitmask. This should improve the performance
of the catalog cache slightly, since the previous method (modulo a
prime) was slow.

In my tests, this improves the performance of hash indexes by between 4%
and 8%; the performance when using btree indexes or seqscans is
basically unchanged.

Neil Conway <neilconway@rogers.com>
2002-03-06 20:49:46 +00:00
..
backend I've attached a patch which implements Bob Jenkin's hash function for 2002-03-06 20:49:46 +00:00
bin Enable ALTER TABLE ADD PRIMARY KEY for pg_dump, for performance reasons 2002-03-06 20:48:42 +00:00
corba Convert files from DOS format to normal text. 2000-12-03 14:43:59 +00:00
data I've sent 3 mails to pgsql-patches. There are two files, one for doc 1999-08-16 20:27:19 +00:00
include I've attached a patch which implements Bob Jenkin's hash function for 2002-03-06 20:49:46 +00:00
interfaces Add libpgeasy example file. 2002-03-06 14:40:05 +00:00
makefiles Feature patch per prev thread for --with-tcl, only affects AIX 2002-02-23 21:25:35 +00:00
pl Add new elog() levels to stored procedure languages. plperl DEBUG hack 2002-03-06 18:50:33 +00:00
template 0 -> O 2001-08-08 13:30:20 +00:00
test Change made to elog: 2002-03-06 06:10:59 +00:00
tools Add HTML output option to pgcvslog. 2002-02-18 05:33:13 +00:00
tutorial New pgindent run with fixes suggested by Tom. Patch manually reviewed, 2001-11-05 17:46:40 +00:00
utils Fix for "--" options. Allow --xxx as a valid flag, from NetBSD fix. 2001-11-26 19:30:58 +00:00
DEVELOPERS just testing a script... 1999-07-30 03:45:57 +00:00
GNUmakefile.in Restructure the key include files per recent pghackers discussion: there 2001-02-10 02:31:31 +00:00
Makefile Restructure the key include files per recent pghackers discussion: there 2001-02-10 02:31:31 +00:00
Makefile.global.in At this moment, --enable-debug adds debugging information to most of the 2002-03-05 17:55:23 +00:00
Makefile.shlib Fix for compiling libpq++ on Solaris with Sun SPRO6U2. 2001-11-11 19:20:53 +00:00
nls-global.mk NLS updates, most notably fixed zh_TW translations 2001-11-29 18:59:28 +00:00
win32.mak Missed this part in pg_config.h rename. 2001-08-24 22:42:28 +00:00