Home > Ask the Oracle Database / Applications Experts > Oracle RAC and database clustering Questions & Answers > Using connection load balancing with Oracle RAC
Ask The Oracle Expert: Questions & Answers
EMAIL THIS

Using connection load balancing with Oracle RAC

Bill Cullen EXPERT RESPONSE FROM: Bill Cullen

Pose a Question
Other Oracle Categories
Meet all Oracle Experts
Become an Expert for this site


Oracle tips, scripts, and expert advice
Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us    Add to Google


>
QUESTION POSED ON: 30 July 2007
When using XA data sources on a RAC database, the Oracle best practice is to set up a singleton service to avoid split branches. This limits the usefulness of RAC because we cannot load balance. Is it still safe to use connection load balancing? The data sources are defined in IBM WebSphere Application Server.


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us    Add to Google



RELATED CONTENT
Oracle RAC and database clustering
Configure two listeners without RAC in Oracle
Difference between Oracle RAC and Data Guard
"Failed to request gap sequence" error with switchover
Oracle UDP protocol or Veritas LLT for interconnect traffic?
Can't refresh individual table with replication system
Migrating to Oracle RAC from single-instance database
ORA-01801 error in RAC environment
Impact of changing OCR on RAC database
Switching RAC database to noarchivelog mode
Cost of two-node RAC implementation

Oracle RAC and database clustering
Can I have a single Oracle 11g RAC instance across multiple databases?
Review: Oracle's 11g R2 database has some good and bad
Scaling an Oracle database: What is the best strategy for you?
Oracle releases new database, says 11g upgrade will cut costs
E-discovery firm swaps out Microsoft SQL for Oracle RAC
Firm dumps MySQL on Red Hat for Oracle Database on Oracle Linux
How to back up archive log files in RAC
eHarmony spurns Microsoft, finds match with Oracle 10g
How to back up RAC database with RMAN
20GB data dictionary causing performance problems

Oracle database availability
Review: Oracle's 11g R2 database has some good and bad
Oracle releases new database, says 11g upgrade will cut costs
Firm dumps MySQL on Red Hat for Oracle Database on Oracle Linux
Data modeling tools no substitute for hard work
Oracle RMAN case study: Improving backup and recovery efficiency
Oracle and the rise of the virtual machine
Grid computing adoption slow amid fears of complexity
DBA 102: Beyond the basics
Difference between Oracle RAC and Data Guard
Author Mike Ault sizes up the new Oracle Database 11g
Oracle database availability Research

RELATED GLOSSARY TERMS
Terms from Whatis.com − the technology online dictionary
Real Application Cluster  (SearchOracle.com)

RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary


As you know, the problem with using load balancing at the Oracle level with WebSphere AS is that when a RAC instance fails, the WebSphere application may attempt to recover a transaction branch from the failing node and leave it hanging.

The setting up of singleton services forces single connections but you still need to point them to individual instances and use DTP to synchronize the transaction IDs.

The only way I know of to continue to use load balancing at the Oracle level is to catch the associated errors (ORA-01591 and/or ORA-24756) and rollback the in-doubt transactions with code.

The dba_2pc_pending view contains the pending transaction IDs.

I know this sounds messy but unless someone knows of a better workaround, this is the best I can come up with.

Good luck.




Search and Browse the Expert Answer Center
Search and browse more than 25,000 question and answer pairs from more than 250 TechTarget industry experts.
Browse our Expert Advice



Oracle White Papers: Fusion Middleware
HomeNewsTopicsTipsAsk the ExpertsMultimediaWhite PapersProductsBlogs
About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides technology professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective purchase decisions and managing their organizations' technology projects - with its network of technology-specific websites, events and online magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Site Map




All Rights Reserved, Copyright 2003 - 2009, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts