Add SP-GiST (space-partitioned GiST) index access method.
SP-GiST is comparable to GiST in flexibility, but supports non-balanced partitioned search structures rather than balanced trees. As described at PGCon 2011, this new indexing structure can beat GiST in both index build time and query speed for search problems that it is well matched to. There are a number of areas that could still use improvement, but at this point the code seems committable. Teodor Sigaev and Oleg Bartunov, with considerable revisions by Tom Lane
Showing
- doc/src/sgml/acronyms.sgml 9 additions, 0 deletionsdoc/src/sgml/acronyms.sgml
- doc/src/sgml/filelist.sgml 1 addition, 0 deletionsdoc/src/sgml/filelist.sgml
- doc/src/sgml/indices.sgml 33 additions, 2 deletionsdoc/src/sgml/indices.sgml
- doc/src/sgml/mvcc.sgml 4 additions, 4 deletionsdoc/src/sgml/mvcc.sgml
- doc/src/sgml/postgres.sgml 1 addition, 0 deletionsdoc/src/sgml/postgres.sgml
- doc/src/sgml/ref/alter_opfamily.sgml 4 additions, 4 deletionsdoc/src/sgml/ref/alter_opfamily.sgml
- doc/src/sgml/ref/create_index.sgml 23 additions, 28 deletionsdoc/src/sgml/ref/create_index.sgml
- doc/src/sgml/ref/create_opclass.sgml 2 additions, 2 deletionsdoc/src/sgml/ref/create_opclass.sgml
- doc/src/sgml/ref/create_table.sgml 2 additions, 1 deletiondoc/src/sgml/ref/create_table.sgml
- doc/src/sgml/spgist.sgml 706 additions, 0 deletionsdoc/src/sgml/spgist.sgml
- doc/src/sgml/xindex.sgml 107 additions, 11 deletionsdoc/src/sgml/xindex.sgml
- src/backend/access/Makefile 1 addition, 1 deletionsrc/backend/access/Makefile
- src/backend/access/common/reloptions.c 9 additions, 0 deletionssrc/backend/access/common/reloptions.c
- src/backend/access/spgist/Makefile 19 additions, 0 deletionssrc/backend/access/spgist/Makefile
- src/backend/access/spgist/README 316 additions, 0 deletionssrc/backend/access/spgist/README
- src/backend/access/spgist/spgdoinsert.c 2065 additions, 0 deletionssrc/backend/access/spgist/spgdoinsert.c
- src/backend/access/spgist/spginsert.c 219 additions, 0 deletionssrc/backend/access/spgist/spginsert.c
- src/backend/access/spgist/spgkdtreeproc.c 298 additions, 0 deletionssrc/backend/access/spgist/spgkdtreeproc.c
- src/backend/access/spgist/spgquadtreeproc.c 360 additions, 0 deletionssrc/backend/access/spgist/spgquadtreeproc.c
- src/backend/access/spgist/spgscan.c 543 additions, 0 deletionssrc/backend/access/spgist/spgscan.c
Loading
Please register or sign in to comment