[PATCH] Microvacuum for gist. - Mailing list pgsql-hackers

From Anastasia Lubennikova
Subject [PATCH] Microvacuum for gist.
Date
Msg-id CAP4vRV6FcKVOpPxs_9L327FpTWz75Ly=JRUeY-W89amS19BzwQ@mail.gmail.com
Whole thread Raw
Responses Re: [PATCH] Microvacuum for gist.  (Alexander Korotkov <a.korotkov@postgrespro.ru>)
List pgsql-hackers
Hi,

I have written microvacuum support for gist access method.
Briefly microvacuum includes two steps:
1. When search tells us that the tuple is invisible to all transactions it is marked LP_DEAD and page is marked as "has dead tuples",
2. Then, when insert touches full page which has dead tuples it calls microvacuum instead of splitting page.
You can find a kind of review here [1].

Patch is in attachements. Please review it.

-- 
Best regards,
Lubennikova Anastasia
Attachment

pgsql-hackers by date:

Previous
From: Simon Riggs
Date:
Subject: Re: Using quicksort and a merge step to significantly improve on tuplesort's single run "external sort"
Next
From: Heikki Linnakangas
Date:
Subject: Re: 9.5a1 BUG FIX: pgbench negative latencies