1
Clientes utilizando SAP em Oracle Database 11g Release
Elizabeth Faria
Sales Consulting Manager
2
<Insert Picture Here>
Agenda
• Certificação do Oracle 11g para SAP
• Novidades do Oracle 11g R2 para SAP
– Uso Eficiente de Espaço em Disco
– Particionamento e Desempenho
– Disponibilidade e Contingencia
– Segurança e Conformidade
• Case Oracle e SAP - CBSS
11g11g
• SAP only certifies Oracle 11g Release 2
• Only SAP products based on 6.40_EX2 kernel and later get certified with 11.2
• SAP 11.2 certification and Rollout will happen in three OS waves
• The First and Second waves already released
• Major UNIX platforms (Solaris SPARC & x64, AIX 64, HP-UX IA64 &
PA-RISC), Linux x86 and Linux x86_64
• Windows x64 and 32-Bit
• Third wave (planned for 2011)
• Windows IA64
Source: SAP
3
5
The image part with relationship ID rId5 was not found in the file.
Uso Eficiente de Espaço
em Disco
Efficient Use of Disk SpaceDisk Space Allocation (SAP ERP)
33%
55%
12%
Index Data
Structured Data
Unstructured Data
4
Efficient Use of Disk Space“Implicit” Compression
• Database too large?
• Oracle saves disk space even
without explicit compression
• Internal Data Representation
– Variable length representation of
number values
– Variable length representation of
character strings
– Highly efficient bitmap index
technology
• Object Space Allocation (11g)
– Deferred Segment Creation
– Dictionary Only Add Column
Indexes
Structured Data
Secure Files
Deferred Segment Creation
• Empty objects (tables, indexes, partitions) will not
consume any disk space – 60-70% of all tables, lobs, indexes and partitions in an SAP
installation are empty
– 50,000 – 100,000 objects are empty in an BW system
• Makes database install part for SAP a lot faster– Creation of empty tables, LOBs, indexes and partitions are
dramatically faster
• Improves query response times on space objects in
Oracle Data Dictionary
• Improves performance of all space related
transactions in SAP systems due to less objects in
database
5
Dictionary Only Add Column
• Dictionary Only Add Column with Default and not
Null
– Very common operation within SAP BW application and
SAP Upgrades
– Cube changes will be more than 10x faster
– Factor 10-20 performance improvement for SAP BW during
add column processes
– Saves large amount of disk space
Efficient Use of Disk SpaceIndex Key Compression
Indexes
Structured Data
Secure Files
• Available in Oracle Database
10g and 11g
• Recommended as first step of
compression implementation
• Best practices:
– Compress indexes
on <n> largest tables
– Use utility IND_COMP
(see SAP Note 1109743)
6
Efficient Use of Disk SpaceIndex Key Compression
Indexes
Structured Data
Secure Files
Free Space
• Available in Oracle Database
10g and 11g
• Recommended as first step of
compression implementation
• Best practices:
– Compress indexes
on <n> largest tables
– Use utility IND_COMP
(see SAP Note 1109743)
• Disk Space Savings:
– up to 75% on object level
– 15-20% on DB level
Efficient Use of Disk SpaceStructured Table Data Compression
Indexes
Structured Data
Secure Files
Free Space
• Oracle Database 10g:
– Batch compression
– Works with batch loads only
– Supported for SAP BW
• Oracle Database 11g:
– Dynamic online compression
(OLTP compression)
– Works for conventional DML
(Insert, Update)
– Supported for all SAP
applications
• Completely transparent to
applications
7
Efficient Use of Disk SpaceStructured Table Data Compression
Indexes
Structured Data
Secure Files
Free Space
• Oracle Database 10g:
– Batch compression
– Works with batch loads only
– Supported for SAP BW
• Oracle Database 11g:
– Dynamic online compression
(OLTP compression)
– Works for conventional DML
(Insert, Update)
– Supported for all SAP
applications
• Completely transparent to
applications
Efficient Use of Disk SpaceUnstructured Table Data Compression
Indexes
Structured Data
Secure Files
Free Space
• Secure Files
– replaces previous data types
(LONG, LOB)
– dramatically faster
– prerequisite for compression
• Secure Files Compression
– the only “real” compression
feature
– no inlining of data required
8
Efficient Use of Disk SpaceUnstructured Table Data Compression
Indexes
Structured Data
Secure Files
Free Space
• Secure Files
– replaces previous data types
(LONG, LOB)
– dramatically faster
– prerequisite for compression
• Secure Files Compression
– the only “real” compression
feature
– no inlining of data required
Space Savings with ACO on Customer Production
Databases
Without
Compression
(GB)
With compression
and other space
optimizations (GB)
FACTOR
Space
Savings
DB (fully organized)
ECC 6.0
BI 7.0
CRM 7.0
4,782
1,413
950
1,976
543
334
2.4
2.6
2.8
RMAN Backup (for compressed database)
2,817 667 4.2
Export Data Pump 973 156 6.2
• Performance Impact
– 60% less physical reads
– 5% less physical writes
– 10% better database cache hit rate
– 30% higher redo rate
– No overhead in CPU consumption
9
17
The image part with relationship ID rId5 was not found in the file.
Particionamento e
Desempenho
SAP Partitioning EngineMotivation
• 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
– Transformation of an unpartitioned table into a partitioned one can be done online with Oracle Table Redefinition package
10
1. Objects as Unstructured Units
Tablespace1:DataFile1 Tablespace1:DataFile2 Tablespace2:DataFile1
Table TAB1(50% of Data) Index IDX1
on TAB1
Table TAB1(50% of Data)
All files on similar disks
2. Analyze Data
Tablespace1:DataFile1 Tablespace1:DataFile2 Tablespace2:DataFile1
All files on similar disks
Active Working Set
Historical Data
Historical Data
Active Working Set
11
3. Implement Range Partitioning
Tablespace1:DataFile1 Tablespace1:DataFile2 Tablespace2:DataFile1
All files on similar disks
P09_TAB1
P07_TAB1
P05_TAB1
P03_TAB1
P01_TAB1
P10_TAB1
P08_TAB1
P06_TAB1
P04_TAB1
P02_TAB1
P10_IDX1
P09_IDX1
P08_IDX1
P07_IDX1
P06_IDX1
P05_IDX1
P04_IDX1
P03_IDX1
P02_IDX1
P01_IDX1
4. Use Different Types of Disks
Tablespace1:DataFile1 Tablespace1:DataFile2 Tablespace2:DataFile2
Slower, less expensive disks
P01_TAB1
P02_TAB1
P10_IDX1
P09_IDX1
P08_IDX1
P07_IDX1
P06_IDX1
P05_IDX1
P04_IDX1
P03_IDX1
P09_TAB1
P07_TAB1
P05_TAB1
P03_TAB1
P10_TAB1
P08_TAB1
P06_TAB1
P04_TAB1
Fast, expensive disks
Tablespace2:DataFile1
P02_IDX1
P01_IDX1
12
5. Compress Historical Partitions
Tablespace1:DataFile2 Tablespace2:DataFile2
Slower, less expensive disks
P10_IDX1P09_IDX1
P08_IDX1P07_IDX1
P06_IDX1P05_IDX1
P04_IDX1P03_IDX1
P09_TAB1
P07_TAB1
P05_TAB1
P03_TAB1
P10_TAB1
P08_TAB1
P06_TAB1
P04_TAB1
Fast, expensive disks
Tablespace1:DataFile1
P01_TAB1
P02_TAB1
Tablespace2:DataFile1
P02_IDX1P01_IDX1
Table and Index Partitioning SAP ERP Customer Example
0
100
200
300
400
500
600
700
Query1 Query2 Query3 Query4 Query5 Query6
Batch Runtime in Minutes
* Query5 was cancelled after 12 hours
13
Real Application Testing for SAP
• Upgrade SAP from Oracle Database 10g R2 to 11g R2
• Install Database Patchset
• Migration from single instance to RAC
• Implement Partitioning and Advanced Compression
• Creation of Histograms on SAP tables
……
ClientClient
…Client
Capture DB Workload
Middle Tier
Storage
Oracle DB
Replay DB Workload
Production Test
Test migration to RAC
26
The image part with relationship ID rId5 was not found in the file.
Disponibilidade e
Contingencia
14
Scale out with RAC for SAP
Users
Database
SAP Instances
RAC Instances
Be high available with RAC for SAP
Users
Database
SAP Instances
RAC InstancesX
15
Users
Database
SAP Instances
RAC InstancesX
Be high available with RAC for SAP
RAC with Services
• Defined Quality of Service
• Defined Prioritation
• Single Infrastructure Optimized for Multiple Workloads
S A P B W
Power User
SAP ERP
Node - 4Node - 3Node - 2Node - 1 Node - 6Node - 5
Batch Reporting
Canned On Demand Reports
16
Real Application Clusters for SAPBenefits
• High Availability– Removes Database Server as Single Point of Failure
– No unplanned downtime due to HW outage
– HW maintenance with less downtime
• Performance & Scalability– Flexible way to linear scale SAP applications (scale-out model)
– Run batch jobs in the daytime
– Workload split
– Special tasks assigned database instances/nodes
• Total Cost of Ownership– All RAC nodes are active and serve production workload
– Use of low cost servers
<Insert Picture Here>
“It’s very important for us that our mission-critical applications run smoothly. With Oracle Real Application
Clusters, we have the assurance we need that these software systems will remain highly available. Not only that, but the
database clustering technology has helped us achieve major increases in productivity and efficiency.”
P I E R A F A S O L I ,
Managing Director, and Fabrizio Grisoni,
Systems and Architecture Manager
The related RAC for SAP on SUN reference story:http://www.oracle.com/newsletters/sap/volumes/volume17-en.pdf
17
Data Guard for SAP
• Physical Standby only
– Oracle provides support (not SAP)
• Preferred DR solution for SAP customers
• Standby database can be used to offload the primary database, increasing the ROI
PrimaryDatabase
Physical StandbyDatabase
Redo Shipment
Network
Redo Apply
DIGITAL DATA STORAGE
Backup
Standby Redo Logs
Data Guard Broker
QuerysReports
34
The image part with relationship ID rId5 was not found in the file.
Segurança e Conformidade
18
Advanced Security Option for SAP
Application
DatabaseServerInstance
DatabaseFiles
DatabaseBackup
• Client-Server (SAP App Server to
Database) Network Encryption
• DG Secure Network Transport
• Column Encryption through TDE
• Tablespace Encryption
• SecureFile (unstructured LOB data) encryption
• RMAN Backup Encryption
• Expdp Encryption
Oracle Database Vault for SAP Addresses …
Insider Threats Need for Flexible
Security Policies
Consolidation
Concerns
Compliance Regulations
Outsourcing Concerns
19
Oracle Database Vault for SAPDelivered Security Policies Protections
Realm Owner Protects
Protection Realm
for ABAP Stack
SAP Application
AccountSAP business data
Protection Realm
for Java Stack
SAP Application
AccountSAP business data
Protection Realm
for SAP BR*ToolsSAPDBA Role
DB objects needed by
SAP BR*Tools
Credential Protection
RealmSAPCRED Role
Data needed for
credential management
Protection Realm for
SAP Admin Roles SAPACCTMGRSAP administration roles (SAPCONN, SAPDBA,
SAPCRED, SAPSYS)
http://www.oracle.com/technology/deploy/security/database-security/pdf/twp-oracle-database-vault-sap-2009.pdf
Case Oracle e SAP - CBSS
Nilton Terra
20
Apresentação
Case Oracle e SAP
• O que é a CBSS
• Migração• Futuro
O que é a CBSS
A CBBS, administradora dos Cartões VisaVale
• Cartões Alimentação
• Refeição
• Natal Alimentação
• Cesta Alimentação Visa Vale
• Vale Transporte
Tem como objetivo contribuir com a ampliação do PAT (Programa de Alimentação do Trabalhador), um dos principais programas sociais do Governo Federal.
Os cartões Visa Vale incorporam importantes inovações tecnológicas, que trazem significativos benefícios para empresas, estabelecimentos comerciais e, principalmente, para o trabalhador, gerando bem-estar econômico e social para ele e sua família.
Case Oracle e SAP
21
O que é a CBSS• Empresas Clientes + 70 mil• Cartões ativos 5,4 milhões• Transações/mês 31 milhões• Índice de satisfação de clientes 91,7%• Estabelecimentos credenciados 226 mil• Faturamento nos últimos anos
Case Oracle e SAP
0
2
4
6
8
10
2006 2007 2008 2009
Migração• O que era
• O que é
Case Oracle e SAP
22
Case Oracle e SAP
Migração – O que era:
SQL Server 7
380 GB
Case Oracle e SAP
Migração – O que é:
Servidor 15
GER01
HP DL380 G5
SAP - Solution
Manager
Oracle - Grid Control
Oracle - VM Manager
23
Case Oracle e SAP
O Futuro
•Advanced Compression
•Oracle RAC
•DR – Dataguard
•Oracle TT - ?
Perguntas
Case Oracle e SAP
24
Obrigado!
Soluções de Treinamento – Oracle University+3,000 cursos em mais de 50 produtos !
Database Fusion
Middleware
Applications Server and
Storage Systems
Industries
•Oracle Database 11g, Database 10g
•Real Application Clusters
•Grid Infrastructure
•Enterprise Manager for Database
•SQL and PL/SQL
•MySQL
•Data Warehousing
•Exadata
•Database Security
•Data Guard
•Application Express
•Embedded Database
• In-Memory Database Cache
•Spatial
•Secure Enterprise Search
•Java
•Application Server
and Infrastructure
•Service-Oriented
Architecture and
Process
Management
•Content Management
•Enterprise 2.0 and
Portals
•Enterprise
Performance
Management
•Business Intelligence
• Identity Management
•Developer Tools
•Data Integration
•Transaction
Processing
•Enterprise
Management
•Oracle E-Business Suite
•PeopleSoft Enterprise
•Siebel
•JD Edwards EnterpriseOne
•Hyperion
•Primavera
•Application Integration Architecture
•User Productivity Kit
•Oracle CRM On Demand
•JD Edwards World
•Governance, Risk, and Compliance Management
•Agile Product Lifecycle Management
•AutoVue Enterprise Visualization
•Oracle Policy Automation
•Demantra
•Transportation Management
•Tutor
•Oracle Open Office
•Oracle Solaris
•Oracle Solaris Cluster
•Virtualization
•Linux
•Security
•Enterprise Manager Ops Center
•Sun Oracle Database Machine
•Sun Servers
•Sun Storage and Tape
•Communications
•Life Sciences
• Insurance
•Retail
•Utilities
•Higher Education
25
Contate a Oracle University !
Para turmas públicas / inscrições online :
education.oracle.com
Para desenhar um plano de capacitação
especializado, entre em contato com um
representante da Oracle University :
oracle.com/education/contacts
0800 891 6502 | [email protected]
The preceding 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.
26
Top Related