diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2008-03-15 20:46:31 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2008-03-15 20:46:31 +0000 |
commit | c9a1cc694abef737548a2aa096c555fa4b253102 (patch) | |
tree | 70d118428f39db307a576fde01f9ade8e8aaf7bd /src/backend/access/gist/gistproc.c | |
parent | 4873c96ff3f38b51b29c86ede658343be01f519f (diff) | |
download | postgresql-c9a1cc694abef737548a2aa096c555fa4b253102.tar.gz postgresql-c9a1cc694abef737548a2aa096c555fa4b253102.zip |
Change hash index creation so that rather than always establishing exactly
two buckets at the start, we create a number of buckets appropriate for the
estimated size of the table. This avoids a lot of expensive bucket-split
actions during initial index build on an already-populated table.
This is one of the two core ideas of Tom Raney and Shreya Bhargava's patch
to reduce hash index build time. I'm committing it separately to make it
easier for people to test the effects of this separately from the effects
of their other core idea (pre-sorting the index entries by bucket number).
Diffstat (limited to 'src/backend/access/gist/gistproc.c')
0 files changed, 0 insertions, 0 deletions