OSDN Git Service

Add pg_gin_pending_cleanup function.
authorMasaoFujii <masao.fujii@gmail.com>
Wed, 26 Aug 2015 16:43:34 +0000 (01:43 +0900)
committerMasaoFujii <masao.fujii@gmail.com>
Wed, 26 Aug 2015 16:43:34 +0000 (01:43 +0900)
commit299f7f23c94f7674b780b1c3965201d3034bb6c9
tree8e41f76f17feb1d88d7063685df286b0919c020b
parent546b14d57c4f423730f7cbe9f191e00c223ff9e5
Add pg_gin_pending_cleanup function.

pg_gin_pending_cleanup is the function that cleans up the pending list
of the GIN index by moving tuples in it to the main GIN data structure
in bulk. Even without this function, we can clean up the pending list
by using VACUUM. However, since VACUUM needs to do not only
the pending list cleanup but also other various jobs, it usually takes
a long time and its performance impact is likely to be big.
So pg_gin_pending_cleanup function is useful because we can clean up
the list more quickly and avoid such big performance impact by using
the function.

Reviewed by Masahiko Sawada
bigm_gin.c
expected/pg_bigm.out
html/pg_bigm-1-2.html
html/pg_bigm_en-1-2.html
pg_bigm--1.2.sql
sql/pg_bigm.sql