diff --git a/doc/src/sgml/gin.sgml b/doc/src/sgml/gin.sgml index 61a3f0f4ec..1b7f105ac5 100644 --- a/doc/src/sgml/gin.sgml +++ b/doc/src/sgml/gin.sgml @@ -1,4 +1,4 @@ - + GIN Indexes @@ -161,6 +161,17 @@ + + + + + Build time for a GIN index is very sensitive to + the maintenance_work_mem setting; it doesn't pay to + skimp on work memory during index creation. + + + + @@ -177,8 +188,8 @@ To facilitate controlled execution of such queries - GIN has a configurable soft upper limit on the size - of the returned set, the + GIN has a configurable soft upper limit on the + number of rows returned, the gin_fuzzy_search_limit configuration parameter. It is set to 0 (meaning no limit) by default. If a non-zero limit is set, then the returned set is a subset of diff --git a/doc/src/sgml/textsearch.sgml b/doc/src/sgml/textsearch.sgml index 0a153c465c..b43872cca5 100644 --- a/doc/src/sgml/textsearch.sgml +++ b/doc/src/sgml/textsearch.sgml @@ -1,4 +1,4 @@ - + Full Text Search @@ -3256,6 +3256,13 @@ EXPLAIN SELECT * FROM apod WHERE textsearch @@ to_tsquery('supernovae'); lexemes better but are slower to update. + + Note that GIN index build time can often be improved + by increasing , while + GiST index build time is not sensitive to that + parameter. + + Partitioning of big collections and the proper use of GiST and GIN indexes allows the implementation of very fast searches with online update.