Beruflich Dokumente
Kultur Dokumente
2015
Introduction
Oracle 12c for SAP
Running Oracle 12c @ FIT
Summary
INTRODUCTION
Speakers
Dr. Thimo Bastuck
Claudia Hffer
INTRODUCTION
INTRODUCTION
Staff Numbers
>730 employees worldwide [2014]
including 240 in the United States and China
Status
Revenue:134,8 Mio. [2014]
positive EBIT at competitive level
Success
> 85% of FIT service revenues from third-party markets
11,2 % annual growth [CAGR 2010 - 2014]
Portfolio
Hosting and Consulting Services in SAP environment
Managed Services IT Provider
General Information:
1914631 - Central Technical Note for Oracle Database 12c Release 1 (12.1)
Oracle Database 12c for SAPRoadmap and Base Certification Features
Freudenberg IT | DOAG Conference Nrnberg | 2015
10
11
Examples:
ALTER TABLE orders ILM ADD POLICY ROW STORE COMPRESS ADVANCED
SEGMENT AFTER 30 DAYS OF NO MODIFICATION;
ALTER TABLE orders ILM ADD POLICY ROW STORE COMPRESS ADVANCED
ROW AFTER 30 DAYS OF NO MODIFICATION;
ALTER TABLE orders ILM ADD POLICY tier to low_cost_store;
Freudenberg IT | DOAG Conference Nrnberg | 2015
14
15
Overview
Upgrading
Prerequisites
Software installation (online)
Preparing the upgrade
Database structure upgrade (offline)
Post steps (offline/online)
OEM 12c
Freudenberg IT | DOAG Conference Nrnberg | 2015
17
18
and consider remarkable additional efforts and downtime when deciding to switch
to new Oracle user concept
19
20
21
22
23
new
24
25
:
:
:
:
:
UTF8
UTF8
ARCHIVELOG
NO
42
--> COMPATIBLE
--> REMOTE_OS_AUTHENT
: 11.2.0
: TRUE
-->
-->
-->
-->
-->
:
:
:
:
:
-->
-->
-->
-->
FALSE
FALSE
TRUE
TRUE
TRUE/FALSE
26
.
Freudenberg IT | DOAG Conference Nrnberg | 2015
27
(current max.)
(current max.)
(system limit)
(check limit )
:
:
:
:
310918493
310918487
4254950911
3221225472
************************************************************
***
OK
***
************************************************************
Object ID numbers are not critical.
Freudenberg IT | DOAG Conference Nrnberg | 2015
28
29
be careful: always double check the SYSTEM free space: enable autoextend on datafiles
to have plenty of free space (dont rely on this check here!)
Freudenberg IT | DOAG Conference Nrnberg | 2015
30
DBUA calculates
negative space values!
31
e.g.:
SQL> alter database datafile '/oracle/SID/sapdata88/undo_1/undo.data1'
autoextend off;
Database altered.
32
33
be careful:
if running one Listener for multiple databases on your host, be sure not to run it on your
database being upgraded this would cause DBUA to crash during input phase (should be
fixed soon)
Linux: be sure not to have set use_large_pages=auto this would cause DBUA to
abort in upgrade phase (this value is no longer supported)
Freudenberg IT | DOAG Conference Nrnberg | 2015
34
use_large_pages=auto:
no longer supported
35
36
new
change!
37
38
39
new
40
41
42
: ARCHIVELOG
: RESTORE POINT ONLY
: 42
-->
-->
-->
-->
Database Parameter
COMPATIBLE
: 11.2.0
REMOTE_OS_AUTHENT
: FALSE
Fast Recovery Area (FRA) Configuration
-->
-->
-->
-->
FRA
FRA
FRA
FRA
Destination
Size
Space Limit
Space Used
:
:
:
:
/oracle/SID/oraflash
30000 M
30000 M
9000 M / 30 %
43
Component ID
XDB
CATALOG
CATPROC
.
Version
12.1.0.2.0
12.1.0.2.0
12.1.0.2.0
Status
VALID
VALID
VALID
44
45
46
solution: Overall Status should not be INCOMPLETE due to invalid objects should be
fixed with next versions; so far, invalid objects really have to be resolved!
47
48
changed ORACLE_HOME:
name does not contain bit value any longer
so no 121_64, but simply 121
own scripts and automation might need to be adjusted (manageable efforts @ FIT)
49
50
51
52
result:
orazz3> ls -l /oracle/ZZ3/sapdata*/datusr_1/datusr.data1
-rw-r----- 1 orazz3 dba 20979712 Nov 4 22:37 /oracle/ZZ3/sapdata2/datusr_1/datusr.data1
alert.log:
Wed Nov 04 22:32:27 2015
/* BRSPACE */ alter database move datafile '/oracle/ZZ3/sapdata4/datusr_1/datusr.data1' to
'/oracle/ZZ3/sapdata2/datusr_1/datusr.data1'
Wed Nov 04 22:32:29 2015
Moving datafile /oracle/ZZ3/sapdata4/datusr_1/datusr.data1 (6) to
/oracle/ZZ3/sapdata2/datusr_1/datusr.data1
Move operation committed for file /oracle/ZZ3/sapdata2/datusr_1/datusr.data1
Completed: /* BRSPACE */ alter database move datafile
'/oracle/ZZ3/sapdata4/datusr_1/datusr.data1' to '/oracle/ZZ3/sapdata2/datusr_1/datusr.data1'
Freudenberg IT | DOAG Conference Nrnberg | 2015
53
Status @ FIT:
first comparison between compression ratio of standard and advanced index compression
shows slightly better overall compression with advanced, some indexes up to 15% better
loading new systems already tested: works great. Runtime behavior also fine.
54
Sizes [MB]
Compression ratio [%]
unocmpressed Standard
Advanced
8
9.111
71,8
62,1
4
5.628
50,5
49,8
7
4.759
58,0
48,6
2
4.809
52,7
52,0
3
5.567
47,1
46,7
1
3.476
64,2
65,8
1
4.461
72,5
73,3
5
23.325
45,0
42,7
15
5.583
58,5
49,6
1
3.711
73,3
74,1
4
2.636
34,9
34,8
1
3.271
81,1
81,6
1
2.255
80,5
80,9
3
4.622
72,6
64,3
4
7.452
35,0
35,4
5
9.387
37,5
37,2
3
8.214
45,5
45,1
3
8.222
45,3
45,0
1
9.280
80,4
80,8
2
6.536
78,9
78,2
132.305
56,1
54,0
55
56
Monitoring status:
v$inmemory_area
v$im_segments
57
SEGMENT_TYPE
COUNT(*) SUM(INMEMORY_SIZE) SUM(BYTES) SUM(BYTES_NOT_POPULATED)
--------------- ---------- ------------------ ---------- -----------------------TABLE PARTITION
83
100007936
72548352
0
TABLE PARTITION
26
30670848
11534336
0
TABLE PARTITION
3
3538944
4653056
0
TABLE PARTITION
3
393216 100663296
98893824
TABLE PARTITION
46
127729664 396886016
0
TABLE PARTITION
25
29491200
12713984
0
TABLE PARTITION
1
131072
6291456
6127616
TABLE PARTITION
27
31850496
9240576
0
TABLE
1
4325376
5242880
0
---------- ------------------ ---------- -----------------------215
328138752
619773952
105021440
POPULATE_
--------COMPLETED
COMPLETED
COMPLETED
STARTED
COMPLETED
COMPLETED
STARTED
COMPLETED
COMPLETED
58
SEGMENT_TYPE
COUNT(*) SUM(INMEMORY_SIZE) SUM(BYTES) SUM(BYTES_NOT_POPULATED)
--------------- ---------- ------------------ ---------- -----------------------TABLE PARTITION
110
135004160 114360320
0
TABLE PARTITION
152
181403648 109314048
0
TABLE PARTITION
3
3538944
4653056
0
TABLE PARTITION
53
155910144 507183104
0
TABLE PARTITION
86
116195328 127598592
0
TABLE PARTITION
168
199229440
65470464
0
TABLE
1
4325376
5242880
0
TABLE
1
7471104
10485760
0
---------- ------------------ ---------- -----------------------574
803078144
944308224
0
POPULATE_
--------COMPLETED
COMPLETED
COMPLETED
COMPLETED
COMPLETED
COMPLETED
COMPLETED
COMPLETED
59
60
61
for those use cases, Diagnostic and Tuning Pack must be licensed
(otherwise OEM wont show any data in the interesting areas)
according to SAP recommendation, AWR retention time always set to 42 days
most used starting points:
SQL Monitor Last Hour (from DB Home)
Performance | Top Activity
Performance | ASH Analytics
Freudenberg IT | DOAG Conference Nrnberg | 2015
63
64
65
Summary
Summary
Oracle 12c being used with SAP since summer 2015 @ FIT
first x.1 Release certified with SAP, in the past only x.2 Release certified
nevertheless, upgrades ran basically good and fast,
process as stable and reliable as known from 11g
further significant operating improvements
67
CONTACT
How to reach us
Freudenberg IT
Hhnerweg 2-4
69465 Weinheim
Germany
Khnehfe 5
22761 Hamburg
Germany
Your contact
Your contact
Claudia Hffer
Principal Sales Consultant