From: Tom Lane <tgl@sss.pgh.pa.us>
To: amborodin@acm.org
Cc: Alvaro Herrera <alvherre@2ndquadrant.com>
Cc: Andrew Borodin <borodin@octonica.com>
Cc: Anastasia Lubennikova <a.lubennikova@postgrespro.ru>
Cc: Michael Paquier <michael.paquier@gmail.com>
Cc: Amit Kapila <amit.kapila16@gmail.com>
Cc: Alexander Korotkov <a.korotkov@postgrespro.ru>
Cc: pgsql-hackers <pgsql-hackers@postgresql.org>
Cc: Oleg Bartunov <obartunov@gmail.com>
Cc: Heikki Linnakangas <hlinnaka@iki.fi>
Cc: Sergey Mirvoda <sergey@mirvoda.com>
Subject: Re: Re: GiST optimizing memmoves in gistplacetopage for fixed-size updates [PoC]
Date: Fri, 09 Sep 2016 17:08:19 -0400
Message-ID: <17829.1473455299@sss.pgh.pa.us> (raw)
In-Reply-To: <552.1473445163@sss.pgh.pa.us>
References: <20160908220223.GA65203@alvherre.pgsql>
<552.1473445163@sss.pgh.pa.us>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-hackers>
... BTW, a quick grep for other calls of PageIndexTupleDelete suggests
that SPGiST could make very good use of PageIndexTupleOverwrite, and
there may be use for it in GIN too.
I see one place in btree where there's a PageIndexTupleDelete and then
an insert, but it's unlikely to be worth touching because the page is
expected to be empty after the PageIndexTupleDelete; so there's no
data movement we could avoid in that case.
I don't plan to investigate these cases myself, but somebody should.
regards, tom lane
--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-hackers@postgresql.org
Cc: tgl@sss.pgh.pa.us, amborodin@acm.org, alvherre@2ndquadrant.com, borodin@octonica.com, a.lubennikova@postgrespro.ru, michael.paquier@gmail.com, amit.kapila16@gmail.com, a.korotkov@postgrespro.ru, obartunov@gmail.com, hlinnaka@iki.fi, sergey@mirvoda.com
Subject: Re: GiST optimizing memmoves in gistplacetopage for fixed-size updates [PoC]
In-Reply-To: <17829.1473455299@sss.pgh.pa.us>
References: <20160908220223.GA65203@alvherre.pgsql> <552.1473445163@sss.pgh.pa.us> <17829.1473455299@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox