Skip to Main Content
Oracle in a Nutshell
book

Oracle in a Nutshell

by Rick Greenwald, David C. Kreines
December 2002
Intermediate to advanced content levelIntermediate to advanced
928 pages
85h 29m
English
O'Reilly Media, Inc.
Content preview from Oracle in a Nutshell

Failover

Oracle Net Services supports failover, which occurs when an instance fails, both at connection time and when an application is running. By allowing failover, you let a user connected to the failed instance fail over to an instance that is still up and running. You enable failover by simply listing multiple listeners in a DESCRIPTION entry in the TNSNAMES.ORA file. Oracle Net Services supports failover both at connection time and when an application is running.

Connect-time failover allows you to direct connection requests to a backup instance in the event that the primary instance is down and is perhaps most useful when used in connection with Real Application Clusters (where you have multiple instances running against a single database). You enable connect-time failover by simply listing multiple listeners in a DESCRIPTION entry in the TNSNAMES.ORA file. (Failover might also be used in standby database environments to redirect a connect request to a standby database in case the primary database is down.)

Transparent Application Failover (TAF) provides failover when an application is running. If a connection fails, and TAF is enabled, the user automatically fails over to another listener. You can even specify that the connection to the other listener be established when the user makes the initial connection to the first listener, to reduce the failover time. In addition, most queries currently running with TAF enabled will maintain their location, so that the next row retrieved ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Oracle Internals

Oracle Internals

Donald K. Burleson
Oracle PL/SQL

Oracle PL/SQL

Lewis Cunningham
Oracle Essentials: Oracle9i, Oracle8i and Oracle8, Second Edition

Oracle Essentials: Oracle9i, Oracle8i and Oracle8, Second Edition

Rick Greenwald, Robert Stackowiak, Jonathan Stern

Publisher Resources

ISBN: 0596003366Errata Page