Administration Tools - oodeletedb

Printer-friendly version
Deletes a database from a federated database. (HA) Deletes all images of a replicated database.
-db dbSysName | -id dbId | -all
-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).
Removes all databases from the specified federated database.
Removes the database from the federated database’s global catalog, without deleting the database file.
Deletes the database without requesting confirmation. Useful when invoking the tool from another tool or product.
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.
Suppresses the copyright notice and program title banner. Useful when invoking the tool from another tool or product.
Suppresses all normal program output.
Prints the tool syntax and definition to the screen.
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.
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.

Tuesday, October 30, 2012