Database Error Messages

Release
toggle
  • 23ai
  • 21c
  • 19c
Updated
Jun 24, 2024

ORA-03786

failed to replace primary database shard: string

Cause

An attempt was made to replace a primary database shard when standby databases are alive. This is now allowed.


Action

Do not replace a primary when standbys are alive. Replacing a primary database is only allowed when all the standby databases are down. If this database was the primary before failure, one of the standbys need to transition to a primary role by a failover. This database can then be replaced as a standby database.