From: | Teodor Sigaev <teodor(at)sigaev(dot)ru> |
---|---|
To: | pgsql-committers(at)postgresql(dot)org |
Subject: | pgsql: Make GIN's cleanup pending list process interruptable |
Date: | 2015-09-07 14:22:12 |
Message-ID: | E1ZYxJE-0006Vs-EJ@gemulon.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
Make GIN's cleanup pending list process interruptable
Cleanup process could be called by ordinary insert/update and could take a lot
of time. Add vacuum_delay_point() to make this process interruptable. Under
vacuum this call will also throttle a vacuum process to decrease system load,
called from insert/update it will not throttle, and that reduces a latency.
Backpatch for all supported branches.
Jeff Janes <jeff(dot)janes(at)gmail(dot)com>
Branch
------
REL9_5_STABLE
Details
-------
http://git.postgresql.org/pg/commitdiff/d592a8745fd0320fd5e691b59bf5a95d9834a286
Modified Files
--------------
src/backend/access/gin/ginfast.c | 8 +++-----
1 file changed, 3 insertions(+), 5 deletions(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2015-09-07 14:33:22 | Re: [COMMITTERS] pgsql: Move DTK_ISODOW DTK_DOW and DTK_DOY to be type UNITS rather than |
Previous Message | Teodor Sigaev | 2015-09-07 14:22:02 | pgsql: Make GIN's cleanup pending list process interruptable |