_CORE
AI & Agentic Systems Core Information Systems Cloud & Platform Engineering Data Platform & Integration Security & Compliance QA, Testing & Observability IoT, Automation & Robotics Mobile & Digital Banking & Finance Insurance Public Administration Defense & Security Healthcare Energy & Utilities Telco & Media Manufacturing Logistics & E-commerce Retail & Loyalty
References Technologies Blog Know-how Tools
About Collaboration Careers
CS EN
Let's talk

WebLogic Datasource Tuning for Oracle RAC

08. 04. 2013 1 min read CORE SYSTEMSdata
WebLogic Datasource Tuning for Oracle RAC

Oracle RAC (Real Application Clusters) is a high-availability solution for Oracle databases. But correctly configuring a JDBC datasource on WebLogic for RAC requires an understanding of both technologies.

Multi Data Source

WebLogic Multi Data Source wraps multiple Generic Data Sources — one for each RAC node. The load balancing algorithm distributes connections across nodes. Failover is automatic — when a node goes down, connections go to live nodes.

Fast Connection Failover

Oracle UCP (Universal Connection Pool) with FCF detects a dead RAC node within seconds (via ONS — Oracle Notification Service) and invalidates connections from the pool. Without FCF, the application only discovers the problem when it tries to use a stale connection — which can take minutes.

Connection Affinity

With RAC, you want transactions to run on a single node — cross-node communication is expensive. WebLogic with Oracle JDBC connection affinity routes connections for the same session to the same RAC node.

Sizing

The total number of connections across all Data Sources must not exceed the RAC cluster limit. Distribution: 50/50 for two nodes, or 70/30 if you have an active/passive configuration.

Lesson Learned

RAC + WebLogic = a powerful combination, but configuration is not trivial. Multi Data Source for HA, FCF for fast failover, connection affinity for performance. Test failover scenarios thoroughly.

weblogicoracle racjdbctuning
Share:

CORE SYSTEMS

Stavíme core systémy a AI agenty, které drží provoz. 15 let zkušeností s enterprise IT.

Need help with implementation?

Our experts can help with design, implementation, and operations. From architecture to production.

Contact us