Class Reference
IRIS for UNIX 2019.2
InterSystems: The power behind what matters   
Documentation  Search
  [ENSLIB] >  [Ens] >  [Util] >  [BitmapPurge]
Private  Storage   

abstract class Ens.Util.BitmapPurge

Only applies to persistent classes using standard storage and bitmap indices.

Inventory

Parameters Properties Methods Queries Indices ForeignKeys Triggers
1


Summary

Methods
PurgeBitmaps

Subclasses
Ens.Alerting.ManagedAlert Ens.MessageHeaderBase Ens.Rule.Log Ens.Util.IOLog
Ens.Util.LogBase

Methods

• classmethod PurgeBitmaps(pChunkLimit As %Integer = 500, Output pChunksKilled As %Integer, pNoJournal As %Boolean = 0) as %Status
Utility method to allow empty bitmap indices to be purged after the associated data has been purged. pChunkLimit controls the maximum number of bitmap chunks that will be removed from the start of the extent before any populated nodes exist. Specifying -1 will clean up ALL such empty bitmaps, and specifying 0 will not clean up any such bitmaps. Note that bitmap chunks contain 64,000 bits, so the default value of 500 will remove up to 500 x 64,000 bits = 32 million stale bitmap entries. Also note that this limit ONLY applies to the main extent. Many more nodes may need to be removed from other indices in the class, as these other indices maintain separate buckets for each possible value. For example, a production with 100 business services would likely result in the SourceConfigName index of the Ens.MessageHeader class having 100 distinct buckets. The bitmap purge process could then need to remove as many as 5,000 bitmap nodes for this index alone.


Copyright (c) 2019 by InterSystems Corporation. Cambridge, Massachusetts, U.S.A. All rights reserved. Confidential property of InterSystems Corporation.