Note
Use the DBM command param_addvolume only when creating a database, when changing the log mode of the database from SINGLE to DUAL, or in consultation with technical support.
Extend an existing database using the DBM command for adding volumes (see: db_addvolume).
Use this DBM command to change the volume parameters in the database parameter file. The new parameter value is registered by the system, and is adopted as the effective value when the database is next restarted.
Change the volume parameters in two steps:
Change the entries for the parameters in the parameter file.
Transfer the corresponding information to the database kernel with an administrative command (see: db_execute).
Caution
If this command fails, remove the entries made in database parameter file.
No check is made of whether there is sufficient disk capacity available to add the volume.
If you create a mirror volume with this DBM command, also set the value of the general database parameter UseMirroredLog to YES (see: param_put).
You have the server permission ParamFull.
param_addvolume <vol_no> <vol_mode> <vol_name> <vol_type> <size> [<partition_no>]
Option |
Description |
---|---|
<vol_no> |
Number of the volume |
<vol_mode> |
Mode of the volume Possible values are: DATA | LOG | MLOG DATA: data volume, the number of the data volume is assigned by the system as a four-digit number with leading zeros when the volume is created LOG: log volume, the number of the log volume is assigned by the system as a three-digit number with leading zeros when the volume is created MLOG: mirror log volume |
<vol_name> |
Name of the device/file If you are using Microsoft Windows, note that you must not compress volumes, which are files, nor can you store them in a compressed operating system directory. |
<vol_type> |
Type of device/file, which is to be added Possible values are: F | L | R F: file L: link R: raw device |
<size> |
Size of the volume in pages |
<partition_no> |
Number of the log partition |
Concepts of the Database System, Log Area, Volumes (Permanent Storage)