Maximizing Application Continuity with Oracle Transparent Application Continuity
Understanding Oracle Transparent Application Continuity
In today's fast-paced and complex technology landscape, ensuring the seamless operation of applications is crucial for businesses. This is where Oracle Transparent Application Continuity (TAC) comes into play. TAC is a feature that provides continuous and uninterrupted user experiences during planned or unplanned outages, ensuring that no user transaction is lost or rolled back due to failures.
The Core Functionality of Oracle Transparent Application Continuity
At its core, TAC captures the state of in-flight user transactions and replays them against the database, ensuring that no data is lost during a failure. This means that regardless of the underlying issues, be it a server failure, network glitch, or database outage, TAC ensures that users can continue their transactions seamlessly without any disruption.
How Does Oracle Transparent Application Continuity Work?
Starting with Oracle Database19c, Transparent Application Continuity (TAC) transparently tracks and records session and transactional state so the database session can be recovered following recoverable outages. This is done with no reliance on application knowledge or application code changes, allowing TAC to be enabled for your applications. Application transparency and failover are achieved by consuming the state-tracking information that captures and categorizes the session state usage as the application issues user calls.
STEPS FOR USING APPLICATION CONTINUITY :-
领英推荐
USE DATABASE SERVICE
This cannot be the default database service or the default PDB service (the service with the same name as the database or PDB). , Need to create Database Service with high availability features: FAN, Draining and Application Continuity so Your application must connect to a service to use the high availability features: FAN, Draining and Application Continuity
Server-Side Steps for Services :-
srvctl add service -db mydb -service TACSERVICE -pdb mypdb –preferred inst1 - available inst2 -failover_restore AUTO -commit_outcome TRUE -failovertype AUTO - replay_init_time 600 -retention 86400 -notification TRUE -drain_timeout 300 - stopoption IMMEDIATE -role PRIMARY
CONFIGURE URL OR CONNECTION STRING FOR HIGH AVAILABILITY Client Side :-
Oracle recommends that your application uses the following connection string configuration for successfully connecting at basic startup, failover, switchover, and fallback.
Alias (or URL) = (DESCRIPTION = (CONNECT_TIMEOUT= 90)(RETRY_COUNT=50)(RETRY_DELAY=3)(TRANSPORT_CONNECT_TIMEOUT=3) (ADDRESS_LIST = (LOAD_BALANCE=on) (ADDRESS = (PROTOCOL = TCP)(HOST=primary-scan)(PORT=1521))) (ADDRESS_LIST = (LOAD_BALANCE=on) (ADDRESS = (PROTOCOL = TCP)(HOST=secondary-scan)(PORT=1521))) (CONNECT_DATA=(SERVICE_NAME = gold-cloud))