Presentation is loading. Please wait.

Presentation is loading. Please wait.

Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 1.

Similar presentations


Presentation on theme: "Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 1."— Presentation transcript:

1 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 1

2 Oracle WebLogic Server and Oracle Database RAC: Performance on Fusion Middleware Frances Zhao-Perez Oracle Cloud Application Foundation Product Management

3 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 3 Agenda  Oracle Database RAC & WebLogic Active GridLink  Fast Connection Failover  Runtime Connection Load Balancing  XA and Session Affinity  WebLogic and Oracle Database 12c integration  Q & A

4 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 4 Safe Harbor Statement The following is intended to outline our general product direction. It is intended for information purposes only, and may not be incorporated into any contract. It is not a commitment to deliver any material, code, or functionality, and should not be relied upon in making purchasing decisions. The development, release, and timing of any features or functionality described for Oracle’s products remain at the sole discretion of Oracle.

5 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 5 Start small, grow incrementally Scalable AND highly available Add capacity on demand with zero downtime Oracle RAC Seamless Scalability

6 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 6 Oracle RAC Flexibility, High Availability DW data Web data CRM data ERP data ERP DW HR CRM Web Complete availability…unlimited scalability Server hardware shared between applications Web

7 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 7 GridLink WebLogic GridLink WebLogic WebLogic Integration with Oracle RAC Up to 3X Better Performance with Active GridLink for RAC  Integrated WebLogic and Database RAC clusters  Dynamic load balancing of requests to RAC nodes  RAC node transaction affinity for data locality  Continuous connection availability regardless of RAC changes 80%20% RAC Node Load Aware Connection Requests GridLink WebLogic GridLink WebLogic RAC Node Affinity For Transactions XA GridLink WebLogic GridLink WebLogic Continuous Connections Regardless of RAC Changes

8 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 8 Active GridLink for RAC  Simpler configuration than Multi Data Source  SCAN support  Event-based model (ONS and FAN) for adaptive pool management  Fast Connection Failover  Runtime Connection Load Balancing  Affinities for connection routing (XA, Session, Data)  WebLogic connection labeling, harvesting (10.3.6+)  Data Guard support  RAC One Node support (database 11gR2+)

9 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 9 Active GridLink for RAC for Fusion Middleware Certified for Fusion Middleware Since 11.1.1.6 optional Active GridLink set up Is included in all Configuration Wizards

10 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 10 Enhanced Availability and Disaster Recovery Active Data Guard and Golden Gate Multiple Data Center Architecture Integrated with Active Data Guard (transaction logs) 3X OLTP Integrated WebLogic/RAC Clusters RAC Aware Pool with RAC Node Affinity (Session/Transaction), RAC One Node Support and Fast Connection Failover Active GridLink for RAC WebLogic Server Active GridLink for RAC WebLogic Server

11 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 11 Customer Case Study  Large UK retailer with online store  E-commerce Application running on non-current Oracle WebLogic Server 24x7 very busy website App tier has long restart time to reload product caches Scenario Multi-data sources to RAC cluster with test-on-reserve & thousands of concurrent database sessions If RAC node goes down when it is restarted it is not brought back into active use until the following night (when servers/connection pools are restarted) Challenges / Problem Active GridLink provides managed instance shutdown, e.g. for rolling upgrades Active GridLink with RCLB would immediately reduce risk, especially during peak periods Solution

12 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 12 Active GridLink for RAC Fast Connection Failover  Rapid database failure detection  Aborts and removes invalid connections from the pool  Supports unplanned and planned outages  Recognizes new nodes that join an Oracle RAC cluster WebLogic RAC Aware Connection Pool Instance2 Instance2 RAC Database Instance1 Instance1 Instance3 Instance3 Fail-over Handler Thread StartONS Subscribe Handle EventONS Publish

13 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 13 Active GridLink for RAC Runtime Connection Load Balancing  Manages pooled connections for high performance and scalability  Receives continuous recommendations on the percentage of work  Adjusts distribution of work based on backend node capacities  Reacts quickly to changes in Cluster Reconfiguration WebLogic Server Connection Pool Application Application RAC Database Instance1 Instance2 Instance3 I ’ m busy I ’ m very busy I ’ m idle 30% connections 10% connections 60% connections

14 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 14 Active GridLink for RAC XA Transaction Affinity  Enables XA and RAC to work together with better flexibility  Transaction affinity is the ability to automatically localize a global transaction to a single RAC instance  Transaction Affinity scope is the life of a global transaction RAC Database Instance1 Instance2 Instance3 WebLogic Connection Pool Affinity Context Connection TX Client 2 TX Client 2 TX Client 1 TX Client 1

15 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 15 Active GridLink for RAC Web Session Affinity  The first connection request uses RCLB to select a connection  Subsequent requests enforce Affinity  Connection selection falls back to RCLB after Affinity ends 30 second interval Cluster with Moving Average (ms) Cluster Wait Time - Random Workload 25 Threads - 20ms think time - 100 Total Connections 0 50 100 150 200 250 12345678910111213141516171819202122232425262728293031323334 Affinity Enabled Affinity Disabled

16 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 16 Active GridLink for RAC Web Session Affinity NEC Testing Results

17 What’s New in 12c?

18 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 18 WebLogic Server 12.1.2 The #1 Application Server Across Conventional and Cloud Environments  Deliver Cloud elasticity with built-in Oracle Database 12c integration and dynamic clustering  Simplify management with common install, update and administrative tools  Increase developer productivity with support for Maven, HTML5, WebSockets and more

19 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 19 WebLogic Server 12.1.2 and Database 12c Continuous Availability, Performance at Scale, Multi-Tenancy  WebLogic Server with Database 12c – WebLogic 10.3.6, 12.1.1 – certification – WebLogic 12.1.2 - new feature integration  Continuous Availability capabilities – Transaction Guard and Application Continuity  Multi-Tenant Database Support – Pluggable Databases running in Database Container  New scalability integration - Middle Tier Performance at Cloud Scale – Database Resident Connection Pools  Multi-Site Availability – Global Data Services DBMS Resident Connection Pool Multi-Tenant Database Replay Read/Write Based on Transaction Guard Information WebLogic Domain 1 WebLogic Domain 2 WebLogic Domain n … 100’s PDB 1PDB 2PDB 3PDB 4

20 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 20 Application Continuity – JDBC Replay Improved Resiliency for Better User Experience RAC Cluster GridLink Data Source WebLogic Cluster Machine 2 Managed Server 2 Machine 1 Managed Server 1 Machine 1 RAC Node 1 Listener ONS Machine 3 Down RAC Node 3 Listener ONS Machine 2 RAC Node 2 Listener ONS 1. FAN Down Event: “Node 3 Down” 1. FAN Down Event: “Node 3 Down” 2. Create Connection to Surviving Node; Replay if safe  Leverage feature supported in DB 12c – Generic and GridLink datasources  DB exceptions captured at datasource layer – Examples: RAC node failure, transient DB problem  Automatically replay requests – Transparent to application – Read and write requests supported – No XA Transaction support  Benefit: Better end user experience

21 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 21 Application Continuity  Active Gridlink and Generic datasources, 12c driver only  Leverages JDBC replay, re-implemented in 12c DB  Enabled with use of oracle.jdbc.replay.OracleDataSourceImpl driver class  On failure, new connection is automatically created – Transparent to application! – Replay is already complete when connection is given to app How it Works in WebLogic Limitations : cannot use with XA, PLSQL, proxy authentication, DRCP

22 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 22 Transaction Guard First Database to Preserve COMMIT Outcome  Known outcome for every transaction  Supports at-most-once transaction execution  Available for WebLogic, JDBC, thin, OCI, OCCI, ODP.net  Used by Application Continuity  Without Transaction Guard retries can cause logical corruption 5. Guaranteed Outcome 4. Enforce Outcome 1. Request 2. Calls 12c ORACLE Database 3. Errors WebLogic Server Data Sources Oracle JDBC THIN Driver

23 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 23 Database Resident Connection Pooling  Database Resident Connection Pooling – Database connections/sessions are pooled at the database – Enables better sharing of DB resources, DB and application scalability  WebLogic Integration with DRCP – Active Gridlink and Generic Data Sources – Data sources pool connection placeholders and attach/detach connections internally Virtualization of DB Connections for Improved System Scalability DRCP WebLogic 12c Database

24 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 24 Database Resident Connection Pooling How it works in WebLogic Server

25 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 25 WebLogic Integration with Pluggable Database Pluggable Database One of multiple “virtual” databases hosted in a single Container Database Provides tenant isolation, while leveraging the benefits of a single unified Container Database Better efficiency (CPU, Disk) Unified security management Simplified upgrade WebLogic Server Integration with Pluggable Databases Seamless integration Support of MultiTenancy by automatically connecting to PDB (tenant) using Set Container Requires Oracle 12c Database Increased Density and Scalability, Multi-Tenancy Get Connection Tenant1 Set Container PDB1 Set Container PDB2 Data Source WebLogic Cluster Mgd Svr 2 Mgd Svr 1 App 1 App 2 App 1 App 2 Get Connection Tenant2 Container Database PDB1 Tenant 1 PDB2 Tenant 2 …

26 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 26 WebLogic Integration with Global Data Services Global Data Services in Database 12c Central management of database services across distributed database cloud Dynamic migration of services based on load and availability Scalability by adding RAC clusters Restart failed services on an available DB WebLogic Server Integration with DB “Cloud” GridLink datasources support GDS GridLink datasource configuration specifies a primary region to access a global service (locally), and the addresses to each region. Reconnection to migrated services based on FAN events – RAC-like failover for the DB cloud Improved performance, scalability, availability for WebLogic and Database Cloud GridLink Data Source WebLogic Cluster Machine 2 Machine 1 Managed Server 1 RAC Cluster DataGuard, GoldenGate Region: MADRID RAC Cluster Service1Service2 FAN Events Service2Service1 Service2 under heavy load GDS Region: BARCELONA Managed Server 2

27 Oracle WebLogic Server and Oracle Database RAC: Performance on Fusion Middleware Frances Zhao-Perez Oracle Cloud Application Foundation Product Management

28 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 28


Download ppt "Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 1."

Similar presentations


Ads by Google