git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: a8b8f4d) | patch
Remove the 'slow' path for btree index build, which built the btree
Sat, 1 Apr 2006 03:03:37 +0000 (03:03 +0000)
Sat, 1 Apr 2006 03:03:37 +0000 (03:03 +0000)
commit 89bda95d820faedee8e7fb127f5ba9bd4785c327
Remove the 'slow' path for btree index build, which built the btree
incrementally by successive inserts rather than by sorting the data.
We were only using the slow path during bootstrap, apparently because
when first written it failed during bootstrap --- but it works fine now
AFAICT. Removing it saves a hundred or so lines of code and produces
noticeably (~10%) smaller initial states of the system catalog indexes.
While that won't make much difference for heavily-modified catalogs,
for the more static ones there may be a useful long-term performance
improvement.
src/backend/access/nbtree/nbtpage.c diff | blob | blame | history
src/backend/access/nbtree/nbtree.c diff | blob | blame | history
src/backend/access/nbtree/nbtxlog.c diff | blob | blame | history
src/include/access/nbtree.h diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /