Convert Cross Region Peer to Snapshot Standby

You can convert a cross region peer database to a snapshot standby. This converts the peer to a read-write database for up to two days (48 hours).

Snapshot standby CPU usage is billed based on the base CPU count and any additional CPU usage if compute auto scaling is enabled. The number of base CPUs is specified by the number of ECPUs (OCPUs if your database uses OCPUs) as shown in the ECPU count or OCPU count field on the Oracle Cloud Infrastructure Console.

Snapshot standby storage usage is billed based on the storage of the snapshot standby plus 1 x the storage of the source primary database.

You can create a snapshot standby for a cross region peer. You cannot create a snapshot standby for a local disaster recovery peer.

About Disaster Recovery Snapshot Standby Databases

Converting a disaster recovery peer to a snapshot standby opens the database in read-write mode and the cross region disaster recovery peer temporarily stops refreshing data from the source database.

While operating as a snapshot standby, updates from the source database are still sent to the snapshot standby, and you are protected if the source database region were to encounter a failure, however the updates are not applied to the snapshot standby until the database is converted back to a disaster recovery peer.

See Oracle Autonomous AI Database Serverless Features Billing for information on Snapshot standby billing.

Snapshot Standby Features and Restrictions

Provides information on snapshot standby features and restrictions.

While the database is in the Snapshot standby role, note the following:

While the database is in the Snapshot standby role, note the following restrictions:

Notes for reconnecting a snapshot standby to the primary (source database):

When the snapshot standby reconnects to the primary database, Autonomous AI Database performs the following actions:

Snapshot Standby Operations

After you create a snapshot standby you can perform almost all database operations on the snapshot standby. There are some operations that are not allowed on a snapshot standby.

Operation Description
Convert to Snapshot Standby

You can convert a cross region peer to a snapshot standby.

See Convert cross region Disaster Recovery Peer to a Snapshot Standby for the steps to convert a peer database to snapshot standby.

Start or Restart

When a snapshot standby is stopped, as indicated by the Lifecycle state Stopped, you can start the database.

When a snapshot standby is available, as indicated by the Lifecycle state Available, you can restart the database or stop the database.

Convert Snapshot Standby Back to Disaster Recovery Peer

When a snapshot standby is in the Snapshot standby role, the database operates as a read-write database. A snapshot standby has a two day (48 hour) limit up to which it can stay in the Snapshot standby role. If you do not manually convert the snapshot standby back within two days, the snapshot standby automatically converts back to a disaster recovery peer.

See Convert Snapshot Standby Back to a cross region Disaster Recovery Peer for more information.

Stop When a snapshot standby is stopped, database operations are not available and charging for CPU usage on the snapshot standby stops.
Disconnect Peer

When you disconnect a snapshot standby, the snapshot standby is disassociated from the primary database. This converts the database from a snapshot database to a standalone database. Following the disconnect operation you are not allowed to reconnect to the Primary.

See Disconnect a Snapshot Standby for more information.

Terminate

You are not allowed to terminate a snapshot standby. You can reconnect the snapshot standby to the primary.

See Convert Snapshot Standby Back to a cross region Disaster Recovery Peer for more information.

Create Clone Cloning from a snapshot standby is only allowed to create a clone the same region as the snapshot standby. You cannot clone a snapshot standby across regions.
Create Refreshable Clone You are not allowed to create a refreshable clone on a snapshot standby.
Disaster Recovery Peer You are not allowed to add an Autonomous Data Guard standby database or a Backup-Based Disaster Recovery peer to a snapshot standby.

Snapshot Standby Reconnect Time

A banner on the Oracle Cloud Infrastructure Console indicates the date and time when the snapshot standby automatically reconnects to the source database. At the time indicated on the banner, Autonomous AI Database converts a snapshot standby back to the Standby role.

Description of adb_dr_snapshot_reconnect_adg.png follows

Description of the illustration adb_dr_snapshot_reconnect_adg.png

Note: When a snapshot standby is not reconnected within 48 hours, the snapshot standby automatically reconnects to the source database.

Convert Cross Region Disaster Recovery Peer to a Snapshot Standby

You can convert a cross region disaster recovery peer to a snapshot standby.

Note: All data, including metadata, that is inserted, updated, or deleted in the database during the disconnect period will be lost when a snapshot standby reconnects to its source database. All changes that occur on the primary during the disconnect period are applied to the standby when it reconnects to the source database.

Perform the following prerequisite steps as necessary:

To convert a cross region disaster recovery peer to a snapshot standby:

  1. On the Primary Region Autonomous AI Database instance, on the Autonomous AI Database Details page select the Disaster recovery tab.

  2. Access the remote region peer.

    On the Primary Region Autonomous AI Database instance the Disaster recovery list shows the Peer Autonomous AI Database column.

    Under the Peer Autonomous AI Database column, click the link to access the cross region peer.

  3. On the cross region peer, from the More actions drop-down list, select Convert to snapshot standby database.

    Description of adb_dr_convert_to_snapshot_adg.png follows

    Description of the illustration adb_dr_convert_to_snapshot_adg.png

  4. On the Convert to snapshot standby database page, enter the source database name to confirm the disconnect.

  5. Click Convert to snapshot standby database.

    The Autonomous AI Database Lifecycle state changes to Updating.

Note: While you convert to a snapshot standby, the primary database is available for read/write operations. There is no downtime on the primary database.

When the operation completes, note the following:

Convert Snapshot Standby Back to a Cross Region Disaster Recovery Peer

You can manually convert a snapshot standby back to a disaster recovery peer for the primary (source database). After the converting back, the snapshot standby returns to its role as a disaster recovery standby.

Note: All data, including metadata, that is inserted, updated, or deleted in the snapshot standby database during the disconnect period will be lost when the snapshot standby reconnects to its source database. All changes on the primary that were sent to the snapshot standby but not applied during the disconnect period will be applied to the standby when it reconnects to the source database.

Perform the following prerequisite steps as necessary:

  1. On the snapshot standby, from the More actions drop-down list, select Reconnect to source peer database.

    Description of adb_dr_reconnect_to_peer_adg.png follows

    Description of the illustration adb_dr_reconnect_to_peer_adg.png

  2. On the Reconnect to source peer database page, enter the source database name to confirm the reconnect.

  3. Click Convert to disaster recovery peer.

    The Autonomous AI Database Lifecycle state changes to Updating.

Note: While you reconnect the standby to the source database, the primary (source) database is available for read/write operations. There is no downtime on the primary database.

When the snapshot standby reconnects to the primary database, Autonomous AI Database does the following:

Disconnect a Snapshot Standby

You can disconnect a snapshot standby from the primary database.

When you disconnect a snapshot standby, the snapshot standby is disassociated from the primary database. This converts the database from a snapshot database to a standalone database. Following the disconnect operation you are not allowed to reconnect to the Primary.

The steps to disconnect a snapshot standby are the same as those to disconnect a standby database. See Disconnect a Peer Database for more information.

Notes for disconnecting a snapshot standby.