prunepolicy¶
Prune Policy
show prunepolicy¶
Use this operation to get the prune policy to view number of days data to retain
Synopsys¶
show prunepolicy [policy_name=<string>]
Parameters¶
policy_name
Policy Name
set prunepolicy¶
Use this operation to modify the number of days data to retain
Synopsys {#synopsys-1 style="margin-left: 20px;"}¶
set prunepolicy data_to_keep_in_days=<int> [policy_name=<string>] [do_auto_purge=(false | true)]
Parameters {#parameters-1 style="margin-left: 20px;"}¶
data_to_keep_in_days
Number of days data to retain
This is a mandatory parameter.
policy_name
Policy Name
do_auto_purge
True, if user wants to opt for auto DB data purging once disk usage reaches threshold value