Re: GIN improvements - Mailing list pgsql-patches

From Teodor Sigaev
Subject Re: GIN improvements
Date
Msg-id 484946C6.1080807@sigaev.ru
Whole thread Raw
In response to Re: GIN improvements  ("Heikki Linnakangas" <heikki@enterprisedb.com>)
Responses Re: GIN improvements
List pgsql-patches
> How about having a constant sized "fastupdate" buffer, of say 100 rows
> or a fixed number of pages, and when that becomes full, the next
> inserter will have to pay the price of updating the index and flushing

I'm not sure that is acceptable because flushing pending list may take several
seconds in unpredictable moment.

> the buffer. To keep that overhead out of the main codepath, we could
> make autovacuum to flush the buffers periodically.

Do you mean that GIN sends a "smoke signal" to the autovacuum launcher process
to ask about vacuum?

--
Teodor Sigaev                                   E-mail: teodor@sigaev.ru
                                                    WWW: http://www.sigaev.ru/

pgsql-patches by date:

Previous
From: "Heikki Linnakangas"
Date:
Subject: Re: GIN improvements
Next
From: Alvaro Herrera
Date:
Subject: Re: partial header cleanup