Can the JDBC Thin Driver Do Failover by Specifying FAILOVER_MODE?
Can the JDBC Thin Driver Do Failover by Specifying FAILOVER_MODE? | ||||
: | 465423.1 | 型別: | HOWTO | |
上次修訂日期: | 27-APR-2009 | 狀態: | PUBLISHED |
In this Document
Applies to:
JDBC - Version: 10.2 to 11.1Information in this document applies to any platform.
Goal
You have a 2-node RAC database. You ask if the JDBC Thin driver can do failover when using the following connect information.jdbc:oracle:thin:@(DESCRIPTION =(ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = rac1vip)(PORT = 1525)) (ADDRESS = (PROTOCOL = TCP)(HOST = rac2vip)(PORT = 1525)) (LOAD_BALANCE = on)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = ractest) (FAILOVER_MODE = (TYPE = SELECT) (METHOD = BASIC) (RETRIES = 2) (DELAY = 1))))
Solution
No. JDBC Thin cannot use FAILOVER_MODE. The failover defined by FAILOVER_MODE is Transparent Application Failover (TAF). JDBC Thin does not support TAF.However JDBC Thin does support Fast Connection Failover (FCF).
Some references are:
[1]
The "Is failover supported?" question in the JDBC Frequently Asked Questions (FAQ)
at
[2]
Oracle Database JDBC Developer's Guide and Reference, 10g Release 2 (10.2)
at Chapter 27 Fast Connection Failover
Chapter 28 Transparent Application Failover
[3]
How To Verify And Test Fast Connection Failover Setup From a JDBC Thin Client
[4]
The "Oracle Real Application Clusters Sample Code" page
at
link: **UPDATED** Step by Step Guide and Test Program for JDBC FCF [Nov 2006]
A step-by-step guide to help you set up Fast Connection Failover with JDBC. It also includes a
simple JDBC program that can be used to test your configuration and a sample java program to
subscribe to FAN events for troubleshooting your configuration.
References
- How To Verify And Test Fast Connection Failover (FCF) Setup From a JDBC Thin ClientKeywords
RAC; FAILOVER_MODE; JDBC~THIN;來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/9252210/viewspace-691541/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- 轉載:Oracle jdbc thin driver三種格式OracleJDBC
- Jdbc thin not suppot Rac TAFJDBC
- SQLNET trace including oci and thin driverSQL
- Feature Differences Between JDBC OCI and Thin DriversJDBC
- kattle Driver class 'oracle.jdbc.driver.OracleDriver' could not be foundOracleJDBC
- JDBC Driver連線方法列表JDBC
- microsoft jdbc driver 與jtdsROSJDBC
- 轉:ORACLE的JDBC連線方式:OCI和THINOracleJDBC
- 用JDBC THIN CLIENT能訪問oracle cluster嗎?JDBCclientOracle
- jdbc:oracle:thin:@192.168.3.98:1521:orcl(詳解)JDBCOracle
- 9i jdbc thin drive不支援Load balanceJDBC
- JDBC differences between the DB2 Universal JDBC Driver and other DB2 JDBC driversJDBCDB2
- What can men do against such reckless hate?AI
- Loading class `com.mysql.jdbc.DriverMySqlJDBC
- [AlwaysOn] 建立SQL Server高可用性組T-SQL語法:FAILOVER_MODE引數SQLServerAI
- 解決Mybatis連線Sql server 出現 Cannot load JDBC driver class 'com.mysql.jdbc.Driver '的問題MyBatisServerJDBCMySql
- 2008 3.4 : I can't do with loud music
- RAC+Dataguard環境中JDBC Failover配置JDBCAI
- db2 v9.7 jdbc driver downloadDB2JDBC
- 無法找到註冊驅動Did not find registered driver with class com.mysql.jdbc.DriverMySqlJDBC
- java通過jdbc連線oracle報錯No suitable driverJavaJDBCOracleUI
- Oracle 9i, 10g jdbc driver 檔案OracleJDBC
- PostgreSQL DBA(127) - Develop(JDBC failover&load balance)SQLdevJDBCAI
- 請問JDBC for SQL Server 7.0的driver在哪裡有得downJDBCSQLServer
- Maven魔法堂:安裝Oracle JDBC Driver依賴的那些坑MavenOracleJDBC
- 解決driverClassName: com.mysql.cj.jdbc.Driver報紅問題MySqlJDBC
- 關於Thin Clientclient
- JBuilder9 和 SQL2000 driver for JDBC的驅動配置UISQLJDBC
- Specifying the Default Tablespace Type (78)
- Specifying Database Block Sizes (91)DatabaseBloC
- [wm-cjdbc33-0069][Oracle JDBC Driver]Internal error: Net8 protocol errorJDBCOracleErrorProtocol
- Specifying the Database Time Zone File (81)Database
- Specifying the Java Pool Size (113)Java
- ORA-03137: TTC Protocol Internal Error : [12333] Using JDBC DriverProtocolErrorJDBC
- unzip報錯一解: skipping: need PK compat. v4.5 (can do v2.1)
- 【翻譯】Specifying CREATE DATABASE Statement ClausesDatabase
- Troubleshooting ORA-3137 [12333] Errors When Using Oracle JDBC DriverErrorOracleJDBC
- 配置jsp+jdk1.4+tomcat4.0+servlet+sql server2000(jdbc driver) (轉)JSJDKTomcatServletSQLServerJDBC