Hitachi

Hitachi Advanced Database Command Reference


34.3.4 Deleting a DB area (deleting DB area files that are regular files)

This example deletes a data DB area by executing the adbmodarea command. It deletes DB area files under the DB directory.

[Figure]

Explanation:
  • The data DB area OLDAREA is deleted.

  • No tables or indexes are stored in OLDAREA.

  • OLDAREA is not the only data DB area.

The example uses the following procedure to execute the adbmodarea command.

Procedure
  1. Create DB area addition and modification options.

  2. Execute the adbmodarea command.

Using an example, the following subsections explain each of these steps.

Organization of this subsection

(1) Creating a DB area addition and modification option file

This example creates a DB area addition and modification option file and specifies the name of a data DB area (OLDAREA) that is to be deleted.

Example of a DB area addition and modification option file
adbrmarea -n OLDAREA

(2) Executing the adbmodarea command

adbmodarea /HADB/server/conf/adbmodarea.opt
Explanation:

Specifies the name of the DB area addition and modification option file created in (1) Creating a DB area addition and modification option file.