Product Information > JADE Database Administration Guide > Chapter 2 - Using the JADE Database Administration Utility > PurgePartition

PurgePartition

The PurgePartition action executes a bulk-removal operation that performs the required side-effects of deleting each object in the partition, and then deleting the partition. partition. The deletion step removes the file from the file system and changes its state to deleted. Because the objects and subobjects in the partition are not physically deleted, file maintenance and auditing overheads are avoided.

You can purge a current partition. If a purge is in action, a create or an update operation attempt fails and exception 3186 (Operation not valid: partition being purged) is raised. If this exception is raised, coordinate partition administrative actions with application availability requirements.

The object deletion side-effects that are affected include:

The syntax of the PurgePartition action is as follows.

jdbadmin action=PurgePartition
         [path=database-path]
         [ini=initialization-file-name]
         [server=multiUser|singleUser]
         file=file-name [part=partition-ID

The path parameter is optional in multiuser mode.

The required file and part parameters specify the target file partition.