Delete - hardDeleteAllSharedObjects_1


Delete - hardDeleteAllSharedObjects

Description :

Some database tables contain rows that are referenced (shared) by more than one top-level object such as an Asset, Snapshot Job, Audit Job, BLPackage, Snapshot Job Run, etc.

These database tables can contain rows that are no longer referenced by objects. This command lets you delete these unreferenced rows.

Note: Additional shared data is deleted by the SharedData object type of the Delete cleanupHistoricalData command.

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.

Example

The following example shows how to to delete database rows.

Script

blcli Delete hardDeleteAllSharedObjects 2 true 240

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*