Background documentationdb_deletevolume Locate this document in the navigation structure

 

When you execeute this comannd, the data from the specified data volume is distributed to the remaining data volumes. The then empty data volume is deleted and the resources that were previously used by the data volume are released. Data volumes of the FILE type are deleted from the file system.

You can delete data volumes as long as there are several data volumes available. However, the last data volume of a database cannot be deleted.

The system does not support the deletion of log volumes.

Prerequisites

Structure

db_deletevolume [DATA] [<vol_description>]

<vol_description>:: = NAME <device_name> | [ID] <vol_no>

Options

Option

Description

DATA

The data volume with the highest number is deleted.

NAME <device_name>

Device or file name

[ID] <vol_no>

Sequence number assigned by the system to the volume

The specification of the keyword ID is optional.

Result

OK

In the event of errors, see Reply Format.

More Information

Concepts of the Database System, Volumes (Permanent Storage)