aboutsummaryrefslogtreecommitdiff
path: root/src/backend/commands/dbcommands.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2005-03-22 06:17:03 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2005-03-22 06:17:03 +0000
commit94e03330cbd163378e43094388f87fcba4801ba8 (patch)
tree29fc477dae5e1be0c985db04ba2cc36389648ec6 /src/backend/commands/dbcommands.c
parent775d28302cda48b3f22a2f4f9067de0cf5192fff (diff)
downloadpostgresql-94e03330cbd163378e43094388f87fcba4801ba8.tar.gz
postgresql-94e03330cbd163378e43094388f87fcba4801ba8.zip
Create a routine PageIndexMultiDelete() that replaces a loop around
PageIndexTupleDelete() with a single pass of compactification --- logic mostly lifted from PageRepairFragmentation. I noticed while profiling that a VACUUM that's cleaning up a whole lot of deleted tuples would spend as much as a third of its CPU time in PageIndexTupleDelete; not too surprising considering the loop method was roughly O(N^2) in the number of tuples involved.
Diffstat (limited to 'src/backend/commands/dbcommands.c')
0 files changed, 0 insertions, 0 deletions