You are here: Administration > Identifying and Removing Orphaned Tables

Identifying and Removing Orphaned Tables

Occasionally, the development and testing of processes may cause some database objects to become 'orphaned'. That is, the entities that used to depend upon them are no longer present, and so the objects themselves are no longer linked to, or required by, any other part of the system.

The jmxtools command line tool can be used to identify and remove orphaned tables from the database. The jmxtools.jar file is installed in the tools directory of the OEDQ installation, and to run the following commands, you should start by changing your command line working directory to the tools directory of your OEDQ installation.

Identifying orphaned database objects

Orphaned database objects can be identified using the following command:

java -jar jmxtools.jar listorphans -u [username] -p [password] [ApplicationServerHostName]:[PortNumber]

where:

This command generates a newline-separated list of orphaned database objects.

Removing orphaned database objects

Orphaned database objects can be removed from the database using the following command:

java -jar jmxtools.jar droporphans -u [username] -p [password] [ApplicationServerHostName]:[PortNumber]

where:

This command runs non-interactively and removes the database objects identified by the listorphans script.

Oracle ® Enterprise Data Quality Help version 9.0
Copyright © 2006,2012, Oracle and/or its affiliates. All rights reserved.