Re: Locking B-tree leafs immediately in exclusive mode
Alexander Korotkov <a.korotkov@postgrespro.ru>
From: Alexander Korotkov <a.korotkov@postgrespro.ru>
To: Peter Geoghegan <pg@bowt.ie>
Cc: Simon Riggs <simon@2ndquadrant.com>,
pgsql-hackers <pgsql-hackers@postgresql.org>
Date: 2018-06-14T15:40:44Z
Lists: pgsql-hackers
On Thu, Jun 14, 2018 at 6:32 PM Peter Geoghegan <pg@bowt.ie> wrote: > On Thu, Jun 14, 2018 at 5:43 AM, Alexander Korotkov > <a.korotkov@postgrespro.ru> wrote: > > However, that doesn't > > look like inevitable shortcoming, because we could store heap TID in > > t_tid of pivot index tuples. > > But the offset doesn't have enough space for an entire TID. Sorry, my bad. It slipped my mind that we use t_tid.ip_blkid of pivot tuples to store downlinks :) So, yes, additional attribute is required to store heap TID in pivot tuple. Anyway, I'm looking forward seeing your patch posted, if even it would be not yet perfect shape. ------ Alexander Korotkov Postgres Professional: http://www.postgrespro.com The Russian Postgres Company
Commits
-
Reduce path length for locking leaf B-tree pages during insertion
- d2086b08b023 12.0 landed