Unsupported content

 

This version of the documentation is no longer supported. However, the documentation is available for your convenience. You will not be able to leave comments.

Delete - cleanupDatabase_3

Delete - cleanupDatabase

Description :

This command deletes database rows for objects that have been previously marked for deletion.

Note: Certain objects are not deleted due to potential object dependencies. The cleanup process deletes all top-level model objects of the classes listed in the hk_allowed_classes database table, as well as all their child classes (which are not listed in this table). BMC recommends that you do NOT modify the contents of the hk_allowed_classes table.

Return type : java.lang.Object

Command Input :

Variable Name

Variable Type

Description

logLevel

Integer

Log level (valid values are 1 (ERROR), 2 (WARNING), 3 (INFO), 4 (DETAILED), 5 (VERY DETAILED), 6 (DEBUG)).

continueOnError

Boolean

Continue execution on error (true/false).

durationInMin

java.lang.Integer

Maximum duration for the operation in minutes. Note that the total time for cleanup may exceed the time specified by this variable, depending on environment factors that might cause the batch processing for cleanup to run for a longer time. The minimum valid value for this duration is 60 minutes.

Example

The following example shows how to to delete database rows that have been marked for deletion.

Script

blcli Delete cleanupDatabase 2 true 240 

Was this page helpful? Yes No Submitting... Thank you

Comments