sap on oracle development update 2/2009...720886: oracle database 10g: integration into the sap...
TRANSCRIPT
SAP on Oracle
DevelopmentUpdate 2/2009
Dr. Christian GrafDevelopment ManagerDB Platforms Oracle & InformixOS Platforms HPUX, Solaris, Tru64SAP AG
© SAP 2008, Development Update SAP on Oracle, Page 2
Agenda
Oracle RAC @ SAP / Virtualization
Oracle 10g/11g @ SAP
Unicode Migration Optimizations
DBA Tools
© SAP 2008, Development Update SAP on Oracle, Page 3
Agenda
Oracle RAC @ SAP / Virtualization
Oracle 10g/11g @ SAP
DBA Tools
Unicode Migration Optimizations
© SAP 2008, Development Update SAP on Oracle, Page 4
Heads Up: End of Customer Care Support for 10.1
Oracle version 10.1 left Oracle Customer Care support end Jan 2009
SAP customers who are still running on releases 10.1 are urgentlyrequested to upgrade to Oracle 10.2
Currently recommended patchset is 10.2.0.4
See SAP HotNews note 1246629 for more details
© SAP 2008, Development Update SAP on Oracle, Page 5
SAP on Oracle 10g: Supported Releases
Minumum Oracle 10.2 patchset is 10.2.0.2
Patchset 10.2.0.3 is not supported in SAP environmentsApplies for Oracle Clusterware (CRS) as well!
Patchset 10.2.0.4 is supported on major OS platforms
Recommended patchset where available
Already supported: AIX, HP-UX PA-RISC/IA64, Solaris SPARC,Windows2003 x86_x64, Lin x86_x64, Linux IA64,Solaris x64, Linux on Power
Planned Q1/2009: Windows2008 x86_64, Tru64, Windows2003 IA64
Oracle 10.2 adoption rate: ~ 60 % of SAP/Oracle customers are on 10g
© SAP 2008, Development Update SAP on Oracle, Page 6
SAP on Oracle 10g: Notes & Documentation
720886: Oracle Database 10g: Integration into the SAP environment
940794: Release of Oracle 10.2 for older SAP releases871735: Current Patchset for Oracle 10.2.0
871096: Oracle Database 10g: Patchsets/Patches for 10.2.0.2
1137346: Patches for Oracle 10.2.0.4
830576 Parameter recommendations for Oracle 10g
819829: Instant Client for UNIX
998004: Instant Client for Windows
828268: Oracle Database 10g: New Functions
841728: Software Installation Problems for Oracle 10.2.0
1027012: MOPATCH: Installation of multiple interim patches in one step
1171650: Automated DB Parameter Check for Oracle 10.2
Oracle 10.1/10.2 database upgrade guides
http://service.sap.com/instguides -> Other Documentation -> Database Upgrades -> Oracle
Note update on the 10th of every month
© SAP 2008, Development Update SAP on Oracle, Page 7
SAP on Oracle 10g: New Features
Oracle TDE & NetWork encryption now supported
For details please see SAP note 974876
Oracle Flashback Database now supported
BR*Tools integration available (Version 7.10 Patchlevel 6)
For details please see SAP notes 1125923, 966117, 966073
Index Key Compression now available – Very quick adoption rate among customers
More details in SAP Note 1109743
Only with Oracle 10.2 – But for all SAP products on 10.2
Database Vault pilot support
Pilot projects ongoing
Only with Oracle 10.2.0.4 and SAP kernel 7.00 and higher
GA planned during Q2/2009
© SAP 2008, Development Update SAP on Oracle, Page 8
11g: Outlook
SAP and Oracle jointly decided to stick to ‘Terminal Release’ certification strategy
SAP support for Oracle 11.2 onlySame strategy as with Oracle 9i and 10g
Oracle plans to release 11.2 in 2009
At least 12-18 months before Oracle 10.2 goes out of support
SAP support planned ~ 3 - 6 months after Oracle ships 11.2
Support for SAP products on 6.40 kernel and higher only
11.2 support only for SAP products which are in SAP Extended Maintenance at leastuntil the end of 2010
Oracle 11.2 Feature Focus
Advanced Compression Option (ACO)SecureFiles / FastFiles (a.k.a new LOBs)Automatic/Universal Storage Management (ASM/USM)
11g11g
© SAP 2008, Development Update SAP on Oracle, Page 9
“Big picture” of supported Oracle releases
SupportedSupportedSupportedSupportedNotSupportedMid 2010Oracle 10.2
RAC
Not SupportedNotSupported
NotSupported
Out ofsupport
Out ofsupport
Out ofsupportOracle 8.1.7
Planned forLate 09-Q1/10
Planned forLate 09-Q1/10No SupportNo SupportNo SupportMid 2014Oracle 11.2
NotSupported
Notsupported
Supported
R/3 up to4.6B
Supported
Supported
Supported
R/3 4.6C
Not SupportedSupportedSupportedJuly 2008ES*: 7/2010
Oracle 9.2RAC
Mid 2010
July 2008ES*: 7/2010
Support byOracleuntil
With NW 2004sSR1 ff. onlySupported**Supported**Oracle 10.2
Not SupportedSupportedSupportedOracle 9.2
NetWeaver2004s
Business Suite2005
Web AS 6.40,NetWeaver2004,Business Suite2004
Web AS 6.20basedapplications
* ES = Oracle Extended Support (first year no extra support fee)** Only supported for SAP applications which are at least in SAP Extended Maintenance beyond 2006
© SAP 2008, Development Update SAP on Oracle, Page 10
Agenda
Oracle RAC @ SAP / Virtualization
Oracle 10g/11g @ SAP
DBA Tools
Unicode Migration Optimizations
© SAP 2008, Development Update SAP on Oracle, Page 11
Genaral Availability Oracle RAC
General Availability (GA) for RAC was announced by SAP in early January 2009No SAP/Oracle approval process for RAC projects required anymoreGA is valid for Oracle versions 10.2.0.4 and higherConfiguration requirements as defined in SAP note 527843 still stay in place
RAC 10.2 is certified for all SAP Products based on 4.6D_EXT ff.
Oracle Clusterware solution SAPCTL for protecting SAP Enqueue Server
No support for Raw Devices and ASM (ASM planned in 2011)
Overall we currently have ~60 SAP customers successfully productive on RAC.
For details regarding RAC certification please see SAP note 527843
© SAP 2008, Development Update SAP on Oracle, Page 12
Oracle RAC 10.2.0.4 News
AIX 5.3 and 6.1Support for GPFS 3.2
Improved Failover, Faster Recovery, 255 filesystems
Linux – RHEL 5.2 and SLES10 SP2Support for OCFS2 1.4
Online Resize, mmap, sparse Files, Data in inode, local mounts, freeze/thawIntegration with Cluster LVM to support stretched clusters
SAPCTL (Clusterware Solution for SAP HA) EnhancementControl of SAP Message Server as a separate entity
© SAP 2008, Development Update SAP on Oracle, Page 13
Virtualization Support
Oracle does not support VMWare & XEN for productive SAP environments
No existing support relationship between Oracle and corresponding vendors
Oracle does not plan to change support status in the near- to midterm future
Use of VMWare or XEN in non-productive SAP environments is supported
Metalink note 249212.2 is not valid for SAP systems
For details please see SAP note 1173954
Oracle plans to support the native OS/hardware vendor virtualization products
HP Integrity VM, WPAR AIX, Sun VM, Hyper V for Windows, …..
Support for those products is fully ensured by existing support contracts between Oracleand OS vendor
© SAP 2008, Development Update SAP on Oracle, Page 14
Agenda
Oracle RAC @ SAP / Virtualization
Oracle 10g/11g @ SAP
DBA Tools
Unicode Migration Optimizations
© SAP 2008, Development Update SAP on Oracle, Page 15
Unicode Migration Optimizations
Motivation:
SAP promotes use of Unicode in future versions
Migration of an existing SAP system to Unicode requires a complete export and import of thedatabase through SAP R3load utility
Customers can only afford limited downtime of their production system for the datamigration phase
Achievements:
Improved Table Split and R3load throughput for export and import phase
NEW – Advanced ROWID Table Split functionality allows data to be read in physical order from disk
Use of Optimizer Hints to force optimal access path
Use of OCI Direct Path Interface instead of SQL Inserts for R3load
Use existing system resources (CPU, Memory, IO) more effectively through Parallel Query,Parallel Index Creation and Automatic Index Statistics Calculation
Optimizations available for 6.40 and 7.00 based SAP systems with Oracle 9.2 and Oracle 10.2
© SAP 2008, Development Update SAP on Oracle, Page 16
Unicode Migration Optimizations
New ROWID table splitting functionality available for transparent tables
ROWID ranges for a table are being calculated in less than 30 seconds – Calculation timeis independent from the table size
ROWID table splitting dramatically reduces CPU and IO resources during export
R3load export times up to 3-5 times faster
Real World Customer Example:
Complete export and import time for 6 Terabyte database was 10 hours
To achieve this appropriate high end hardware required
Upcoming Optimization for Cluster Tables, BW Systems and R3load
Goal: More than 1 Terabyte / Hour throughput
Important SAP OSS Notes to follow: 936441, 1043380, 1045847, 1169872
© SAP 2008, Development Update SAP on Oracle, Page 17
Agenda
Oracle RAC @ SAP / Virtualization
Oracle 10g/11g @ SAP
DBA Tools
Unicode Migration Optimizations
© SAP 2008, Development Update SAP on Oracle, Page 18
MOPatch - Install Multiple Oracle Patches
Motivation for MOPatch:10.2 based SAP systems require a larger number of Oracle one-off patches. To apply them is atime consuming and error-prone task.
Features of MOPatchReduces installation and maintenance time for 10.2 based SAP systemsSimplifies the installation and guarantees the correctness of necessary patches to be appliedAutomates the process of unpacking and applying the patches and eliminates the need for userinteractionDetects and handles appropriately
• zip file errors • patch conflicts • warnings• errors • fatal errors
Provides a concise execution summaryCollects patch READMEs and removes repeating template text, reducing them in size by factor5 – 6NEW:
Full support for existing installations not just new installations – Fully manages the delta ofexisting and new patchesCleanup Functionality – Reduces Disk Space Requirements
For details refer to OSS note 1027012
© SAP 2008, Development Update SAP on Oracle, Page 19
BR*Tools Studio 7.10The Wizard
© SAP 2008, Development Update SAP on Oracle, Page 20
BR*Tools Studio 7.10Administration
© SAP 2008, Development Update SAP on Oracle, Page 21
BR*Tools Studio 7.10Example Operation
© SAP 2008, Development Update SAP on Oracle, Page 22
BR*Tools Studio 7.10Features
Three-Tier Capable Client/Server Architecture
Secure Connection
Role-Based Multi-User Concept
Reconnect Capability
Job Queue, Scheduling and History
Favorite Tasks
Auto-Update Status Display
Auditing
© SAP 2008, Development Update SAP on Oracle, Page 23
BR*Tools Studio 7.10Where to Get, and Outlook
Download from SAP Developer Network athttps://www.sdn.sap.com/irj/sdn/ora
Feb 2009 Patch 1 introduces Facilitated Installation NEW!
Automated install of HTTPS certificateSee SAP Note 1272951: “Changes in BR*Tools Studio 7.10”
BR*Tools Studio 7.10 Evolution IIEnhanced Support of BR*Tools Functionality, ~Q3/2009Support of more complex BR*Tools functions
© SAP 2008, Development Update SAP on Oracle, Page 24
Partitioning Tools for SAP/Oracle non-BIsystems
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/ortables is a time- and resource-critical process
Range partitioning can be used to separate historical and current production data in order tominimize the above impacts
Problem: Application tables usually do not have a direct time dependent column in theprimary key
An alternative is to use an indirect time related column like document number, whichexists 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 withOracle Table Redefinition package, but this is not a simple admin task
© SAP 2008, Development Update SAP on Oracle, Page 25
New SAP ‘Partitioning Engine’
New ABAP and BR*Tools based partitioning ‘engine’ to performance optimize SAParchiving
Applicable to a set of ~ 40 predefinded SAP application tables
A partitioning service for non-BI SAP systems is offered by Oracle since a while, butup to now was not integrated into SAP’s DB admin tools
‘Partitioning engine’ will be made available starting with WEBAs 6.20
Next 6.20, 6.40 and 7.00 support packages will contain this feature
Customer piloting during Q2/2009Interested customers are still invited
GA planned during Q3/2009
© SAP 2008, Development Update SAP on Oracle, Page 26
Description of Partitioning Engine (Part 1)
First part is an ABAP program, which analysis the content of the document column of an application tableand creates as output a DDL statement for the table and indexes with suitable partition ranges
Analysis of document column is done with the help of the underlying number-range object defined intable NRIV -> “NRIV Partitioning”
For each NRIV number range a series of partitions with equal size (2GB – 20GB, depending on tablesize) is generated including empty spare partitions for each number range with precalculated borders.
The DDL statement also generates a max partition that is always empty (latter is necessary for laterfast partitioning split)
Analysis task can be done even onvery large tables in less than 1 hour
No full table scan, instead jumpingin calculated increments through rows
Partitioning is a multiple column partitioningwith at least client and document column(#NRIV)
Additional columns can be part of partitioningkey if number range is year dependent (MSEG)or contains sub objects (COEP) or both (BSIS)
Select table toapply partitioning
© SAP 2008, Development Update SAP on Oracle, Page 27
Description of Partitioning Engine (Part 2)
Second part of partitioning engine is a new function in the „BRSPACE“ tool, which reads thepreviously created DDL statement und performs the online redefinition
Automatic Long -> LOB migration if table contains Long field
BRSPACE required because online redefinition must run as user ora<sid> (sys)
brspace command
© SAP 2008, Development Update SAP on Oracle, Page 28
Description of Partitioning Engine (Part 3)
Third part is an ABAP program which runs in batch (SM37) for maintaining the tablepartitions
The ABAP program creates additional spare partitions within the table if necessary usingfast partitioning split
The ABAP program merges nearly empty partitions which remain after archivingBy merging partitions unused space gets released
During merge indexes are not usable(~ minutes for local indexes, global indexes take longer)
Still significant improvementcompared to a full table reoganization
© SAP 2008, Development Update SAP on Oracle, Page 29
PARTITION BY RANGE ("MANDT","DOCNUM")(
….PARTITION "EDIDC_800_01_00001" VALUES LESS THAN ('800','0000000000400001'),PARTITION "EDIDC_800_01_00002" VALUES LESS THAN ('800','000000000800001')…PARTITION "EDIDC_800_01_MAX" VALUES LESS THAN ('800','999999999999999:')
Partitioning Tools for SAP/Oracle non-BIsystems
Table EDIDC:Client and
Document column
Generated DDL
NRIV ObjectEDIDOC definesvalue range for
column DOCNUMin table EDIDC
© SAP 2008, Development Update SAP on Oracle, Page 30
Recent Enhancements in BR*Tools 7.10 (1)
Management of online redo log files (note 1259767)Resizing redo log files (online)
Via drop and recreate
Creating / deleting redo log group (online)Creating / deleting redo log members (online)Renaming / moving redo log members (online)
Support for Oracle data encryption (note 1279682)Open / close database walletCreate / delete database walletSave database walletGenerate a new master keyReencrypt encrypted tables
© SAP 2008, Development Update SAP on Oracle, Page 31
Recent Enhancements in BR*Tools 7.10 (2)
New function in BR*Tools to replace MKS tools (note 1173119)Routines for accessing tape files (write, read)Routines for controlling tape devices (rewind, position)Routines for compressing files (compress, uncompress)MKS tools will not be provided anymore by SAP in 2009 / 2010If customers own MKS license tools can still be used
Support for RMAN savesets for backups on disk (note 1101530)Data file block validation is done automaticallyEffective RMAN compression can be usedSupport for two-step backups (dbf -> disk -> tape / backint)Via Oracle Secure Backup library encryption of backup possibleAvailable also in BR*Tools 7.00
© SAP 2008, Development Update SAP on Oracle, Page 32
Recent Enhancements in BR*Tools 7.00 / 7.10
Reduction of the INITIAL size during Index reorganization (1080376)
Sorting table records during reorganization (note 1016172)
Automatic update of dictionary and system statistics (1235952)
Automatic update of statistics after reorganization (1235952)
Detection & rebuilding "unusable" indexes (note 1235952)
Determining tables with chained rows (note 1235952)
Support of scp command on Windows (note 1235952)
Direct use of split-mirror backups for the recovery of the productivedatabase (note 1173117)
Automated Controlfile handling
Direct use of standby-database backups for the recovery of theproductive database (note 1173117)
Automated Controlfile handling
© SAP 2008, Development Update SAP on Oracle, Page 33
SAP on Oracle live in SDN
SAP on Oracle forum:https://www.sdn.sap.com/irj/sdn/collaboration
-> Database & OS Platforms -> SAP on Oracle
SAP on Oracle content page:https://www.sdn.sap.com/irj/sdn/ora
-> SAP on Oracle
© SAP 2008, Development Update SAP on Oracle, Page 34
SDN Homepage: www.sdn.sap.com/irj/sdn/ora
© SAP 2008, Development Update SAP on Oracle, Page 35
SDN Homepage: www.sdn.sap.com/irj/sdn/ora
© SAP 2008, Development Update SAP on Oracle, Page 36
SAP on Oracle Forum
© SAP 2008, Development Update SAP on Oracle, Page 37
Thank you very much
for your attention!
Thank you!
© SAP 2008, Development Update SAP on Oracle, Page 38
Copyright 2008 SAP AGAll 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 changedwithout 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 theirrespective 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 andassociated 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 documentcontains 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, orother 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 ofmerchantability, 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 limitationshall 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 thesematerials 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 durchSAP 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 Servicessowie 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ähntenNamen von Produkten und Services sowie die damit verbundenen Firmenlogos sind Marken der jeweiligen Unternehmen. Die Angaben im Text sind unverbindlich und dienen lediglich zuInformationszwecken. 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 anderenVereinbarung mit SAP. Dieses Dokument enthält nur vorgesehene Strategien, Entwicklungen und Funktionen des SAP®-Produkts und ist für SAP nicht bindend, einen bestimmtenGeschäftsweg, eine Produktstrategie bzw. -entwicklung einzuschlagen. SAP übernimmt keine Verantwortung für Fehler oder Auslassungen in diesen Materialien. SAP garantiert nicht dieRichtigkeit oder Vollständigkeit der Informationen, Texte, Grafiken, Links oder anderer in diesen Materialien enthaltenen Elemente. Diese Publikation wird ohne jegliche Gewähr, wederausdrü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 Zwecksowie 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 Verwendungdieser 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 Hotlinkszugreifen, 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 überInternetseiten Dritter ab.
Alle Rechte vorbehalten.