TAF -> Transparent Application Failover

session: This specifies that when the failover occurs, TAF should create session and perform no other action

select: This specifies that when the failover occurs, TAF should create session and restart any select statements that were running at the time of the failover, only rows that were not previously returned will be returned to the user

none: Do not perform a TAF failover

Method

This attribute determines when the session is created

Basic : This establishes the session at the time of the failover

Preconnect : when the initial connection to the database is made, this creates the failover session using Oracle Net alias designed by the backup attribute

Retries This attribute specifies the number of times Oracle Net will go back to the address_list and attempt to connect to the surviving instances.

Delay This attribute specifies the number of seconds to wait between each retry


SATYA=
(DESCRIPTION =
   (ADDRESS_LIST =
      (LOAD_BALANCE = YES)
         (ADDRESS = (PROTOCOL = TCP)(HOST = orcl1)(PORT = 1521))
         (ADDRESS = (PROTOCOL = TCP)(HOST = orcl2)(PORT = 1521))
      
   )
   (CONNECT_DATA =
      (SERVICE_NAME = SALES)
      (FAILOVER_MODE = (TYPE = SELECT)(METHOD = BASIC)(RETRIES = 20)(DELAY = 15))
   )
)

Comments

Popular posts from this blog

Understanding Terraform

How to make CRS and ASM not to restart after server reboot

How to repair ASM disk header