Partner Webcast - Oracle WebLogic Server & Oracle Database 12c Integration - 06 Mar 2014
Upcoming SlideShare
Loading in...5
×
 

Partner Webcast - Oracle WebLogic Server & Oracle Database 12c Integration - 06 Mar 2014

on

  • 675 views

Oracle WebLogic Server 12c, the latest generation of the leading Enterprise-class Java EE Application Server, and Oracle Database 12c, the latest release of the world’s #1 database, have both been ...

Oracle WebLogic Server 12c, the latest generation of the leading Enterprise-class Java EE Application Server, and Oracle Database 12c, the latest release of the world’s #1 database, have both been enhanced significantly offering several improvements in performance, availability, manageability and scalability tailored to enterprise business applications.

Oracle also makes sure to enhance and improve the integration between Oracle Database and Oracle WebLogic Server, enabling seamless connections between middle-tier application logic and back-end database assets.

Deliver a complete, best of breed data processing platform, with Oracle WebLogic Server 12c and Oracle Database 12c,

[Read More @ https://blogs.oracle.com/imc/entry/oracle_weblogic_server_oracle_database]

Statistics

Views

Total Views
675
Views on SlideShare
652
Embed Views
23

Actions

Likes
1
Downloads
17
Comments
0

2 Embeds 23

https://blogs.oracle.com 22
http://www.linkedin.com 1

Accessibility

Categories

Upload Details

Uploaded via as Adobe PDF

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

Partner Webcast - Oracle WebLogic Server & Oracle Database 12c Integration - 06 Mar 2014 Partner Webcast - Oracle WebLogic Server & Oracle Database 12c Integration - 06 Mar 2014 Presentation Transcript

  • “This slide format serves to call attention to a quote from a prominent customer, executive, or thought leader in regards to a particular topic.” Name Title, Company Name CUSTOMER LOGO blogs.oracle.com/IMC 1 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
  • Oracle WebLogic Server 12c & Oracle Database 12c Integration Emin Askerov, Valery Yourinsky Oracle ISV Migration Center emin.askerov@oracle.com valery.yourinsky@fors.ru blogs.oracle.com/imc
  • 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 remains at the sole discretion of Oracle. 3 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
  • Program Agenda  Oracle WebLogic Server and Oracle Database 12c  Database 12c: New Key Features For Business Applications  WebLogic 12c (12.1.2) Integration: Together We Stronger  Demo: Application Continuity  Summary - Q & A 4 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
  • Program Agenda  Oracle WebLogic Server and Oracle Database 12c  Database 12c: New Key Features For Business Applications  WebLogic 12c (12.1.2) Integration: Together We Stronger  Demo: Application Continuity  Summary - Q & A 5 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
  • #1 Across Conventional and Cloud Environments Oracle WebLogic Server High Availability, Density, Performance HIGH PRODUCTIVITY Java EE 1 # Oracle Business Applications Java SE HTML5 Mobile, Developer Productivity 6 Optimized for Engineered Systems Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Fusion Middleware Cloud Application Foundation Foundation for Fusion Middleware & Applications Market-leading Products
  • Next Generation, Mission-Critical Cloud Platform Oracle Cloud Application Foundation Oracle Web Social Mobile User Engagement Business Process Management Content Management Service Integration Cloud  Complete Traffic  Open Director/Web Tier Business Intelligence Data Integration WebLogic Server Coherence Integrated Tuxedo Virtual Assembly Builder  Best in Class Cloud Application Foundation Identity Management Development Tools 7 Cloud Application Foundation Copyright © 2013, Oracle and/or its affiliates. All rights reserved.  On Premise and Cloud Enterprise Management Exalogic Elastic Cloud
  • WebLogic Server 12c (12.1.2) Feature Snapshot! Development with WebLogic Server 12c Database 12c • Active GridLink for RAC • Maven Repository • • HTML5 and WebSockets Web and Transaction Affinity • TopLink Data Services • JDeveloper 12c • ADF 12c • Enterprise Pack for Eclipse 12c Java EE/Java SE • Java SE 7 • JSP 2.1, JSF 2.0, EJB 3.1, JPA 2.0 • Restful Web Services • JRockit/Hotspot Convergence 8 Enterprise Scale with WebLogic Server 12c • Dynamic Clusters • Elastic JMS Multitenant Database Integration • Database Tlogs • Application Continuity with Transaction Guard • Cloud Management • JVM Diagnostics • Fast Connection Failover • • Database Resident Connection Pools Incident and Problem Management • Patch Automation Global Data Services Coherence 12c • • WebLogic 12c Performance • SPECjEnterprise World Records– EjOPS Overall, EjOPS/Processor Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Enterprise Manager 12c R3 • Managed Coherence Servers • Goldengate Hotcache • Live Events Cloud • Optimized WebLogic Virtual Appliances • Coherence Exalogic Exabus • WebLogic Elastic Messaging • Coherence Elastic Data • Exalogic HTTP, JMS and Web Service Performance • TopLink Multi-Tenancy WebLogic 12c Security • New Certification Validation • SPNEGO Update • RSA Update • JSSE Support
  • Released on June 25th 2013 Application Development Big Data & Data Warehousing Consolidation Database as a Service Data Optimization High Availability In-Memory Performance & Scalability Security & Compliance 9 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
  • Program Agenda  Oracle WebLogic Server and Oracle Database 12c  Database 12c: New Key Features For Business Applications  WebLogic 12c (12.1.2) Integration: Together We Stronger  Demo: Application Continuity  Summary - Q & A 10 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
  • Database 12c: New Key Features For Business Applications
  • Real Application Clusters (RAC) 12 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
  • The New Oracle RAC 12c Overview of Oracle RAC Noncluster Oracle databases have a one-to-one relationship between the Oracle database and the instance. Oracle RAC environments have a oneto-many relationship between the database and instances. An Oracle RAC database can have up to 100 instances, all of which access one database. Oracle EM 12 Cloud Control Utility Computer 13 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. All database instances must use the same interconnect, which can also be used by Oracle Clusterware.
  • The New Oracle RAC 12c Oracle RAC provides: - a single system image for multiple servers to access one Oracle database. In Oracle RAC, each Oracle instance must run on a separate server. Oracle RAC 12c provides: - Better Business Continuity and High Availability (HA) - Agility and Scalability - Cost-effective Workload Management Using:  A standardized and improved Oracle EM 12 Cloud Control Utility Computer 14 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. deployment and management  A familiar and matured high availability (HA) stack
  • ASM Overview Oracle Database 11.2 or earlier RAC Cluster Database Instance One to One Mapping of ASM Instances to Servers DBA DBA DBB DBB DBB DBC ASM Instance Node1 ASM Node2 ASM Node3 ASM Node4 ASM Node5 ASM ASM Cluster Pool of Storage Shared Disk Groups Disk Group A Wide File Striping 15 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Disk Group B ASM Disk
  • Oracle ASM 12c – Overview Oracle ASM 12c Standard Deployment RAC Cluster Database Instance One to One Mapping of ASM Instances to Servers DBA DBA ASM Instance DBB DBB DBB DBC ASM Instance Node1 ASM Node2 ASM Node3 ASM Node4 ASM Node5 ASM ASM Cluster Pool of Storage Shared Disk Groups Disk Group A Wide File Striping 16 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Disk Group B ASM Disk
  • Introducing Oracle Flex ASM Removal of One to One Mapping and HA RAC Cluster Database Instance Databases share ASM instances DBA DBA ASM Instance DBB DBB DBB DBC ASM Instance Node1 Node2 ASM Node3 ASM Node4 Node2 Node1 runs as runs as ASM ASM Client to Client to Node3 Node4 Node2 ASM Cluster Pool of Storage Shared Disk Groups Disk Group A Wide File Striping 17 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. ASM Node5 Node5 runs as ASM Client to Node4 Disk Group B ASM Disk
  • Flex ASM Remote Access  In previous versions, ASM clients use OS-authentication to connect to ASM – This works because ASM clients and servers are always on the same server  With Oracle Database 12c, ASM clients and ASM servers can be on different servers – A default configuration is created when the ASM cluster is configured  Benefits of providing a shared password file in ASM Disk Group 18 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
  • Supporting Pre-Oracle 12c Databases Pre-Oracle 12c Databases require a local ASM instance RAC Cluster Database Instance Databases share ASM instances DBA ASM Instance Node1 11g DB ASM DBA Node2 DBB ASM DBB Node3 ASM DBB Node4 ASM 11g DB Node5 DBC ASM ASM Cluster Pool of Storage Shared Disk Groups Disk Group A Wide File Striping 19 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Disk Group B ASM Disk
  • Global Data Services 20 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
  • Global Data Services Cluster Services in a Global Scale  Cluster services (introduced in Oracle Database 10g) enables dynamic load balancing and workload management in a clustered environment HR 21 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. SALES ERP
  • Global Data Services (GDS) Next-generation Architecture  A Global Data Services configuration looks like a virtual multi-instance database to database clients. Reporting Service Call Center Service Active Data Guard  It provides client access through global services, which are functionally similar to the local database services provided by single-instance or Oracle Real Application Clusters (Oracle RAC) databases.  Local and global services both provide load balancing, high availability, resource management. GoldenGate  The essential difference between global services and local services is that global services span the instances of multiple databases, whereas local services span the instances of a single database. 22 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
  • Global Data Services (GDS) Next-generation Architecture  Global Data Services (GDS) enables Reporting Service Call Center Service administrators to automatically and transparently manage client workloads across replicated databases that offer common services.  A database service is a named representation of Active Data Guard one or more database instances. Services enable you to group database workloads and route a particular work request to an appropriate instance. GoldenGate  A global service is a service provided by multiple databases synchronized through data replication 23 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
  • Global Data Services Built on Active Data Guard  Active Data Guard (introduced in Oracle Database 11g) enables high- performance reader farms Queries Active Data Guard Standby Databases • Real-time query with no data type limitations Queries Updates Queries Queries Production Database 24 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
  • Global Data Services Built on GoldenGate  GoldenGate enables data replication in an active-active multi-master environment Database A Database B 25 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. GoldenGate Multi-Master Configuration Database C
  • Global Data Services (GDS) Next-generation Architecture  Global Data Services (GDS) is an Oracle Database 12c component  Provides load balancing in a global scale – Extends RAC-like connect time & run time load balancing globally  Enables optimal resource utilization – Dynamically migrates services based on load and availability  Provides global scalability and availability – Supports seamless failover – Supports dynamic addition of databases  Provides capability to centrally manage global resources – Easier management for globally distributed multi-database configurations 26 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
  • GDS Configuration  Global Service: Database Service provided by multiple Clients (Users) Clients (Users) Data Center #1 APAC Region App/Middleware Data Center #2 EMEA Region databases with replicated data – App/Middleware Local service + {region affinity, replication lag, database cardinality, load balancing goals}  Global Service Manager (GSM): Provides main GDS functionality: service management and load balancing GDS Framework – – Global Service Managers GDS Catalog Standby GDS Catalog Primary Regional listener to the incoming database connections At least one GSM per region or multiple GSMs for High Availability – All databases/services register to all GSM Listeners Global Service Managers  GDS Catalog: stores all metadata, enables centralized SALES POOL (sales_report_srvc, sales_entry_srvc) GDSCTL and EMCC Replication global monitoring & management – Global service configuration stored in GDS Catalog  GDS Region: Group of databases and clients in close SALES Databases HR POOL(hr_apac_srvc, hr_emea_srvc) network proximity, e.g., East, West  GDS Pool: Databases that offer a common set of global Replication HR Databases services, e.g., HR, Sales  GDSCTL: Command-line Interface to administer GDS *GUI support of GDS in EMCC12.1.0.5 27 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
  • Multitenant Database Architecture 28 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
  • Oracle Database Architecture Requires memory, processes and database files System Resources 29 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
  • New Multitenant Architecture Memory and processes required at container level only System Resources 30 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
  • New Multitenant Architecture Memory and processes required at container level only System Resources 31 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
  • Pluggable vs Separate Databases Highly Efficient: 6x Less H/W Resource, 5x more Scalable OLTP benchmark comparison Only 3GB of memory vs. 20GB memory used for 50 databases Pluggable databases scaled to over 250 while separate database instances maxed at 50 32 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
  • Managing Shared Resources Resource management for consolidated databases Low Priority Medium Priority High Priority 33 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
  • Simplified Patching Apply changes once, all pluggable databases updated Upgrade in-place 34 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
  • Simplified Upgrades Flexible choice when patching & upgrading databases 35 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
  • Manage Many Databases as One Backup databases as one; recover at pluggable database Level One Backup Point-in-time recovery at pluggable database level 36 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
  • Manage Many Databases as One One standby database covers all pluggable databases 37 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
  • Managing Database Service Level Tiers Change tiers as databases become more mission critical GOLD SILVER BRONZE 38 RAC, Data Guard, Daily Incrementals Data Guard, Daily Incrementals Weekly Full Backups Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
  • Fast Provisioning Pluggable databases can be quickly provisioned from seed Time Taken to Provision New Database 25 20 15 10 5 0 Non CDB 39 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. PDB Clone PDB using Copy-on-Write File System
  • Creating Databases for Test and Development Fast, flexible copy and snapshot of pluggable databases 40 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
  • Perfect for ISVs. Packaged apps and reference data are easily distributed 41 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
  • Consolidating Databases Step1: Upgrade databases in-place Upgrade in Place 42 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
  • Consolidating Databases Step2: Plug-in upgraded databases 43 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
  • Getting to Multitenant Real Application Testing with Consolidated Replay Capture workload Capture workload Capture workload 44 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Transport captured workload
  • Consolidated Database Replays For manually consolidated and Pluggable Databases Processor Utilization Replay Consolidated Workloads DW CRM ERP Time 45 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
  • Oracle Multitenant Customer Benefits Feature Simplified, dense consolidation Reduce capital expenditures Manage many databases as one Reduce operational expenses Rapid provisioning Reduce operational expenses Rapid unplug/plug Reduce operational expenses Security Isolation Secure multitenancy Resource Isolation Tenants get fair share of computing resources RAC compatibility Greater scalability & resource utilization No application changes 46 Customer Benefit Easy to adopt for customers and ISVs Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
  • Application Continuity and Transaction Guard 47 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
  • Dealing with Unknown Transaction State Pre-Oracle Database 12c  Database outages can cause in-flight work to be lost, leaving users and applications in doubt  Often leads to – User pains – Duplicate submissions – Rebooting mid-tiers – Developer pains 48 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
  • Tackling In-Flight Work for Unplanned Outages Two New Features  Transaction Guard – A Reliable protocol and API that returns the outcome of the last transaction  Application Continuity – Safely attempts to replay in-flight work following outages and planned operations. 49 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
  • Tackling In-Flight Work for Unplanned Outages  Transaction Guard – a protocol and developer API supported for JDBC Type 4 (Oracle Thin), OCI, OCCI, and ODP.Net drivers. – introduces the concept of at-most once transaction semantics, also referred to as transaction idempotence. When an application opens a connection to the database using this service, the logical transaction ID (LTXID) is generated at authentication and stored in the session handle at the database and a copy at the client driver. This is a globally unique ID that identifies the database transaction from the application perspective. – When there is an outage, an application using Transaction Guard can retrieve the LTXID from the previous failed session's handle and use it to determine the outcome of the transaction that was active prior to the session failure. 50 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
  • Tackling In-Flight Work for Unplanned Outages  Transaction Guard – When there is an outage, an application using Transaction Guard can retrieve the LTXID from the previous failed session's handle and use it to determine the outcome of the transaction that was active prior to the session failure. – The only procedure in package DBMS_APP_CONT DBMS_APP_CONT.GET_LTXID_OUTCOME ( client_ltxid IN RAW, committed OUT BOOLEAN, user_call_completed OUT BOOLEAN) 51 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
  • Tackling In-Flight Work for Unplanned Outages  Application Continuity for Java – Masks planned or unplanned outages (that cause database session unavailability) by attempting to rebuild the database session transactional and nontransactional states, so the outage appears to the user as no more than a delayed execution. – Application Continuity for Java works with the Oracle Database Release 12c Release 1 (12.1) server to determine if the database session can be replayed. – Prepares replay by using Transaction Guard to determine the outcome of the last operation submitted by the session that received the error. 52 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
  • Application Continuity Masks Unplanned & Planned Outages  Replays in-flight (DML) work on recoverable errors  Masks many hardware, software, ✔ 53 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. network, storage errors and outages when successful  Improves end-user experience and productivity without requiring custom application development
  • Application Continuity – Example A reliable replay of in flight work User selects product from application and purchases it from the web checkout End User Application Servers Network Switches Database Servers 54 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. User transaction arrives at application infrastructure. It makes it’s way through the application tiers and results in a database transaction being created
  • Application Continuity – Example A reliable replay of in flight work End User Application Servers Network Switches Database Servers 55 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. The infrastructure hosting the database fails just before the transaction is committed to the database.
  • Application Continuity – Example A reliable replay of in flight work End User Application Servers Network Switches Database Servers 56 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. If the transaction needs to be replayed, “Application The jdbc driver detects the of the Continuity” will submit all failure and checksawith an node inflight work to surviving availableclusterin theperform a in the node and cluster, using “Transaction happens commit. This all Guard”, whether the transaction transparently to the application committed or needs to be replayed
  • Application Continuity – Example A reliable replay of in flight work End User Application Servers Network Switches Database Servers 57 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. The user receives confirmation that his order has been successfully completed.
  • When is Application Continuity for Java transparent  If the Application – Uses J2EE or JPA that uses the standard JDBC API – Uses UCP or WebLogic Server and return connections to pool – Does not have external actions that cannot be replayed. 58 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
  • Database Resident Connection Pooling 59 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
  • Database Resident Connection Pooling  Database Resident Connection Pooling (DRCP) provides a connection pool of dedicated servers for typical Web application scenarios. A Web application typically makes a database connection, uses the connection briefly, and then releases it. Through DRCP, the database can scale to tens of thousands of simultaneous connections.  DRCP uses a pooled server, which is the equivalent of a dedicated server process (not a shared server process) and a database session combined. The pooled server model avoids the overhead of dedicating a server for every connection that requires the server for a short period. 60 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
  • Database Resident Connection Pooling  A database instance is communicating with middle-tier processes running in a middle-tier client.  A middle-tier process requests a connection from the connection broker.  The broker hands off the request to the server process, which communicates directly with the middle-tier process. 61 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
  • Database Resident Connection Pooling  DRCP provides the following advantages: – Complements middle-tier connection pools that share connections between threads in a middle-tier process. – Enables database connections to be shared across multiple middle-tier processes. These middle-tier processes may belong to the same or different middle-tier host. – Enables a significant reduction in key database resources required to support many client connections. For example, DRCP reduces the memory required for the database and boosts the scalability of the database and middle tier. The pool of available servers also reduces the cost of re-creating client connections. – Provides pooling for architectures with multi-process, single-threaded application servers, such as PHP and Apache, that cannot do middle-tier connection pooling. 62 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
  • Database Resident Connection Pooling  To enable database resident connection pooling: – Start the database resident connection pool EXECUTE DBMS_CONNECTION_POOL.START_POOL(); – Route the client connection requests to a database resident connection pool  Using Easy Connect string: dbserver.company.com:1521/sales_db:POOLED  Using TNS connect descriptor: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=dbserver.company.com) (PORT=1521))(CONNECT_DATA=(SERVICE_NAME=sales_db)(SERVER=POOLED))) 63 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
  • Database Resident Connection Pooling Comparison Dedicated Server Database Resident Connection Pooling When a client request is received, a new server process and a session are created for the client. 64 Shared Server When the first request is received from a client, the Dispatcher process places this request on a common queue. The request is picked up by an available shared server process. The Dispatcher process then manages the communication between the client and the shared server process. When the first request is received from a client, the Connection Broker picks an available pooled server and hands off the client connection to the pooled server. If no pooled servers are available, the Connection Broker creates one. If the pool has reached its maximum size, the client request is placed on the wait queue until a pooled server is available. Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
  • Database Resident Connection Pooling Comparison with others Dedicated Server Database Resident Connection Pooling Releasing database resources involves terminating the session and server process. Releasing database resources involves terminating the session. Releasing database resources involves releasing the pooled server to the pool. Memory requirement is proportional to the number of server processes and sessions. There is one server and one session for each client. Memory requirement is proportional to the sum of the shared servers and sessions. There is one session for each client. Memory requirement is proportional to the number of pooled servers and their sessions. There is one session for each pooled server. Session memory is allocated from the PGA 65 Shared Server Session memory is allocated from the SGA. Session memory is allocated from the PGA. Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
  • Database Resident Connection Pooling Example of Memory Usage  Consider an application in which the memory required     for each session is 400 KB for each server process is 4 MB. The pool size is 100 and the number of shared servers used is 100. If there are 5000 client connections, the memory used by each configuration is as follows: Dedicated Server Database Resident Connection Pooling Memory used = 5000 X (400 KB + 4 MB) = 22 GB Memory used = 5000 X 400 KB + 100 X 4 MB = 2.5 GB Memory used = 100 X (400 KB + 4 MB) + (5000 X 35KB) = 615 MB Out of the 2.5 GB, 2 GB is allocated from the SGA. 66 Shared Server The cost of each connection to the broker is approximately 35 KB. Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
  • Program Agenda  Oracle WebLogic Server and Oracle Database 12c  Database 12c: New Key Features For Business Applications  WebLogic 12c (12.1.2) Integration: Together We Stronger  Demo: Application Continuity  Summary - Q & A 67 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
  • Oracle WebLogic Server 12c Oracle Database 12c Integration 68 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Oracle Confidential
  • 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 WebLogic GridLink WebLogic WebLogic WebLogic WebLogic WebLogic GridLink GridLink GridLink GridLink GridLink XA 80% 20% RAC Node Load Aware Connection Requests 69 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. RAC Node Affinity For Transactions Continuous Connections Regardless of RAC Changes
  • Active GridLink For RAC - Configurability WebLogic Cluster WebLogic Cluster Old: Multi Data Source • Enables load balancing with XA on old RAC versions but…. • Data source (DS) per RAC node • Map DS to RAC nodes • Grouped DS into MDS • Configuration scaling issues New: GridLink Data Source • Leverages RAC technology • Single data source per cluster • SCAN address • Simpler • More scalable 70 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Managed Server 1 Managed Server 2 Managed Server 1 Managed Server 2 Machine 1 Machine 2 Machine 1 Machine 2 Multi Data Source Data Source 1 Single Data Source GridLink Data Source Data Source 2 Oracle Database Service RAC SCAN Multiple Data Sources Oracle Database Service Local Listener Local Listener Local Listener Local Listener ONS ONS ONS ONS RAC Node 1 RAC Node 2 RAC Node 1 RAC Node 2 Machine 1 Machine 2 RAC Cluster Machine 1 Machine 2 RAC Cluster
  • Active GridLink For RAC - Manageability • GridLink isolates WebLogic from RAC changes • Consider adding RAC node 1. Multi Data Source (MDS) • Undeploy MDS • Add data source 3 on all servers • Update MDS list • Redeploy MDS • Coordinate across servers 2. GridLink • Automatically detects RAC node • No WebLogic config changes • Simpler • More reliable, no downtime 71 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. WebLogic Cluster WebLogic Cluster Managed Server 1 Managed Server 2 Managed Server 1 Managed Server 2 Machine 1 Machine 2 Machine 1 Machine 2 Multi Data Source Data Data Data Source 1 Source 2 Source 3 GridLink Data Source No changes Oracle Database Service Listener Listener Listener ONS ONS RAC Node 1 Machine 1 RAC SCAN Oracle Database Service Configuration changes Listener Listener Listener ONS ONS ONS ONS RAC Node 2 RAC Node 3 RAC Node 1 RAC Node 2 RAC Node 3 Machine 2 Machine 3 Machine 1 Machine 2 Machine 3 RAC Cluster RAC Cluster
  • Active GridLink For RAC - Performance WebLogic Cluster • Runtime Connection Load Balancing (RCLB) • RAC workload aware • Avoid busy RAC nodes • Multiple apps, backups • Multi Data Source (MDS) • Round-robin load balancing • New connections to busy node • Bottlenecks, performance impact • GridLink • RCLB distributes runtime connections to least busy nodes • Up to 2-3x performance • More predictable performance 72 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. WebLogic Cluster Managed Server 1 Managed Server 2 Managed Server 1 Managed Server 2 Machine 1 Machine 2 Machine 1 Machine 2 Multi Data Source Data Data Data Source 1 Source 2 Source 3 Listener Listener Listener ONS ONS RAC Node 1 Machine 1 GridLink Data Source Uneven workload Balanced workload Listener Listener Listener ONS ONS ONS ONS RAC Node 2 RAC Node 3 RAC Node 1 RAC Node 2 RAC Node 3 Machine 2 Machine 3 BUSY Machine 1 Machine 2 Machine 3 BUSY RAC Cluster RAC Cluster
  • Active GridLink For RAC - Availability WebLogic Cluster • Fast Connection Failover • Faster failure detection and failover Managed Server 1 Managed Server 2 Managed Server 1 Managed Server 2 Machine 1 Machine 2 Machine 1 Machine 2 • Multi Data Source (MDS) • Periodic polling for node failure • Latency in failure detection • No awareness of planned shutdown • GridLink • Failure notification via ONS • New connections to surviving nodes (no WebLogic polling) • Recovery notifications • Graceful RAC node shutdown Multi Data Source Data Data Data Source 1 Source 2 Source 3 Available? Available? Listener Listener Listener ONS ONS ONS RAC Node 1 RAC Node 2 Machine 1 Machine 2 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Polling and delayed detection GridLink Data Source Node 3 Down Available? RAC Cluster 73 WebLogic Cluster Rapid notification via ONS Listener Listener Listener ONS ONS ONS RAC Node 3 RAC Node 1 RAC Node 2 RAC Node 3 Machine 3 DOWN Machine 1 Machine 2 Machine 3 Down RAC Cluster
  • Application Continuity – JDBC Replay Improved Resiliency for Better User Experience  Leverage feature supported in DB 12c WebLogic Cluster Managed Server 1 Managed Server 2 Machine 1 Machine 2 – Generic and GridLink datasources GridLink Data Source  DB exceptions captured at datasource layer – Examples: RAC node failure, transient DB 2. Create Connection to Surviving Node; Replay if safe 1. FAN Down Event: “Node 3 Down” problem  Automatically replay requests – Transparent to application – Read and write requests supported Listener Listener Listener ONS ONS ONS Machine 1 Machine 2 RAC RAC Node 1 Node 2 – No XA Transaction support  Benefit: Better end user experience 74 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. RAC Node 3 Machine 3 Down RAC Cluster
  • Application Continuity Notes How it Works in WebLogic  Active Gridlink and Generic datasources, 12c driver only  Leverages JDBC replay, re-implemented in 12c DB  Enabled with use of driver class – When connection is taken from pool, “begin” is called – JDBC calls are “remembered” through commit – When connection is put back in pool, “end” is called oracle.jdbc.replay.OracleDataSourceImpl  On failure, new connection is automatically created – Transparent to application! – Replay is already complete when connection is given to app Limitations :cannot use with XA, PLSQL, proxy authentication, DRCP 75 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
  • Database Resident Connection Pooling Virtualization of DB Connections for Improved System Scalability  Database Resident Connection Pooling WebLogic – Database connections/sessions are WebLogic pooled at the database – Enables better sharing of DB resources, DB and application scalability WebLogic WebLogic  WebLogic Integration with DRCP – Active GridLink and Generic Data Sources DRCP – Data sources pool connection placeholders and attach/detach connections internally 76 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 12c Database
  • Scaling Without DRCP Application servers hold connections, even if not in use. WebLogic WebLogic DB Sessions (fixed capacity) 12c Database WebLogic WebLogic DB Sessions (fixed capacity) 12c Database WebLogic WebLogic DB Sessions (fixed capacity) 12c Database Scaling at the middle tier can require additional scaling at the database tier 77 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
  • Scaling With DRCP WebLogic WebLogic WebLogic WebLogic WebLogic WebLogic WebLogic DRCP 12c Database 78 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. DRCP enables sharing of connections for more efficient use of resources
  • DRCP Integration Notes How it Works in WebLogic  DRCP must be enabled on the database  Generic and Gridlink datasources, requires 12c DB and driver  Enabled with a datasource connection property and URL WebLogic – DRCPConnectionClass – group/subgroup of connections – jdbc:oracle:thin:@//<host>:<port>/<servic e_name>[:POOLED]  Pooled connections in WebLogic are “unattached” – When connection is given to app, attachConnection() is called – When connection is returned to the pool, detachConnection() is called 79 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. DRCP 12c Database
  • WebLogic Integration with Pluggable Database Increased Density and Scalability, Multi-Tenancy • 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 80 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. WebLogic Cluster App 1 Get Connection Tenant1 App 1 App 2 App 2 Mgd Svr 1 Mgd Svr 2 Data Source Set Container PDB1 PDB1 Tenant 1 Set Container PDB2 PDB2 Tenant 2 Container Database … Get Connection Tenant2
  • WebLogic Integration with PDB 1 Datasource per PDB/Tenant Increased Density and Scalability at the Data Tier WebLogic Domain 1 WebLogic Domain 2  Pluggable databases appear as regular databases to WebLogic DS1 DS2 DS3 DS4 DS5 DS6  In WebLogic, configure a datasource per PDB/Tenant  Most benefits recognized at the data tier PDB 1 PDB 2 PDB 3 PDB 4 PDB 5 Container Database 81 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. PDB 6
  • WebLogic Integration with PDB Connection Switching Across PDBs Increased Density and Scalability, Support for Multi-tenancy  In WebLogic, configure a single data source to pool connections to all tenant database  Create a connection label callback WebLogic Domain 1 Application 1: getConnection(Tenant5) Connection Label Callback Handler setContainer() Datasource 1 1 1 2 2 2 5 4 4 handler to call setContainer on connections  Enables multi-tenancy at the middle and data tiers  Enables density and scalability at middle and data tiers – 82 Better resource utilization Copyright © 2013, Oracle and/or its affiliates. All rights reserved. PDB 1 PDB 2 PDB 3 PDB 4 PDB 5 Container Database PDB 6
  • WebLogic Integration with Global Data Services Improved Performance, Scalability, Availability for WebLogic and Database Cloud WebLogic Cluster • Global Data Services in Database 12c Managed Server 1 Machine 1 • 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 GridLink Data Source FAN Events • 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 Service2 under heavy load Service1 Service2 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Service1 Service2 GDS RAC Cluster RAC Cluster Region: MADRID 83 Managed Server 2 Machine 2 RAC DataGuard, Cluster GoldenGate RAC Cluster Region: BARCELONA
  • WebLogic Oracle DB features matrix WLS 10.3.6/12.1.1/12.1.2 Feature JDBC replay (read/write) Pluggable Database (PDB) Dynamic switching between PDBs Database Resident Connection pooling (DRCP) Oracle Notification Service (ONS) auto configuration Global Database Services (GDS) JDBC 4.1 (using ojdbc7.jar files & JDK 7) 84 WLS 10.3.6/12.1.1 with 11g with 11g drivers drivers with 12c DB with 11gR2 DB with 12c drivers with 11gR2 DB WLS 12.1.2 WLS 10.3.6/12.1.1 WLS 12.1.2 with 12c drivers with 11gR2 DB with 12c drivers with 12c DB with 12c drivers with 12c DB Yes; (RW with Active GridLink and Generic Data source, no XA) No No No No Yes ; (RW with Active GridLink only, no XA transactions) No Yes (Except Set Container) No No Yes Yes No No No No No Yes No No No Yes No Yes No No No No No Yes; (Active GridLink only) No Yes; (Active GridLink only) No No Yes; (Active GridLink only) Yes ; (Active GridLink only) No No Yes Yes Yes Yes Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
  • Application Continuity with WebLogic Server Integration Demonstration 85 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
  • Recap: Availability, Multi-Tenancy, Scalability Oracle WebLogic Server 12c, Oracle Database 12c WebLogic Server WEBLOGIC, DATABASE INTEGRATION  Integration with Oracle RAC  Application Continuity & Transaction Guard out of the box  Support for Multi-Tenant Database  Scalability with Connection Pooling  Support for Global Data Services 86 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Application Continuity MultiTenant Database Database Resident Connection Pool Global Data Services
  • Next steps…  White Papers – Maximize Availability with Oracle Database 12c – Oracle WebLogic Server Integration with Oracle Database 12c – Oracle WebLogic Server 12c Active GridLink for Oracle Real Application Clusters – Oracle WebLogic Server 12c on Microsoft Windows Azure – Oracle WebLogic Server Multi-Data Sources & Oracle RAC  Presentations – Maximum Application Availability with Oracle Database 12c  Demos – Application Continuity Standalone – Application Continuity with WebLogic Server Integration 87 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
  • Next steps…  Learn more on Oracle Learning Library – http://apex.oracle.com/pls/apex/f?p=44785:24:0::NO:24:P24_CONTENT_ID,P2 4_PREV_PAGE:8429,29  Blogs – https://blogs.oracle.com/WebLogicServer – https://blogs.oracle.com/databaseinsider/entry/oracle_database_12c  Podcasts – https://blogs.oracle.com/WebLogicServer/entry/part_i_weblogic_database_inte gration – https://blogs.oracle.com/WebLogicServer/entry/part_ii_weblogic_database_inte gration 88 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
  • Adopt & Implement the latest by Oracle JOIN US blogs.oracle.com/imc twitter.com/oracleimc youtube.com/OracleIMCTeam facebook.com/oracleimc CONTACT US Partner.IMC@beehiveonline.oracle.com ORACLE.COM/PARTNERS/GOTO/HUB-ECEMEA 89 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
  • 90 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
  • 91 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
  • “This slide format serves to call attention to a quote from a prominent customer, executive, or thought leader in regards to a particular topic.” Name Title, Company Name CUSTOMER LOGO blogs.oracle.com/imc twitter.com/oracleimc youtube.com/OracleIMCTeam facebook.com/OracleIMC 92 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.