OSDN Git Service

Improve handling of prune/no-prune decisions by storing a page's oldest
authorTom Lane <tgl@sss.pgh.pa.us>
Fri, 21 Sep 2007 21:25:42 +0000 (21:25 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Fri, 21 Sep 2007 21:25:42 +0000 (21:25 +0000)
commitcc59049daf78c3d351c1ec78fb319b5fdeb20d53
tree74c6471e902926264b639164859c2ae69a3420ed
parent386a5d4268c7ae13510f0a40243b2277eccb6189
Improve handling of prune/no-prune decisions by storing a page's oldest
unpruned XMAX in its header.  At the cost of 4 bytes per page, this keeps us
from performing heap_page_prune when there's no chance of pruning anything.
Seems to be necessary per Heikki's preliminary performance testing.
contrib/pageinspect/README.pageinspect
contrib/pageinspect/pageinspect.sql.in
contrib/pageinspect/rawpage.c
doc/src/sgml/storage.sgml
src/backend/access/heap/README.HOT
src/backend/access/heap/heapam.c
src/backend/access/heap/pruneheap.c
src/backend/storage/page/bufpage.c
src/include/catalog/catversion.h
src/include/storage/bufpage.h