Administration Tools - oodeletedb

Printer-friendly version
Deletes a database from a federated database. (HA) Deletes all images of a replicated database.
oodeletedb
-db dbSysName | -id dbId | -all
[-catalogonly]
[-force]
[-standalone]
[-notitle]
[-quiet]
[-help]
[bootFilePath]
Options
-db dbSysName
System name of the database to be deleted.
-id dbId
Integer identifier of the database to be deleted (for example, 78). This option also accepts the identifier specified in D-C-P-S format (for example, 78-0-0-0).
-all
Removes all databases from the specified federated database.
-catalogonly
Removes the database from the federated database’s global catalog, without deleting the database file.
-force
Deletes the database without requesting confirmation. Useful when invoking the tool from another tool or product.
-standalone
Nonconcurrent mode. Use this option only if the lock server for the specified federated database or autonomous partition is stopped. If the lock server is running, the tool reports an error and terminates.
-notitle
Suppresses the copyright notice and program title banner. Useful when invoking the tool from another tool or product.
-quiet
Suppresses all normal program output.
-help
Prints the tool syntax and definition to the screen.
bootFilePath
Path to the boot file of the federated database from which the specified database is to be deleted. You can omit this argument if you set the OO_FD_BOOT environment variable to the correct path. (HA) You can specify the boot file of any autonomous partition.
Discussion
If the database file exists, all bidirectional relationships (associations) and unidirectional relationships (associations) to objects in other databases are removed. The database file is then deleted, along with the files of any external containers belonging to the database.
If the database file does not exist, you can delete the database from the federated database’s global catalog by using the -catalogonly option.
A read-only database must be changed to read/write before you can delete it.
(HA) To delete just a single image of a replicated database, you must use the oodeletedbimage tool; see Objectivity/DB High Availability.

Date: 
Tuesday, October 30, 2012
Product: 
Objectivity/DB
Version: 
10.2.1
10.2
10.1.4
10.1.2
9.4.1