Buffering GiST index build algorithm.
Heikki Linnakangas <heikki.linnakangas@iki.fi>
Buffering GiST index build algorithm. When building a GiST index that doesn't fit in cache, buffers are attached to some internal nodes in the index. This speeds up the build by avoiding random I/O that would otherwise be needed to traverse all the way down the tree to the find right leaf page for tuple. Alexander Korotkov
Files
| Path | Change | +/− |
|---|---|---|
| doc/src/sgml/gist.sgml | modified | +34 −0 |
| doc/src/sgml/ref/create_index.sgml | modified | +20 −0 |
| src/backend/access/common/reloptions.c | modified | +11 −0 |
| src/backend/access/gist/gistbuildbuffers.c | added | +787 −0 |
| src/backend/access/gist/gistbuild.c | added | +1068 −0 |
| src/backend/access/gist/gist.c | modified | +35 −176 |
| src/backend/access/gist/gistutil.c | modified | +22 −5 |
| src/backend/access/gist/gistxlog.c | modified | +4 −2 |
| src/backend/access/gist/Makefile | modified | +1 −1 |
| src/backend/access/gist/README | modified | +135 −0 |
| src/include/access/gist_private.h | modified | +180 −2 |