purge [-<option> . . .]
Removes from the database deleted objects.
This command is available in version 1.4 or newer.
This command is also available in cmd4 as purge.
Options:
[-ids] <comma-separated database ids>
List of object id(s) to purge. Optional, if specified it overrides all other parameters used to specify which objects to purge.
-codes <comma-separated list of spike codes>
List of spike codes of the objects to purge. Optional, if not specified objects deleted with any spike code will be purged.
-types <comma-separated list of object type names>
List of the types of the objects to purge. Optional, if not specified objects of any type will be purged.
-since <time-span; e.g. 4:30 for 4 hours and 30 minutes, 2.06:00 for 2 days and6 hours>
Purge only the objects that have been deleted since the specified number of days / hours / minutes. Optional, if not specified only objects deleted more than 365 days ago will be purged.
-list
If specified the command will just list the objects that will be purged, instead than actually purging them.
-by <integer>
Number of objects to purge together in a single operation. Greater the number quicker the operation is, and longer locks are put on the database. Optional, default value 50.
-auto
If present, match the objects with a specified purge-time (see Spike command) and this is a past time-value; if the purge-time isn't specified, are used the "since" option rules
Note
To run a complete cleanup, see srv4 cleanup command.