Deleting staged objects
To delete staged objects from the database, use the Database Cleanup utility.
Procedure
- Set the PATH environment variables.
-
From the WC_installdir/bin
directory, run the following script:
-
- ./dbclean.sh -object staglog -type obsolete -instancexml WC_installdir/instances/instance_name/xml/instance_name.xml -db dbname -dbuser user -days daysold -loglevel loglevel
- dbclean -object staglog -type obsolete -instancexml WC_installdir/instances/instance_name/xml/instance_name.xml -db dbname -days daysold -loglevel loglevel
-
- ./dbclean.sh -object staglog -type obsolete -instancexml WC_installdir/instances/instance_name/xml/instance_name.xml -db dbname -days daysold -loglevel loglevel -dbtype oracle -dbuser user -dbpasswd password
- dbclean -object staglog -type obsolete -instancexml WC_installdir/instances/instance_name/xml/instance_name.xml -db dbname -dbuser user -days daysold -loglevel loglevel -dbtype oracle -dbuser user -dbpasswd password
host:port:sid
for the database name for example,myhost:1521:mydb
.
-
- Examine the WC_installdir/instances/instance_name/logs/DBClean/DBClean.timestamp.log file.