Database - RAC/Scalability (MOSC)

MOSC Banner

how to failover to primary database from standby database on TAF connection string

Oracle database enterprise edition 19.3

I have a rac primary database and a rac standby database. I want to connect reporting system to standby database. standby database sync mode is set to max availability. after connect to standby database i execute 'alter session set standby_max_data_delay=20' to prevent execute of query on out of date database.

Because of above setting, some of times i get ORA-03172 STANDBY_MAX_DATA_DELAY of 20 seconds exceeded error.

my reporting system connect to oracle database using ODBC connection on windows operating system.


I want if query get above error on standby database, connection fail over to primary database and re-execute query on it.

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