This topic provides information about managing external database handles
using the OCI Console and API.
Required IAM Policy
To use Oracle Cloud Infrastructure, you must be granted security access
in a policy by an administrator. This access is required whether you're using
the Console or the REST API with an SDK, CLI, or other tool. If you get a message
that you don't have permission or are unauthorized, verify with your administrator
what type of access you have and which compartment to work in.
Move an OCI External Database Handle to Another Compartment 🔗
Perform the following steps to move an external database handle to another compartment.
Open the navigation menu. Select Oracle
Database, and then select External Database.
Under External Database, select either
Pluggable Databases, Container Databases, or Non-Container
Databases depending on the type of external database you are
using.
Select your Compartment. A list of external
databases is displayed.
In the list of external databases,
click the name of the database you want to move. Details of the external database
you selected are displayed.
On the External database details page, click Move resource.
In the Move resource dialog, select the Destination compartment where you want the resource to be moved.
Click Move resource.
Delete an External Database Handle 🔗
Perform the following steps to delete an external database handle.
Note
If your external database handle has an associated database
connection resources, you must first delete the connections before you can
delete the external database handle.
For external container databases, you cannot delete the OCI
handle until all of the external pluggable database handles in the container
database handle have first been deleted.
Open the navigation menu. Select Oracle
Database, and then select External Database.
Under External Database, select either
Pluggable Databases, Container Databases, or Non-Container
Databases depending on the type of external database you are
using.
Select your Compartment. A list of external
databases is displayed.
In the list of external databases,
click the name of the database you want to delete. Details of the external database
you selected are displayed.
On the External database details page, click Delete.
In the Delete external database dialog, provide the external database name to confirm the deletion.
Click Delete.
Scan an External Container Database for
Pluggable Databases 🔗
Perform the following steps to scan an external
container database for pluggable databases.
Open the navigation menu. Select Oracle
Database, and then select External Database.
Under External Database, select
Container Databases.
Select your Compartment. A list of external
databases is displayed.
In the list of external databases,
click the name of the database you want to scan. Details of the external database
you selected are displayed.
On the External container database details page, click Scan for pluggable databases.
The Scan for pluggable databases window appears.
Select an external database connector from the drop-down list.
Click Scan databases.
If any pluggable databases are discovered that are not connected to OCI, the connection details for these databases
are listed in the work requests generated by the scan operation. For more information about work requests,
see Work Requests.