Creating Metadata Labels Managing Metadata Labels in the MDS Repository

14-30 Oracle Fusion Middleware Administrators Guide For information about Oracle Scheduler, see Oracle Scheduler Concepts and Creating, Running, and Managing Jobs in the Oracle Database Administrators Guide.

14.5.1 Purging Oracle Infrastructure Web Services Data

Use the following script to purge data if WS-RM uses a database store: ORACLE_COMMON_HOMEcommonsqlows_purge_wsrm_msgs.sql

14.5.2 Purging Oracle WebCenter Data

The following topics describe purging Oracle WebCenter data: ■ Purging Oracle WebCenter Activity Stream Data ■ Purging Oracle WebCenter Analytics Data ■ Partitioning Oracle WebCenter Analytics Data

14.5.2.1 Purging Oracle WebCenter Activity Stream Data

Oracle WebCenter Activity Streaming provides a set of WLST commands for purging database records in a nonpartitioned environment. Purging is necessary when a database contains records that are not needed as an analysis in reports or when the performance of Oracle WebCenter decreases because of the large volume of data. To purge Oracle WebCenter Activity Stream data, you use the following WLST commands: ■ archiveASByDate: Archives activity stream data that is older than a specified date. ■ archiveASByDeletedObjects: Archives activity stream data associated with deleted objects ■ archiveASByClosedSpaces: Archives activity stream data associated with Spaces that are currently closed. ■ archiveASByInactiveSpaces: Archives activity stream data associated with Spaces that have been inactive since a specified date. ■ restoreASByDate: Restores archived activity stream data from a specified date into production tables. Note that you must invoke the WLST script from the Oracle home containing Oracle WebCenter Activity Streaming. Do not use the WLST script in the WebLogic Server home. For more information about these commands, see Activity Stream in the Oracle Fusion Middleware WebLogic Scripting Tool Command Reference.

14.5.2.2 Purging Oracle WebCenter Analytics Data

Oracle WebCenter Analytics provides a script for purging database records in a nonpartitioned environment. Purging is necessary when a database contains records that are not needed for analysis in reports or when the performance of Oracle WebCenter decreases because of the large volume of data. The script, analytics_purge_facts.sql, deletes all fact tables that meet the specified criteria. When Oracle WebCenter Analytics runs in a partitioned environment, you should use the drop partitioning feature of the database before running these scripts.