Purging Options

Purging is controlled on the individual Data Stores objects, in the respective …​ Data Store property compound. The purging options are available for the following object types:

Properties affecting the purging behavior

The aforementioned …​ Data Store property compounds show the selection of the following properties that is applicable to the respective Data Store type:

Purge Mode - Available options are …​

Do not purge - all purging is disabled
Default for most Data Stores.

Purge - purging cycles are triggered at regular intervals
What is purged is controlled in the following properties.

Retention Time - The maximum age of data in the archive (in days). A value of 0 will set it to unlimited retention.
Default: depends on the specific Data Store type (Time Series or Event) and whether Test or Production Archive (For example, the Production Time Series Data Store, the default is 0).

Purge Orphaned Data - Delete data associated with objects which have been deleted.
Default: enabled

When Purge Mode is set to Purge and the Purge Orphaned option is enabled, all orphaned data is purged from the data store on the next purge cycle.

Under default settings, when an object is deleted, its associated data is purged from the data stores. If the user requires access to data associated with objects that are no longer used, it is best practice to disable the object instead of deleting it. When an object is deleted (and Purge Orphaned Data is turned off), the orphaned data in the data store is only related to the deleted object by its ObjectID and can only be accessed by MongoDB clients if the ObjectID is known. Accessing the orphaned data in these cases is not easy and is not recommended as a way of archiving data for objects that are no longer in use.

Purge Size - The maximum number of BSON documents purged in a single batch operation.
Default: 200

Purge When Idle - Purging batches are only triggered at times when the data store is not working on persisting data.
Default: enabled