+ All Categories
Home > Documents > SAP on Oracle Development Update 4/2009 - Home: … · SAP on Oracle Development Update 4/2009 Dr....

SAP on Oracle Development Update 4/2009 - Home: … · SAP on Oracle Development Update 4/2009 Dr....

Date post: 21-Apr-2018
Category:
Upload: lamkhanh
View: 232 times
Download: 3 times
Share this document with a friend
37
SAP on Oracle Development Update 4/2009 Dr. Christian Graf Development Manager DB Platforms Oracle & Informix OS Platforms HPUX, Solaris, Tru64 SAP AG
Transcript

SAP on Oracle

DevelopmentUpdate 4/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

Oracle 10g/11g @ SAP

AIX Virtualization Support

Unicode Migration Optimizations

Partitioning Engine

DBA Tools

© SAP 2008, Development Update SAP on Oracle, Page 3

Agenda

Oracle RAC @ SAP

Oracle 10g/11g @ SAP

AIX Virtualization Support

Unicode Migration Optimizations

Partitioning Engine

DBA Tools

© SAP 2008, Development Update SAP on Oracle, Page 4

Heads Up: End of Support for 9.2 and 10.1

Ø Oracle version 9.2 left Oracle Customer Care support end July 2008Ø For extended support information please see SAP note 1110995

Ø Oracle version 10.1 left Oracle Customer Care support end Jan 2009Ø SAP customers who are still running on releases 10.1 are urgently

requested to upgrade to Oracle 10.2

Ø For details please see SAP note 1246629

Upgrade to patchset 10.2.0.4 is recommended!

© 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 environmentsØ Applies for Oracle Clusterware (CRS) as well!

Patchset 10.2.0.4 is supported on major OS platforms

Ø Already supported: AIX, HP-UX PA-RISC/IA64, Solaris SPARC/x64, Windows2003 x86_x64, Linux x86_x64/IA64/Power

Ø Planned Q2/2009: Windows2008 x86_64, Tru64, Windows2003 IA64

Ø Additional necessary patches on top of 10.2.0.4 will be released monthly (at every 10th of each month)

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 onlyØ Same 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 least until 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

SupportedSupportedSupportedSupportedNot SupportedMid 2010Oracle 10.2

RAC

Not SupportedNot Supported

Not Supported

Out of support

Out of support

Out of supportOracle 8.1.7

Planned for Q1/2010

Planned for Q1/2010No SupportNo SupportNo Support Mid 2014 Oracle 11.2

Not Supported

Not supported

Supported

R/3 up to 4.6B

Supported

Supported

Supported

R/3 4.6C

Not SupportedSupportedSupportedJuly 2008ES*: 7/2010

Oracle 9.2 RAC

Mid 2010

July 2008ES*: 7/2010

Support by Oracle until

With NW 2004s SR1 ff. onlySupported**Supported**Oracle 10.2

Not SupportedSupportedSupportedOracle 9.2

NetWeaver2004s

Business Suite 2005

Web AS 6.40,NetWeaver2004,Business Suite 2004

Web AS 6.20based applications

* 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

Oracle 10g/11g @ SAP

AIX Virtualization Support

Unicode Migration Optimizations

Partitioning Engine

DBA Tools

© SAP 2008, Development Update SAP on Oracle, Page 11

General Availability Oracle RAC

Ø General Availability (GA) for RAC was announced by SAP in early January 2009

Ø No SAP/Oracle approval process for RAC projects required anymoreØ GA is valid for Oracle versions 10.2.0.4 and higherØ Configuration 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 support planned in 2011)

Ø Overall we currently have ~80 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

Agenda

Oracle RAC @ SAP

Oracle 10g/11g @ SAP

AIX Virtualization Support

Unicode Migration Optimizations

Partitioning Engine

DBA Tools

© 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 Oracle and OS vendor

© SAP 2008, Development Update SAP on Oracle, Page 14

Agenda

Oracle RAC @ SAP

Oracle 10g/11g @ SAP

AIX Virtualization Support

Unicode Migration Optimizations

Partitioning Engine

DBA Tools

© 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 the database through SAP R3load utility

Ø Customers can only afford limited downtime of their production system for the data migration phase

Achievements:

Ø Improved Table Split and R3load throughput for export and import phase

Ø Advanced ROWID Table Split functionality allows data to be read in physical order from disk

Ø Use of Optimizer Hints to force optimal access path

Ø Uses partitioning concepts of SAP BW and R/3

Ø 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 time is 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 AIX Customer Example:

Ø Complete export and import time for 2 Terabyte database was 2 hours 15 minutes

Ø To achieve this appropriate high end hardware required

Upcoming Optimization for Cluster Tables 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

Oracle 10g/11g @ SAP

AIX Virtualization Support

Unicode Migration Optimizations

Partitioning Engine

DBA Tools

© SAP 2008, Development Update SAP on Oracle, Page 18

Partitioning Tools for SAP/Oracle non-BI systems

Motivation

n 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

n 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 2008, Development Update SAP on Oracle, Page 19

New SAP ‘Partitioning Engine’

Ø New ABAP and BR*Tools based partitioning ‘engine’ to performance optimize SAP archiving

Ø Applicable to a set of ~ 40 predefined SAP application tables

Ø A partitioning service for non-BI SAP systems is offered by Oracle since a while, but up to now was not integrated into SAP’s DB admin tools

Ø ‘Partitioning engine’ will be made available starting with WEB AS 6.20

Ø Next 6.20, 6.40 and 7.00 support packages will contain this feature

Ø Customer piloting during Q2/2009

Ø GA planned during Q3/2009

© SAP 2008, Development Update SAP on Oracle, Page 20

Description of Partitioning Engine (Part 1)

n First part is an ABAP program, which analysis the content of the document number column of an application table and creates as output a DDL statement for the table and indexes with suitable partition ranges

Ø Analysis of document number column is done with the help of the underlying number-range object defined in table NRIV -> “NRIV Partitioning”

Ø For each NRIV number range a series of partitions with equal size (2GB – 20GB, depending on table size) 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 later fast partitioning split)

Ø Analysis task can be done even on very large tables in less than 1 hour

Ø Partitioning is a multiple column partitioning with at least client and document number column (#NRIV)

Ø Additional columns can be part of partitioning key if number range is year dependent (MSEG) or contains sub objects (COEP) or both (BSIS)

Select table to apply partitioning

© SAP 2008, Development Update SAP on Oracle, Page 21

Description of Partitioning Engine (Part 2)

n Second part of partitioning engine is a new function in the „BRSPACE“ tool, which reads the previously 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 22

Description of Partitioning Engine (Part 3)

n Third part is an ABAP program which runs in batch (SM37) for maintaining the table partitions

Ø The ABAP program creates additional spare partitions within the table if necessary using fast partitioning split

Ø The ABAP program merges nearly empty partitions which remain after archivingØ By merging partitions unused space gets released

Ø During merge indexes are not usable (~ minutes for local indexes, global indexes take longer)

Ø Still significant improvement compared to a full table reoganization

© SAP 2008, Development Update SAP on Oracle, Page 23

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-BI systems

Table EDIDC: Client and

DOCNUM column

Generated DDL

NRIV ObjectEDIDOC definesvalue range for

column DOCNUM in table EDIDC

© SAP 2008, Development Update SAP on Oracle, Page 24

Agenda

Oracle RAC @ SAP

Oracle 10g/11g @ SAP

AIX Virtualization Support

Unicode Migration Optimizations

Partitioning Engine

DBA Tools

© SAP 2008, Development Update SAP on Oracle, Page 25

MOPatch - Install Multiple Oracle Patches

Motivation for MOPatch:Ø 10.2 based SAP systems require additional number of Oracle one-off patches. To apply them

may be a time consuming and error-prone task.

Features of MOPatchØ Reduces installation and maintenance time for 10.2 based SAP systemsØ Simplifies the installation and guarantees the correctness of necessary patches to be applied –

Ø Easy two step process: 1. Download all patches from SMP 2. Apply all

Ø Automates the process of unpacking and applying the patches and eliminates the need for userinteraction

Ø Detects and handles appropriatelyØ • zip file errors • patch conflicts • warningsØ • errors • fatal errors

Ø Provides a concise execution summaryØ Collects patch READMEs and removes repeating template text, reducing them in size by

factor 5 – 6Ø NEW:

Ø Full support for existing installations not just new installations – Fully manages the delta of existing and new patches

Ø Cleanup Functionality – Reduces Disk Space Requirements

For details refer to OSS note 1027012

© SAP 2008, Development Update SAP on Oracle, Page 26

BR*Tools Studio 7.10The Wizard

© SAP 2008, Development Update SAP on Oracle, Page 27

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 28

BR*Tools Studio 7.10Where to Get, and Outlook

n Download from SAP Developer Network atn https://www.sdn.sap.com/irj/sdn/ora

n Feb 2009 Patch 1 introduces Facilitated Installation NEW!

n Automated install of HTTPS certificaten See SAP Note 1272951: “Changes in BR*Tools Studio 7.10”

n BR*Tools Studio 7.10 Evolution IIn Enhanced Support of BR*Tools Functionality, ~Q3/2009n Support of more complex BR*Tools functions

© SAP 2008, Development Update SAP on Oracle, Page 29

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 walletØ Create / delete database walletØ Save database walletØ Generate a new master keyØ Reencrypt encrypted tables

© SAP 2008, Development Update SAP on Oracle, Page 30

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 2010Ø If customer owns MKS license tools can still be used

Ø Support for RMAN savesets for backups on disk (note 1101530)Ø Data file block validation is done automaticallyØ Effective RMAN compression can be usedØ Support for two-step backups (dbf -> disk -> tape / backint)Ø Via Oracle Secure Backup library encryption of backup possibleØ Available also in BR*Tools 7.00

© SAP 2008, Development Update SAP on Oracle, Page 31

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 & online 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 32

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 33

SDN Homepage: www.sdn.sap.com/irj/sdn/ora

© 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

SAP on Oracle Forum

© SAP 2008, Development Update SAP on Oracle, Page 36

Thank you very much

for your attention!

Thank you!

© SAP 2008, Development Update SAP on Oracle, Page 37

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 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 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 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ä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 die Richtigkeit 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 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 überInternetseiten Dritter ab.Alle Rechte vorbehalten.


Recommended