diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2003-03-04 21:51:22 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2003-03-04 21:51:22 +0000 |
commit | 391eb5e5b6a78fce5179808379cdae20baedd9c3 (patch) | |
tree | 754cb44f71f1f7f00c898ef93dcfa0262148c7e7 /src/backend/tcop/postgres.c | |
parent | a455c942574f2d6414d49893fe8ee2779c636acb (diff) | |
download | postgresql-391eb5e5b6a78fce5179808379cdae20baedd9c3.tar.gz postgresql-391eb5e5b6a78fce5179808379cdae20baedd9c3.zip |
Reimplement free-space-map management as per recent discussions.
Adjustable threshold is gone in favor of keeping track of total requested
page storage and doling out proportional fractions to each relation
(with a minimum amount per relation, and some quantization of the results
to avoid thrashing with small changes in page counts). Provide special-
case code for indexes so as not to waste space storing useless page
free space counts. Restructure internal data storage to be a flat array
instead of list-of-chunks; this may cost a little more work in data
copying when reorganizing, but allows binary search to be used during
lookup_fsm_page_entry().
Diffstat (limited to 'src/backend/tcop/postgres.c')
0 files changed, 0 insertions, 0 deletions