Examining Index Pages

In HCL OneDB™, when you execute the UPDATE STATISTICS statement in any mode, the database server reads through index pages to:
  • Compute statistics for the query optimizer
  • Locate pages that have the delete flag marked as 1

If pages are found with the delete flag marked as 1, the corresponding keys are removed from the B-tree cleaner list.

This operation is particularly useful if a system failure causes the B-tree cleaner list (which exists in shared memory) to be lost. To remove the B-tree items that have been marked as deleted but are not yet removed from the B-tree, run the UPDATE STATISTICS statement. For information on the B-tree cleaner list, see your HCL OneDB Administrator's Guide.