Database - RAC/Scalability (MOSC)

MOSC Banner

Migrating from RAC to Single Instance Switchover issues

Hello Experts,

our database has been already migrated from RAC to Single instance / Standby.

We are now migrating our Java application from RAC to Single instance. The application should be tolerant to switchover / failover scenarios as before.

We implemented a retry mechanism that should work seamlessly.

When a statement is executed and it fails with a SQLRecoverableException (due to switchover) we roll back the transaction get a new connection.

If the switchover is in progress, we get SQLRecoverableExceptions from the DriverManager.getConnection() call. As long as our retry count has not been reached we retry to get a connection (after a delay) again.

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center