[PATCH] Microvacuum for gist.

From: Anastasia Lubennikova <lubennikovaav(at)gmail(dot)com>
To: "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org>
Subject: [PATCH] Microvacuum for gist.
Date: 2015-07-30 11:51:16
Message-ID: CAP4vRV6FcKVOpPxs_9L327FpTWz75Ly=JRUeY-W89amS19BzwQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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].

[1]
http://www.google-melange.com/gsoc/proposal/public/google/gsoc2015/ivanitskiy_ilya/5629499534213120

Patch is in attachements. Please review it.

--
Best regards,
Lubennikova Anastasia

Attachment Content-Type Size
microvacuum_for_gist.patch application/octet-stream 12.0 KB

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Heikki Linnakangas 2015-07-30 11:52:17 Re: 9.5a1 BUG FIX: pgbench negative latencies
Previous Message Simon Riggs 2015-07-30 11:35:13 Re: Using quicksort and a merge step to significantly improve on tuplesort's single run "external sort"