postgresql/src/backend/utils
Tom Lane 787eba734b When creating a large hash index, pre-sort the index entries by estimated
bucket number, so as to ensure locality of access to the index during the
insertion step.  Without this, building an index significantly larger than
available RAM takes a very long time because of thrashing.  On the other
hand, sorting is just useless overhead when the index does fit in RAM.
We choose to sort when the initial index size exceeds effective_cache_size.

This is a revised version of work by Tom Raney and Shreya Bhargava.
2008-03-16 23:15:08 +00:00
..
adt Fix varstr_cmp's special case for UTF8 encoding on Windows so that strings 2008-03-13 18:31:56 +00:00
cache Fix heap_page_prune's problem with failing to send cache invalidation 2008-03-13 18:00:32 +00:00
error Implement enum type for guc parameters, and convert a couple of existing 2008-03-10 12:55:13 +00:00
fmgr Fix several memory leaks when rescanning SRFs. Arrange for an SRF's 2008-02-29 02:49:39 +00:00
hash Refactor backend makefiles to remove lots of duplicate code 2008-02-19 10:30:09 +00:00
init Modify interactions between sinval.c and sinvaladt.c. The code that actually 2008-03-16 19:47:34 +00:00
mb Refactor backend makefiles to remove lots of duplicate code 2008-02-19 10:30:09 +00:00
misc Some cleanups of enum-guc code, per comments from Tom. 2008-03-16 16:42:44 +00:00
mmgr Refactor backend makefiles to remove lots of duplicate code 2008-02-19 10:30:09 +00:00
resowner Refactor backend makefiles to remove lots of duplicate code 2008-02-19 10:30:09 +00:00
sort When creating a large hash index, pre-sort the index entries by estimated 2008-03-16 23:15:08 +00:00
time Refactor backend makefiles to remove lots of duplicate code 2008-02-19 10:30:09 +00:00
.cvsignore Cleanup to ensure good state of derived files in tarballs. 2000-06-09 02:38:36 +00:00
Gen_fmgrtab.sh Update copyrights in source tree to 2008. 2008-01-01 19:46:01 +00:00
Makefile Refactor backend makefiles to remove lots of duplicate code 2008-02-19 10:30:09 +00:00
probes.d Correct two more copyrights found by updated script. 2008-01-02 02:42:06 +00:00