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

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: 9987f66) | patch
Implement "fastupdate" support for GIN indexes, in which we try to accumulate
2009年3月24日 20:17:18 +0000 (20:17 +0000)
2009年3月24日 20:17:18 +0000 (20:17 +0000)
commit ff301d6e690bb5581502ea3d8591a1600fd87acc
Implement "fastupdate" support for GIN indexes, in which we try to accumulate
multiple index entries in a holding area before adding them to the main index
structure. This helps because bulk insert is (usually) significantly faster
than retail insert for GIN.

This patch also removes GIN support for amgettuple-style index scans. The
API defined for amgettuple is difficult to support with fastupdate, and
the previously committed partial-match feature didn't really work with
it either. We might eventually figure a way to put back amgettuple
support, but it won't happen for 8.4.

catversion bumped because of change in GIN's pg_am entry, and because
the format of GIN indexes changed on-disk (there's a metapage now,
and possibly a pending list).

Teodor Sigaev
30 files changed:
doc/src/sgml/gin.sgml diff | blob | blame | history
doc/src/sgml/indexam.sgml diff | blob | blame | history
doc/src/sgml/ref/create_index.sgml diff | blob | blame | history
doc/src/sgml/ref/vacuum.sgml diff | blob | blame | history
doc/src/sgml/textsearch.sgml diff | blob | blame | history
src/backend/access/common/reloptions.c diff | blob | blame | history
src/backend/access/gin/Makefile diff | blob | blame | history
src/backend/access/gin/ginbulk.c diff | blob | blame | history
src/backend/access/gin/gindatapage.c diff | blob | blame | history
src/backend/access/gin/ginfast.c [new file with mode: 0644] blob
src/backend/access/gin/ginget.c diff | blob | blame | history
src/backend/access/gin/gininsert.c diff | blob | blame | history
src/backend/access/gin/ginutil.c diff | blob | blame | history
src/backend/access/gin/ginvacuum.c diff | blob | blame | history
src/backend/access/gin/ginxlog.c diff | blob | blame | history
src/backend/access/gist/gistvacuum.c diff | blob | blame | history
src/backend/access/hash/hash.c diff | blob | blame | history
src/backend/access/index/indexam.c diff | blob | blame | history
src/backend/access/nbtree/nbtree.c diff | blob | blame | history
src/backend/catalog/index.c diff | blob | blame | history
src/backend/commands/analyze.c diff | blob | blame | history
src/backend/commands/vacuum.c diff | blob | blame | history
src/backend/commands/vacuumlazy.c diff | blob | blame | history
src/backend/nodes/tidbitmap.c diff | blob | blame | history
src/include/access/genam.h diff | blob | blame | history
src/include/access/gin.h diff | blob | blame | history
src/include/catalog/catversion.h diff | blob | blame | history
src/include/catalog/pg_am.h diff | blob | blame | history
src/include/catalog/pg_proc.h diff | blob | blame | history
src/include/nodes/tidbitmap.h diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

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