SAP on Oracle: Development Update February Dr. Christian Graf Development Manager DB Platforms Oracle & Informix OS Platforms Solaris SAP AG

Size: px
Start display at page:

Download "SAP on Oracle: Development Update February Dr. Christian Graf Development Manager DB Platforms Oracle & Informix OS Platforms Solaris SAP AG"

Transcription

1 SAP on Oracle: Development Update February 2011 Dr. Christian Graf Development Manager DB Platforms Oracle & Informix OS Platforms Solaris SAP AG

2 Agenda Oracle New SAP/Oracle Patch Concept Oracle 11g SAP DBA Tools SAP 2010, Development Update SAP on Oracle, Page 2

3 Agenda Oracle New SAP/Oracle Patch Concept Oracle 11g SAP DBA Tools SAP 2010, Development Update SAP on Oracle, Page 3

4 SAP on Oracle 10g: Supported Releases Patchset is supported on ALL OS platforms Additional necessary patches on top of will be released monthly (at every 10 th of each month) through special SAP Patch Bundle All PSUs from PSU 4 on are available Patchset was released on Nov 10 th for major OS platforms Nov 10 th SAP Patch Bundle includes first PSU of ( ) Planned 2011: HPUX PA-RISC (March), Linux & Windows Itanium Oracle 10.2 adoption rate: ~ 90 % of SAP/Oracle customers are on 10g SAP 2010, Development Update SAP on Oracle, Page 4

5 Oracle Announcement 10g support In May 2009 Oracle announced that Extended Support fees for Oracle version 10.2 are waived for first year No extra charged support for Oracle 10.2 until July 2011 Extended Support will be available for version only until mid 2013 Grace Period: receives support until end of April 2011 For details see SAP Note Specific Oracle 10.2 Extended Support note is in preparation Conditions will be similar to Oracle 9.2 Extended Support (see SAP note ) SAP 2010, Development Update SAP on Oracle, Page 5

6 Agenda Oracle New SAP/Oracle Patch Concept Oracle 11g SAP DBA Tools SAP 2010, Development Update SAP on Oracle, Page 6

7 New Oracle Patch Concept: Patch Set Updates (PSUs) This only affects Unix/Linux-platforms! Windows platforms are not affected. Starting with Oracle patchset Oracle provides socalled Patch Set Updates (PSU) A PSU is a collection of important fixes encountered by Oracle customers Oracle releases a new PSU every three months The PSUs will contain the Critical Patch Updates (CPU) (Oracle CPU concept will vanish) PSUs must be applied on top of an already installed Patch Set SAP 2010, Development Update SAP on Oracle, Page 7

8 New SAP/Oracle Patch Concept: SAP Patch Bundles & Patch Set Updates (PSUs) Oracle database patches for Unix-platforms are now delivered in form of socalled SAP Bundle Patches (SBP) Initial Oracle versions: & A SBP consists of: Current Patch Set Update (PSU) SAP specific necessary Single- and Merge-Patches which are not contained in the PSU Current SAP specific Optimizer-Merge-Patch README.html: installation manual for SBP bugs_fixed.html: list of patches contained in SBP SBPs are cumulative. The next SBP will contain all previous patches and the new patches in addition. Notation of SBPs: SAP_<Oracle-version>_<YYYYMM>_<plattform>.zip Example: SAP_102044_201004_AIX.zip For the installation you'll need MOPatch Version or higher For more details please see SAP note SAP 2010, Development Update SAP on Oracle, Page 8

9 Agenda Oracle New SAP/Oracle Patch Concept Oracle 11g SAP DBA Tools SAP 2010, Development Update SAP on Oracle, Page 9

10 11g Rollout Schedule 11g SAP only certifies Oracle Database 11g Release 2 Only SAP products based on 6.40_EX2 kernel and later get certified with support only for SAP products which are in SAP Extended Maintenance at least until the end of 2010 SAP 11.2 certification and Rollout happens in three OS waves (due to availability from Oracle) SAP 11.2 certification happens in three stages: Stage1: Runtime certification Allows 11.2 database upgrade of existing SAP systems Stage 2: SAP Upgrade and Enhancement Package Update certification Allows SAP Upgrades and Enhancment Package Updates of Oracle 11.2 based SAP systems Stage 3: Support for Oracle 11.2 based direct SAP installations (incl. Unicode Migration) Allows direct SAP system installations with Oracle 11.2

11 11g Rollout Schedule 11g First wave was released on March 31 st 2010 Major UNIX platforms (AIX, HP-UX IA64, Solaris SPARC & x64) and Linux x64 As of today runtime certification and upgrade certification (Stage 1 & 2) Stage 3: Released for NW 6.40, 7.00, 7.01 based products & PI, MI, Banking 7.10/11/20, CE 7.20 Second wave was released on June 9th Covers Windows x86/x64 and HP-UX PA RISC. As of today runtime certification and upgrade certification (Stage 1 & 2) Stage 3: Released for NW 6.40, 7.00, 7.01 based products & PI, MI, Banking 7.10/11/20, CE 7.20 Third wave will cover remaining OS platforms (planned for 2011) Windows IA64 Linux on Power: Oracle has not yet decided about support Status TBD Linux IA64: Desupported by Oracle. Last Oracle version will be For current status please see SAP note SAP 2010, Development Update SAP on Oracle, Page 11

12 11.2 Patchset/PSU Schedule by SAP 11g PSU 1 of ( ) released through June 10th SAP Patch Bundle PSU 2 of ( ) released through September 10th SAP Patch Bundle (first 11.2 patchset) was (pilot) released on November 10th via SAP Patch Bundle General Availability since mid January 2011 All OS platforms except Windows IA64 New SAP projects should start with only SAP 2010, Development Update SAP on Oracle, Page 12

13 11g News for SAP Oracle Feature Availability (with 11.2 SAP GA) Space (I) Advanced Compression OLTP compression Securefile compression RMAN Backup compression Data Guard Network compression Data Pump Export compression License for ACO required SAP ASFU license includes ACO Index Compression Already supported by SAP (since version 10g) No additional license required SAP 2010, Development Update SAP on Oracle, Page 13

14 11g News for SAP Oracle Feature Availability (with 11.2 SAP GA) Space (II) Dictionary-Only Add Column Very common operation within SAP BW application and SAP Upgrades Factor performance improvement for SAP BW during add column processes Saves large amount of disk space Deferred Segment Creation Empty database objects will not consume any disk space Very important for SAP environments as 60-70% of all tables, lobs, indexes and partitions in an SAP installation are empty Saves disk space Improves query response times on space objects in Oracle Data Dictionary Makes database install part for SAP a lot faster - Creation of empty tables, lobs, indexes and partitions are dramatically faster SAP 2010 Development Update SAP on Oracle, Page 14

15 11g News for SAP Oracle Feature Availability (with 11.2 SAP GA) Space (III) Overview space savings with ACO on customer production databases Without Compression With compression and other space optimizations FACTOR Space Savings Database (fully reorganized) ECC 6.0 4,782 GB 1,976 GB 2.4 BI 7.0 1,413 GB 543 GB 2.6 CRM 7.0 RMAN Backup (for compressed database) 950 GB 334 GB 2.8 2,817 GB 667 GB 4.2 Export Data Pump 973 GB 156 GB 6.2 SAP 2010, Development Update SAP on Oracle, Page 15

16 11g News for SAP Oracle Feature Availability (with 11.2 SAP GA) Space (IV) Performance Impact when using ACO on production database - Measured through Capture Replay Functionality of Real Application Testing Option production workload was captured for more than 2 days - No impact on production database during capture Results: - Factor 2.2 Space Savings - 60% less physical reads - 5% less physical writes - 10% better database cache hit rate - 30% higher redo rate - No overhead in CPU consumption SAP 2010, Development Update SAP on Oracle, Page 16

17 11g News for SAP Oracle Feature Availability (with 11.2 SAP GA) Space (V) Implementation Guidelines for Compression Technologies in SAP Environments 1. Start with Index Compression - Improves R/3 Performance the most as all database access in R/3 environments is index based, especially index range scans - Up to 20% disk space reduction for complete database 2. Implement OLTP Table Compression - No real query performance benefit in R/3 environments - Provides very good disk space savings 3. Implement SecureFiles Compression - Very important for SAP Applications like CRM or XI who store large (uncompressed) amount of data in LOBs. 4. RMAN Backup Compression - Additional disk space savings (even if database tables and indexes are already compressed) SAP 2010, Development Update SAP on Oracle, Page 17

18 11g News for SAP Oracle Feature Availability (with 11.2 SAP GA) Performance (I) Securefiles Significantly faster access times compared to LOBs in SAP environments Increased transaction throughput on SAP cluster tables especially with RAC Prerequisite for compression of SAP tables containing LOBs SAP VBDATA Throughput (Insert/Read/Delete) Performance Improvement Factor 2,5 2 1,5 1 0, row size in KB LONGs (9.2,10.2) LOBs (10.2,11.2) Securefiles 11.2 SAP 2010, Development Update SAP on Oracle, Page 18

19 11g News for SAP Oracle Feature Availability (with 11.2 SAP GA) Performance (II) DirectNFS Increases database throughput up to 50% in NAS environments with multiple NICs NAS Storage such as NetApp have become very popular in SAP environments due to high flexibility, ease-of-use and NFS Very common in Linux environments. Ideal for Linux/RAC. SAP and Oracle use NetApp for most development and operational systems Up to 20% CPU savings on database server due to integrated NFS client in Oracle kernel Superior to any bonding solution Faster and Easier Better troughput than most SAN solutions Highly available. Multiple network cards can be used between database server and NAS SAP 2010, Development Update SAP on Oracle, Page 19

20 11g News for SAP Oracle Feature Availability (with 11.2 SAP GA) Security Database Vault 11.2 (separate license required) Encryption Tablespace Encryption Securefile Encryption RMAN Backup Encryption Expdp Encryption Data Guard Secure Redo Transport All encryption functionality requires license for Advanced Security Option ASO license is included in SAP ASFU license scope SAP 2010, Development Update SAP on Oracle, Page 20

21 Oracle RAC 11.2 New RAC 11.2 for SAP White Paper available on SDN New SAPCTL Version 5.2 available to manage and control SAP critical resources through Oracle Clusterware Old SAPCTL versions 4.x will not work with Oracle Clusterware 11.2 RAC 11.2 available on all UNIX and Linux platforms (for all SAP 6.40_EX2 kernels and up) Supports the option to put OCR and voting disks on ASM New RAC 11.2 installations only Upgrades from RAC 10.2 must still use shared filesystems for OCR and voting disks Oracle Clusterware 11.2 now installed locally per node Same supported technology stacks defined in SAP Note stay in place Cluster Filesystem or NAS NFS Shared Oracle_Homes Database (data, control, redo, undo, archive, flashback) /sapmnt OCR and voting disks (upgrades from RAC 10.2 or not using ASM) Same versions for Clusterware and RDBMS software Different and improved network configuration required for Clusterware 11.2 SAP 2010, Development Update SAP on Oracle, Page 21

22 11g : Oracle ASM support for SAP ASM & ACFS is supported for Unix/Linux OS platforms with Oracle version ff since CW5/2011 Windows support planned during Q2/2011 ASM & ACFS support is provided for SAP releases that are supported with Oracle version or higher (SAP Kernel 6.40 or higher) Oracle Grid release or higher required Single Instance and RAC support ACFS required for RAC installations with ASM (not available on HPUX) BR*Tools support is not yet complete Minimum BR*Tools 7.20 PL 12 required (see SAP note ) Backup/Restore support planned until end Q1/2011 brspace support planned during Q2/2011 Direct SAP installation support with ASM is not yet available. An Oracle tools based migration of an existing system to ASM is required. For more details (White Papers, etc.) please see SAP note SAP 2010, Development Update SAP on Oracle, Page 22

23 11g Plans Feature/Product Availability planned for 2011 Oracle Exadata X2 / Database Machine support planned for mid 2011 Linux x64 & Solaris For Linux Oracle Linux (OL) mandatory for Exadata X2 Oracle ff required SAP 2010, Development Update SAP on Oracle, Page 23

24 Agenda Oracle New SAP/Oracle Patch Concept Oracle 11g SAP DBA Tools SAP 2010, Development Update SAP on Oracle, Page 24

25 Partitioning Tools for SAP/Oracle non-bi systems Motivation Archiving of historical application data in SAP systems is a big challenge: Archiving is a continuous process and generates significant system load Archiving increases index and table fragmentation; reorganization of indexes and/or tables is a time- and resource-critical process Range partitioning can be used to separate historical and current production data in order to minimize the above impacts Problem: Application tables usually do not have a direct time dependent column in the primary key An alternative is to use an indirect time related column like document number, which exists in large application tables and is usually part of the primary key Defining suitable ranges based on document number is difficult Transformation of an unpartitioned table into a partitioned one can be done online with Oracle Table Redefinition package, but this is not a simple admin task SAP 2010, Development Update SAP on Oracle, Page 25

26 SAP Partitioning Engine (in a nutshell) Full Integration of Range Partitioning into SAP OLTP products (e.g. ERP) Partitioning Engine offers a predefined set of around 30 application tables to be partitioned based on time based criteria Existing non-partitioned tables will be converted through ABAP/SAP BR*Tools task Partition Maintenance is fully automated through internal SAP SM37 job (no need for DBA intervention) Prerequisites SAP systems based on 6.20 WebAS release and higher. Examples: SAP ECC 5.0, ECC 6.0, Business Suite 7 Requires minimum ABAP Basis Support Package (SP) level: 6.20 SP67, 6.40 SP25, 7.00 SP21, 7.01 SP 06, 7.10 SP 09, 7.11 SP04 BR*Tools 7.10 Patch 24 and higher Oracle and higher General SAP support of Partitioning Engine started with availability of above mentioned Support Packages Entry point for interested customers: SAP Note SAP 2010 Development Update SAP on Oracle, Page 26

27 New Oracle 11g Features supported by BR*Tools 7.20 (1) Online conversion to new SecureFile Lobs Implemented as new action lob2lob within BRSPACE reorganization Lob compression can be activated with the same action Can be done only online (by redefinition), not offline (by move/alter) Support for the new table compression FOR OLTP The feature can be activated during table reorganization by BRSPACE Table and Lob compression can be enabled at the same time Support for the new features of Oracle 11g Data Pump Complete compression of the data in export dump files Complete encryption of the data in export dump files Export of individual tables from different schemas Tablespace compression and encryption Allows to set compression and encryption attributes at tablespace level SAP 2008, Development Update SAP on Oracle, Page 27

28 New Oracle 11g Features supported by BR*Tools 7.20 (2) New features in the area of data encryption (TDE) Changing the Wallet password using orapki utility Opening the Oracle Wallet in the database mount status Password protection for closing the Oracle Wallet Improvement in database reset/pit recovery using flashback Increases the reliability of the determination of archivelog files needed Cleaning up new Oracle 11g trace files in diagnostic directories Based on new Oracle 11g parameter diagnostic_dest Aware of new Oracle 11g trace file types, e.g. incident files For more info see: SAP note BR*Tools support for Oracle 11g SAP note LOB conversion and table compression with BRSPACE 7.20 SAP note Corrections in BR*Tools Version 7.20 SAP 2008, Development Update SAP on Oracle, Page 28

29 SAP on Oracle live in SDN SAP on Oracle forum: -> Database & OS Platforms -> SAP on Oracle SAP on Oracle content page: -> SAP on Oracle SAP 2010, Development Update SAP on Oracle, Page 29

30 SDN Homepage: SAP 2009, Development Update SAP on Oracle, Page 30

31 SAP on Oracle: Twitter and Facebook Twitter: Facebook: SAP 2011, Development Update SAP on Oracle, Page 31

32 Thank you! Thank you very much for your attention! SAP 2010, Development Update SAP on Oracle, Page 32

33 Copyright 2010 SAP AG All rights reserved No part of this publication may be reproduced or transmitted in any form or for any purpose without the express permission of SAP AG. The information contained herein may be changed without prior notice. Some software products marketed by SAP AG and its distributors contain proprietary software components of other software vendors. SAP, R/3, mysap, mysap.com, xapps, xapp, SAP NetWeaver, Duet, Business ByDesign, ByDesign, PartnerEdge and other SAP products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of SAP AG in Germany and in several other countries all over the world. All other product and service names mentioned and associated logos displayed are the trademarks of their respective companies. Data contained in this document serves informational purposes only. National product specifications may vary. The information in this document is proprietary to SAP. This document is a preliminary version and not subject to your license agreement or any other agreement with SAP. This document contains only intended strategies, developments, and functionalities of the SAP product and is not intended to be binding upon SAP to any particular course of business, product strategy, and/or development. SAP assumes no responsibility for errors or omissions in this document. SAP does not warrant the accuracy or completeness of the information, text, graphics, links, or other items contained within this material. This document is provided without a warranty of any kind, either express or implied, including but not limited to the implied warranties of merchantability, fitness for a particular purpose, or non-infringement. SAP shall have no liability for damages of any kind including without limitation direct, special, indirect, or consequential damages that may result from the use of these materials. This limitation shall not apply in cases of intent or gross negligence. The statutory liability for personal injury and defective products is not affected. SAP has no control over the information that you may access through the use of hot links contained in these materials and does not endorse your use of third-party Web pages nor provide any warranty whatsoever relating to third-party Web pages Weitergabe und Vervielfältigung dieser Publikation oder von Teilen daraus sind, zu welchem Zweck und in welcher Form auch immer, ohne die ausdrückliche schriftliche Genehmigung durch SAP AG nicht gestattet. In dieser Publikation enthaltene Informationen können ohne vorherige Ankündigung geändert werden. Einige von der SAP AG und deren Vertriebspartnern vertriebene Softwareprodukte können Softwarekomponenten umfassen, die Eigentum anderer Softwarehersteller sind. SAP, R/3, mysap, mysap.com, xapps, xapp, SAP NetWeaver, Duet, Business ByDesign, ByDesign, PartnerEdge und andere in diesem Dokument erwähnte SAP-Produkte und Services sowie die dazugehörigen Logos sind Marken oder eingetragene Marken der SAP AG in Deutschland und in mehreren anderen Ländern weltweit. Alle anderen in diesem Dokument erwähnten Namen von Produkten und Services sowie die damit verbundenen Firmenlogos sind Marken der jeweiligen Unternehmen. Die Angaben im Text sind unverbindlich und dienen lediglich zu Informationszwecken. Produkte können länderspezifische Unterschiede aufweisen. Die in diesem Dokument enthaltenen Informationen sind Eigentum von SAP. Dieses Dokument ist eine Vorabversion und unterliegt nicht Ihrer Lizenzvereinbarung oder einer anderen Vereinbarung mit SAP. Dieses Dokument enthält nur vorgesehene Strategien, Entwicklungen und Funktionen des SAP -Produkts und ist für SAP nicht bindend, einen bestimmten Geschäftsweg, eine Produktstrategie bzw. -entwicklung einzuschlagen. SAP übernimmt keine Verantwortung für Fehler oder Auslassungen in diesen Materialien. SAP garantiert nicht die Richtigkeit oder Vollständigkeit der Informationen, Texte, Grafiken, Links oder anderer in diesen Materialien enthaltenen Elemente. Diese Publikation wird ohne jegliche Gewähr, weder ausdrücklich noch stillschweigend, bereitgestellt. Dies gilt u. a., aber nicht ausschließlich, hinsichtlich der Gewährleistung der Marktgängigkeit und der Eignung für einen bestimmten Zweck sowie für die Gewährleistung der Nichtverletzung geltenden Rechts. SAP übernimmt keine Haftung für Schäden jeglicher Art, einschließlich und ohne Einschränkung für direkte, spezielle, indirekte oder Folgeschäden im Zusammenhang mit der Verwendung dieser Unterlagen. Diese Einschränkung gilt nicht bei Vorsatz oder grober Fahrlässigkeit. Die gesetzliche Haftung bei Personenschäden oder die Produkthaftung bleibt unberührt. Die Informationen, auf die Sie möglicherweise über die in diesem Material enthaltenen Hotlinks zugreifen, unterliegen nicht dem Einfluss von SAP, und SAP unterstützt nicht die Nutzung von Internetseiten Dritter durch Sie und gibt keinerlei Gewährleistungen oder Zusagen über Internetseiten Dritter ab. Alle Rechte vorbehalten. SAP 2010, Development Update SAP on Oracle, Page 33