Re: WIP: Fast GiST index build
Alexander Korotkov <aekorotkov@gmail.com>
From: Alexander Korotkov <aekorotkov@gmail.com>
To: Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>
Cc: pgsql-hackers <pgsql-hackers@postgresql.org>
Date: 2011-07-18T18:00:34Z
Lists: pgsql-hackers
Attachments
- gist_fast_build-0.7.0.patch.gz (application/x-gzip)
Hi! New version of patch is attached. There are following changes. 1) Since proposed tchnique is not always a "fast" build, it was renamed everywhere in the patch to "buffering" build. 2) Parameter "buffering" now has 3 possible values "yes", "no" and "auto". "auto" means automatic switching from regular index build to buffering one. Currently it just switch when index size exceeds maintenance_work_mem. 3) Holding of many buffers pinned is avoided. 4) Rebased with head. TODO: 1) Take care about ordered datasets in automatic switching. 2) Take care about concurrent backends in automatic switching. ------ With best regards, Alexander Korotkov.