summaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/pgstatfuncs.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2001-09-29 23:49:51 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2001-09-29 23:49:51 +0000
commit1663f3383849968415d29965ef9bfdf5aac4d358 (patch)
treefaa41d3c7ff017311c5d42cfb98fce7d9e825d38 /src/backend/utils/adt/pgstatfuncs.c
parent1647d3ae61c46c8bce2690dc7c3b14b4299c3dd3 (diff)
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.
Diffstat (limited to 'src/backend/utils/adt/pgstatfuncs.c')
0 files changed, 0 insertions, 0 deletions