Delete a peer database

This page describes how to delete a peer database in Google Cloud.

You can't delete a peer database during a switchover operation.

Before you begin

Ensure that you have the following roles and permissions required to delete a peer database:

  • roles/autonomousDatabaseAdmin

Delete a peer database

To delete a peer database, do the following:

Console

  1. Go to the Autonomous Database page.

    Go to Autonomous Database

  2. Click the name of the Autonomous Database for which you want to delete a peer database.

  3. On the Autonomous Database details page, click the Disaster Recovery tab.

  4. In the Peer database section, for the peer database that you want to delete, click View actions, and then click Delete.

  5. In the Delete Autonomous Database dialog, enter the peer database name and click Confirm.

    The deletion of the peer database might take a few hours. On the Disaster recovery tab, in the Peer database section, the Status field shows you the progress of the delete operation. When the peer database is deleted, it's removed from the peer database list.

gcloud

You can use the gcloud oracle-database autonomous-databases delete command to delete a peer database.

gcloud oracle-database autonomous-databases delete DATABASE_ID
--location=REGION_ID

Replace the following:

  • DATABASE_ID: the identifier for the peer database.
  • REGION_ID: the region of the peer database.

What's next