Documentation Center

Configuring which undo data to purge and how often to purge

You may wish to change how undo data gets purged, depending on how often and how much your users publish data. Modify the Storage Layer configuration file, cd_storage_conf.xml, to specify how often to purge undo data, and/or how old undo data needs to be in order to be purged.

Procedure

  1. In your Content Deployer Server Role location, access the location of your Storage Layer configuration file and open the file (cd_storage_conf.xml) for editing.
  2. Find the element called Wrapper that has its Name attribute set to UndoWrapper.
  3. To change the age (in days) at which undo data gets pruned, change the value of the PrunePeriod child element. For example, setting the value to "30" means that only undo data older than 30 days will be purged. Any value from 1 to 10000 is allowed.
  4. To change how often undo data gets pruned, change the value of the PurgeInterval child element. For example, setting the value to "45m" means that a purge will be performed every 45 minutes. The value of this element must be a number followed by the letter 's' (for seconds), 'm' (for minutes) or 'h' (for hours).
  5. Save and close cd_storage_conf.xml.
  6. Restart your Content Deployer Web application, Windows service or Java process.