The
alternate instance to which TAF reconnects users is specified in the Oracle Net configuration
files, which are described in the Oracle Net documentation.
Because OCI is a low-level API, writing programs with OCI requires more effort and
sophistication on the part of the developer. Fortunately, Oracle uses OCI to write client
tools and various drivers, so that applications using these tools can leverage TAF.
Support for TAF in ODBC and JDBC drivers is especially useful; it means that TAF
can be leveraged by any client application that uses these drivers to connect to Oracle.
For example, TAF can provide automatic reconnection for a third-party query
tool that uses ODBC. To implement TAF with ODBC, set up an ODBC data source
that uses an Oracle Net service name that is configured to use TAF in the Oracle Net
configuration files. ODBC uses Oracle Net and can therefore leverage the TAF
feature.
TAF and various Oracle configurations
Although the TAF-Real Application Clusters combination is the most obvious combination
for high availability, TAF can be used with a single Oracle instance or with
multiple databases, each accessible from a single instance.
Pages:
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600