<Insert Picture Here>
Umocnite výkon vašich SAP aplikácii využitím nových čŕt Oracle DB 11g
Iveta Šťavinová
Technology Sales Consultant
October, 20, 2011
2
Agenda
• Úvod
• Novinky pre SAP
• Technologicky pohľad
– RAC
– RAT
– DG
– Kompresia
– Bezpečnosť
– Management
• SAP na Exadata
3
<Insert Picture Here>
Úvod
4
Oracle/SAP Relationship Overview
1988
2010
1992
1998
Start of SAP R/3 development (on Oracle DB)
First SAP R/3 release
(on Oracle DB)
First SAP BW release
(on Oracle DB)
2006
2007
2009
2003
1999
2005
2008 Oracle. SAP sign Reseller
& Support Agreements
Reseller & Support
Agreements extended
Reseller & Support
Agreements extended
Oracle DB 11g Rel.2 ▪ OLTP Table Compression ▪ Secure Files Compression ▪ Deferred Segment Creation
▪ Online Patching ▪ Advanced Encryption
▪ Real ApplicationTesting ▪ Direct NFS
▪ Snapshot Standby Database ▪ Interval Partitioning,
Subpartitioning ▪ Oracle Cloud File System
(Jan 2011)
More Oracle DB 10g features: ▪ Index Key
Compression ▪ Advanced Security
(Encryption) ▪ MOPatch
▪ Database Vault ▪ Partitioning Engine
for SAP ERP
Oracle DB 9i ▪ Automatic Memory
Management ▪ Table Com-
pression (Batch) ▪ Online Table
Reorganization ▪ Real Application Clusters (RAC)
Oracle DB 10g ▪ Database
▪ Table/Index Partitioning
for SAP ERP (Service)
▪ RAC
2015
Oracle
acquires Sun
2011
Oracle Linux (April 2011)
Oracle Exadata (June 2011)
Oracle Exalogic (Aug. 2011)
Copyright © 2011 Oracle Corporation (Dec 10- Mar 14) 4
IBM DB2
15,0%
Oracle
60,0%
SQL Server
20%
Other
5%
5
WW Oracle DB for SAP Organization
located at SAP HQ in Walldorf, Germany
• Single point of contact for DB Technology transfer between SAP development organizations and Oracle database engineering
• Optimization of SAP products for Oracle technology
• Implementation, test and integration of new Oracle DB products, technology and features for SAP Products
• Worldwide customer & pilot support (Locations: Walldorf, Palo Alto, Tokyo)
• SAP is Oracle’s largest DB reseller
• Multi year Oracle Database for SAP agreement in place
6
Oracle Expertise in the SAP environment The Solution Center SAP Support and
Service offers SAP customers the following services:
• Advanced Customer Services (ACS)
• Performance Analysis and Tuning
• Development of concepts for Backup/Restore/Recovery, and High
Availability, Administration
• Security concepts
• Optimizing of ABAP/4 programs (performance improvement)
• Migration service for customers, who want to use Oracle as the
database for SAP applications (from Informix, MaxDB, DB2, or SQL
Server to Oracle).
• Migration services from “Oracle to Oracle” (e.g. Tru64 to HP_UX)
• Integration Products and Services
• Oracle Database: The Database of Choice for Deploying SAP
Solutions
7
Oracle DB for SAP Technology Update
• Published every year
– last in May 2011
• Provides information on – New Oracle Database features for
SAP customers
– Customer success stories
– Service Partner News
– Events & contacts
• Online available at http://www.oracle.com/sap
• To subscribe, please email:
8
<Insert Picture Here>
Novinky roka 2011 pre SAP
9
Oracle ASM a ACFS for SAP Certification announced February 02, 2011
Copyright © 2011 Oracle Corporation 9
10
Linux for SAP Certification announced April 04, 2011
Copyright © 2011 Oracle Corporation 10
11
Exadata for SAP Certification announced June 10, 2011
Copyright © 2011 Oracle Corporation 11
12
Exalogic for SAP Certification announced Aug 16, 2011
Copyright © 2011 Oracle Corporation 12
13 13
• Advanced Compression (Database Option) SAP Note 1436352,
Index Compression - SAP Note 1464156
• Online Patching
• Advanced Security
• SecureFiles - SAP Note 1426979, LOB Conversions - SAP Note 1431296
• Real Application Testing (Database Option) - SAP Note 1426980
• Direct NFS
• Snapshot (updatable) Standby Database
• Additional features for SAP – Interval Partitioning (SAP Note 0742243) – Dictionary only add column not null default – Segment creation on demand – Rename user / schema – Non blocking online index creation and rebuild – JDBC LOB Pre-Fetching
Oracle Database 11g R2 Features Immediate Availability
14
Performance Oracle Sets several World Record Results on SAP®
• SAP SD (13.09.2011)
http://www.oracle.com/us/corporate/press/487558?rssid=rss_ocom_pr
• Parallel SAP SD (28.06.2011)
http://www.oracle.com/us/corporate/press/102364
• ATO (02.09.2011)
http://www.oracle.com/us/corporate/press/484672
• SAP BW (01.06.2011)
http://www.oracle.com/us/corporate/press/077158
15
<Insert Picture Here>
Technologický pohľad
16
<Insert Picture Here>
RAC
17
Real Application Clusters for SAP
18
One of Oracle’s main differentiators vs. other DB’s
for SAP customers:
Oracle Real Application Clusters (RAC)
• Removes database Server as Single Point of Failure
• All RAC nodes are active and serve production workload
• Enables a flexible way to scale applications using a simple scale-out model
• Servers can be added easily and dynamically without taking any of the active users offline
• Database is online as long as at least one node is still running
• Transparent and availabe for all kind (ABAP/JAVA) of SAP Applications
• Integrated clusterware and interoperated with HP Serviceguard Cluster
19
<Insert Picture Here>
RAT
20
RAT for SAP
21
… …
Client Client
… Client
Capture DB Workload
Real Application Testing with
Database Replay
• Recreate actual production database workload in test environment
• Capture (10.2.0.4,5) workload in production including critical concurrency
• Replay workload in test with production timing
• Analyze & fix issues before production
Middle Tier
Storage
Oracle DB
Replay DB Workload
Production Test
Test migration to RAC
22
… …
Client Client
… Client
Capture SQL
• Test impact of change on SQL query performance
• Capture SQL workload in production including statistics & bind variables
• Re-execute SQL queries in test environment
• Tune regressed SQL and seed SQL plans for production
Middle Tier
Storage
Oracle DB
Re-execute SQL Queries
Production Test
Use SQL Tuning Advisor to tune
regression
Real Application Testing with
SQL Performance Analyzer (SPA)
23
Real Application Testing
Benefits
• With RAT customers can capture and replay real
workloads, not synthetic or artifical loads.
• RAT provides 100% code coverage. It can replay 100%
of the orginal workload.
• Requires similar effort for small and large
captures/replays.
• Allows to proactively detect problems and to find
solutions in a testing environment before changes in the
production enviroment are made. E.g. during upgrades
or after applying patches.
• Reduces costs for testing significantly
24
Real Application Testing
Benefits
• RAT works with Single Instance and Real Application
Clusters (RAC)
• Workload can be captured in Oracle 10gR2 (10.2.0.4)
and replayed in Oracle 11gR2.
• Workload replay does not need to be done on the
same OS platform.
• Capturing adds only very low additional workload on
the system that is being captured (<5%)
25
<Insert Picture Here>
DG
26
Data Guard for SAP
27
Data Guard Redo Apply
Physical Standby Database is a block-for-block copy of the primary database
Uses the database recovery functionality to apply changes
While apply is active can be opened in read-only mode for reporting/queries*
Can also be used for fast* backups, further offloading the production database
Primary Database
Physical Standby Database
Redo Shipment
Network
Redo Apply
DIGITAL DATA STORAGE
Backup
Standby Redo Logs
Data Guard Broker
Open Read-Only
* Requires additional license for Oracle Active Data Guard
28
Data Guard for SAP
• You can use "Physical Standby"
• You cannot use "Logical Standby"
• You can use Data Guard Broker
• You can use
– Maximum Performance Mode
– Maximum Availability Mode
– Maximum Protection Mode
29
• Use Standby Database for testing
and development
– Eliminates cost of DR
– Justify full scale test and DR
environments by combining into one
• Preserves zero data loss while in
test/dev mode
– But no real time query or fast failover
• Similar to storage snapshots, but:
– Provides DR at the same time
– Single copy of storage
Physical Standby Apply Logs
Snapshot Standby Perform Testing
Open Database
Back out Changes
Continuous Redo Shipping
Snapshot Standby
Test with Production Data Before Deployment
30
<Insert Picture Here>
Kompresia
31
Storage Efficiency: Technology Stack
• Most efficient storage of data
– Number values
– Bitmap Index
• Most comprehensive set of
compression options
• Combination with other Data-
base Options (Partitioning)
increases advantages
• Easy administration
(e.g. reduction of reorga-
nizations required)
Advanced Compression (Oracle 11g)
Partitioning + Compression (Oracle 10g)
Index Key Compression (Oracle 10g)
Data Compression (Oracle 10g)
Efficient Data Storage
• Deffered Tables
32 32
• Advanced Compression
– OLTP Table Compression (on data block level)
– RMAN Backup Compression – Unique to Oracle
– Expdp Compression
– Data Guard Network Compression – Unique to Oracle
– SecureFile Compression for in-line and out-of-line LOB data
• Unique to Oracle for out-of-line LOBs (DB2 can only do in-line
compression).
• Out-of-line LOBs are more used than in-line LOB data in SAP
products such as
– SAP CRM
– SAP XI
– SAP Portal
– SAP R/3 (almost all non-cluster tables use out-of-line LOBs
Oracle Database 11g R2 Advanced Compression
• index, table, SAP ver 7.0: install option for LOBs
33
OLTP Compression
Overhead
Free Space
Uncompressed
Compressed
Insert
not compressed after PCTFREE data block compression starts
after PCTFREE compression starts
Inserts still not compressed
• Adaptive and continual compression
• Compression runs automatically after PCTFREE reached
• Compression eliminates holes after DELETE operations and maximize data block utilization
• SAP kernel 6.4, new install 7.0
34
Advanced Compression Option for SAP
35
Advanced Compression Option for SAP min SAP Kernel 6.4
36
Advanced Compression Option Performance
37 37
1. Start with Index compression for the n largest tables
(100<n<500)
2. Migrate all SAP transparent tables (except queue type
tables like VB or RFC tables) to oltp compressed tables
3. Migrate all LOBs of SAP tables (except cluster, pool and
INDX tables) to compressed securefiles
• CREATE TABLE COEP (...) COMPRESS FOR OLTP;
• ALTER TABLE COEP (...) COMPRESS FOR OLTP;
• CREATE TABLE DYNPSOURCE (...) LOB (FIELDINFO) STORE
AS SECUREFILE (COMPRESS MEDIUM);
How to implement advanced compression for SAP
38
<Insert Picture Here>
Bezpečnosť
39
Security for SAP
SAP Note Oracle feature DB version Available from
973450 ASO – Network
Encryption
All DB ver. 2008
974876 ASO – TDE All DB ver. March 2011
1324684 ASO – Backup
Encryption
All DB ver. March 2010
1355140 Database Vault All DB ver. January 2011
1502374 DB Vault policy
scripts
Oracle DB 11g January 2011
40
• Advanced Securtity
– Column Encryption (10g) through TDE
– Client-Server (SAP App Server to Database) Network Encryption
– Tablespace Encryption (11g)
– DG Secure Network Transport
– RMAN Backup Encryption
– Expdp Encryption
– SecureFile (unstructured LOB data) encryption
encryption procedures of Oracle such as the use of procedures of the PL/SQL
package DBMS_CRYPTO or DBMS_OBFUSCATION_TOOLKIT are not
supported by SAP
Examp.: ALTER TABLE <table_name> MODIFY (<column name> ENCRYPT
'NOMAC');
Advanced Security
NOMAC - skip the integrity check performed by TDE
41
Database Vault certified for SAP
BRTDBA
42
<Insert Picture Here>
Management
43
Intelligent DB Self-Management
Integrated in SAP DBA Cockpit & SAP BR*Tools
• Automatic Workload Repository (AWR)
– automatically collects and maintains SQL execution statistics
– integrated with SAP DBA Cockpit
• Active Session History (ASH)
– automatically captures and analyzes wait-time statistics
• Automatic Performance Diagnosis (ADDM)
– self-diagnostic engine built into the Oracle Database
– automatically and proactively identifies problems
– notifies DBA with corrective advice
• Automatic SQL Tuning
– tunes SQL without touching application code
Diag.pck required from SAP kernel 7.1; SAP Notes 105047, 1080813, 853576
44
Why is the Oracle Database
the best for SAP
Best Performance & Scalability
Best Deployment
Flexibility
Best Availability & Reliability
Best Support for
Very Large DBs
Best Database Security
Best Manageability
& Self-Management
• Database market share for Enterprise applications
• Oracle – SAP Technology Relationship
• Waldorf competence center
• Direct knowledge transfer and support
• Reliable platform, comprehensive technology portfolio • ASO
• Compression
• RAT, RAC, Data Guard
• Partitioning
• ASO, Database Vault
• Management Packs
45
<Insert Picture Here>
Exa - riešenie
46
SAP on Oracle Database architecture
Two Tier with RAC Three Tier with RAC
Copyright © 2011 Oracle Corporation 46
47
SAP Applications with Oracle Exadata Database
Machine
SAP Instances
SAP ECC 6.0
SAP BW 7.x
SAP BW 7.x
Presentation Application Database
SAP Instances
SAP Instances
Copyright © 2011 Oracle Corporation 47
48
SAP Applications on Exalogic with Oracle Exadata
Database Machine
SAP ECC 6.0
SAP BW 7.x
SAP BW 7.x
Presentation Application on Database on
Exalogic Exadata
SAP Instances
SAP Instances
SAP Instances
Copyright © 2011 Oracle Corporation 48
49
Oracle Exalogic and Exadata Together Fastest, Easiest Path to Unbeatable Application Performance
Java EE
App.
SAP ERP App.
SOA
SAP BW App.
IDM
E20
Custom App.
Data Mart
SAP BW Data
SAP ERP Data
SOA Dehydration
Data Ware- house
InfiniBand
Exalogic Exadata
• Exclusive to Exalogic
• Maximum performance,
security
• Easy to deploy and manage
• SQLNet over InfiniBand
Application Tier Database Tier
Copyright © 2011 Oracle Corporation 49
50
Best and Fastest SAP Availability
Backup
• Super Fast Tape or Disk Backup
• Incremental backup is 10x faster
• Compressed data another 3x
• RAC protects against node failures
• Data Guard protects against Data
failures and Disasters
• ASM protects against storage failures
• Flashback protects against user errors
Data Guard
StorageTek
Tape
7 TB/hour Tape Backup
17 TB/hour Disk Backup
Fast, Simple, Remote Standby
RAC
Copyright © 2011 Oracle Corporation 50
51
Prerequisites - SAP (I)
• SAP Technologies – SAP NetWeaver 7.x (x>=0) and products, industry specific
solutions including enhancement packages based on this NetWeaver stack
• Examples:
– SAP ERP (ECC) 6.0
– SAP BW 7.x
– SAP CRM 2005 / 2007 / 7.x
– SAP PLM 6.0 / 7.0x
– SAP SRM 2005 / 2007 / 7.x
– SAP SCM 2005 / 2007 / 7.x
– SAP Oil&Gas 2005 / 6.x
– SAP Banking Services 5.0 / 6.0 / 7.0 / 8.0
Copyright © 2011 Oracle Corporation 51
52
Prerequisites – SAP (II)
• SAP Deployments
– Only 3-Tier installations
• SAP Instances cannot run on database nodes
– SAP Central Services may run on database nodes
• SAP Instances must run on separate server(s)
• Exalogic with Oracle Linux or any combination of
hardware/operating systems for SAP Instances and
Exadata (Linux/Solaris) allowed
– As of today only migrations of existing SAP databases
– Fresh installs of SAP with Exadata (will be added in
Q4CY2011 once SAPInst supports new installs using ASM)
– BR*TOOLS will run on database nodes through special
deployment methods
Copyright © 2011 Oracle Corporation 52
53
Prerequisites – Oracle (III)
• Oracle Exadata Database Machine X2-2 or X2-8
• Oracle GI, RDBMS and Exadata Storage Software
– Oracle Grid Infrastructure 11.2.0.2
– Oracle RDBMS 11.2.0.2
• Oracle Exadata Database Bundle Patch 6 (BP6)
• SAP Database Bundle Patch (August 10th) for Exadata
– Oracle Exadata Storage Software 11.2.2.3.2
• Database / Compute Node Operating Systems
– Oracle Linux 5 Update 5 (both kernels)
– Oracle Solaris 11 Express
Note: All version numbers are minimum versions required for SAP on Exadata
Copyright © 2011 Oracle Corporation 53
54
Unicode and non-Unicode SAP with Exadata
• Unicode SAP
– SAP Central Services can run on Exadata database nodes
– Oracle Linux on Oracle Exalogic X2-2
– Oracle Linux or Oracle Solaris on x86_64 platforms and any
certified combination of hardware/operating systems for SAP
Instances
• Non-Unicode SAP
– Consult Platform Availability Matrix (PAM) of SAP
(http://service.sap.com/PAM) for valid operating system
support for non-Unicode SAP products
– Only Oracle Linux can be used on Exadata database nodes
Copyright © 2011 Oracle Corporation 54
55
56