Sun Java System Application Server 9.1 High Availability Administration Guide

Removing a Database

To remove an existing database, use the hadbm delete command. This command deletes the database’s configuration files, device files, and history files, and frees shared memory resources. The database you want to remove must exist and must be stopped. See Stopping a Database.

The command syntax is:

hadbm delete  
[--adminpassword=password | --adminpasswordfile=file]  
[--agent=maurl]  
[dbname]

The dbname operand specifies the database name. The default is hadb.

See General Options for a description of command options. For more information, see hadbm-delete(1).


Example 3–11 Example of removing a database

The command:

hadbm delete

deletes the default database, hadb.