| Installing Upgrading Designing Configuring Deploying Monitoring Administering Troubleshooting Reference JBI Components | |
| Close Print View | |
| Administering: Archiving and Purging by Retention Days |
|
Administering the Sun Business Process Manager Database
Creating the Monitoring and Recovery Database
Creating the Database Instance
Running the Scripts in Enterprise Designer
Running the Database Scripts from a Local Directory
Running Database Scripts Automatically
To run the scripts automatically
Purging and Archiving Sun BPM Data
Installing the Purge and Archive Database Components
Archiving and Purging by Business Process Name
Archiving and Purging by Application Name
Using the Sun Business Process Manager Worklist Manager for User Activities
Maintaining Sun Master Indexes (Repository)
Working With the EDM for Sun Master Patient Index
Working With the EDM for Sun Master Index
Working With the Master Index Data Manager
Maintaining Sun Master Indexes
The following scripts are provided to archive and purge records based on the specified number days. The UNIX versions of these scripts have a .sh extension.
purge_by_days.cmd - Purges the history data by the specified number of days.
arch_by_days.cmd - Archives the history data by the specified number of days.
For Oracle and DB2 databases, enter the following command:
purge_by_days user password database days
For Sybase and SQL Server databases, enter the following command:
purge_by_days user password server database days
Where days is the number of days to retain. For example, if you specify 4 days, then any records older than 4 days are purged.
For Oracle and DB2 databases, enter the following command:
arch_by_days user password database days
For Sybase and SQL Server databases, enter the following command:
arch_by_days user password server database days
Where days is the number of days to retain. For example, if you specify 4 days, then any records older than 4 days are archived.