pgsql/src/backend/access/nbtree nbtinsert.c

From: tgl(at)postgresql(dot)org
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql/src/backend/access/nbtree nbtinsert.c
Date: 2001-09-29 23:49:52
Message-ID: 200109292349.f8TNnqj09540@postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

CVSROOT: /cvsroot
Module name: pgsql
Changes by: tgl(at)postgresql(dot)org 01/09/29 19:49:51

Modified files:
src/backend/access/nbtree: nbtinsert.c

Log message:
Tweak btree page split logic so that when splitting a page that is
rightmost on its tree level, we split 2/3 to the left and 1/3 to the
new right page, rather than the even split we use elsewhere. The idea
is that when faced with a steadily increasing series of inserted keys
(such as sequence or timestamp values), we'll end up with a btree that's
about 2/3ds full not 1/2 full, which is much closer to the desired
steady-state load for a btree. Per suggestion from Ann Harrison of
IBPhoenix.

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2001-09-30 00:03:43 Re: pgsql/src/include parser/parse_coerce.h catalo ...
Previous Message inoue 2001-09-29 23:01:26 pgsql/src/include parser/parse_coerce.h catalo ...