SlideShare a Scribd company logo
How to Upgrade Hundreds or
Thousands of Databases
In a Reasonable Amount of Time
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
Roy Swonger
Senior Director & Product Manager
Database Upgrade & Utilities
Oracle Corporation
Mike Dietrich
Master Product Manager
Database Upgrade
Oracle Corporation
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
Safe Harbor Statement
The following 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.
How to Upgrade Hundreds or Thousands of Databases 2
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
$> whoami
3
20 years w/Oracle
Previously with DEC Rdb
11+ years managing
Data Pump
Database Upgrade
SQL*Loader
Transportable Tablespaces
How to Upgrade Hundreds or Thousands of Databases
Roy Swonger
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
6 years
RDBMS Core & Mission Critical Support
5.5 years
Technology Presales for DataGuard, Upgrades
>7.5 years
ST Upgrade Development Team
50%
Reference
Projects
50%
Workshops
Worldwide
+ x%
Development
Work
$> whoami
4How to Upgrade Hundreds or Thousands of Databases
Mike Dietrich
Master Product Manager
Database Upgrades & Migrations
MikeDietrichDE
http://blogs.oracle.com/UPGRADE
Copyright © 2015 Oracle and/or its affiliates. All rights reserved. |
Download Slides from the Database Upgrade Blog
 http://blogs.oracle.com/UPGRADE
How to Upgrade Hundreds or Thousands of Databases 5
Copyright © 2015 Oracle and/or its affiliates. All rights reserved. |
Supported Versions
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
Oracle 10.1
(GA: Jan 2004)
Oracle 10.2
(GA: Jul 2005)
Oracle 11.1
(GA: Aug 2007)
Oracle 11.2
(GA: Sep 2009)
Oracle 12.1
(GA: Jun 2013)
Oracle 12.2
(GA: xxx 2016)
today
How to Upgrade Hundreds or Thousands of Databases 6
Premier Support Waived Extended Support Paid Extended Support Sustaining Support
Jan 2009 Jan 2012
Jul 2010 Jul 2013
Aug 2012 Aug 2015
Jan 2015
Jun 2018 Jun 2021
Dec 2020May 2017
Copyright © 2015 Oracle and/or its affiliates. All rights reserved. |
We fully understand that things often are
complicated and business critical
How to Upgrade Hundreds or Thousands of Databases 7
Copyright © 2015 Oracle and/or its affiliates. All rights reserved. |
And things can become really complicated ...
How to Upgrade Hundreds or Thousands of Databases 8
 Oracle 8i to 11.2
 26 TB
 Oracle EBS
 5-6 hours max downtime
Good luck!!!
Copyright © 2015 Oracle and/or its affiliates. All rights reserved. |
Or more work ...
 Triple hops
How to Upgrade Hundreds or Thousands of Databases 9
↘ Oracle 9.2.0.1
↘ Oracle 9.2.0.4
↘ Oracle 10.2.0.5
↘ Oracle 12.1.0.2
Copyright © 2015 Oracle and/or its affiliates. All rights reserved. |
But even if it does not look complicated at first sight ...
How to Upgrade Hundreds or Thousands of Databases 10
0
50
100
150
200
250
300
350
400
10.2.0.3.0 10.2.0.4.0 10.2.0.5.0 11.2.0.1.0 11.2.0.2.0 11.2.0.3.0 11.2.0.4.0
2 21 9 10
113
292
382
Databases
54%
(447 out of 829 databases)
have no bug fixing support anymore
Copyright © 2015 Oracle and/or its affiliates. All rights reserved. |
Another example ...
How to Upgrade Hundreds or Thousands of Databases 11
0%4%
5%
2%
3%
17%
35%
32%
2%
Databases
9.2.0.7.0
10.2.0.3.0
10.2.0.4.0
10.2.0.5.0
11.2.0.1.0
11.2.0.2.0
11.2.0.3.0
11.2.0.4.0
12.1.0.2.0
828
Copyright © 2015 Oracle and/or its affiliates. All rights reserved. |
Don't maintain a zoo!
How to Upgrade Hundreds or Thousands of Databases 12
 135 Oracle databases
– 7 different Oracle releases
– 13 different Oracle patch levels
 6 different OS vendors
– 15 different OS versions
2% of all databases
under bug fixing support
Copyright © 2015 Oracle and/or its affiliates. All rights reserved. |
Recommendation
 Don't sit it out
– It will just get more complicated and risky
 Beware of application dependencies
 Establish constant database inventory monitoring
How to Upgrade Hundreds or Thousands of Databases 13
Copyright © 2015 Oracle and/or its affiliates. All rights reserved. |
Where should you start?
How to Upgrade Hundreds or Thousands of Databases 14
Copyright © 2015 Oracle and/or its affiliates. All rights reserved. |
Project Approach?
Planning
Data
Gathering
Testing
Upgrade/
Migration
Go-Live
Quarterly
Patching
How to Upgrade Hundreds or Thousands of Databases 15
Copyright © 2015 Oracle and/or its affiliates. All rights reserved. |
You need a plan
How to Upgrade Hundreds or Thousands of Databases 16
Week T-10 Migration Initiation, & Plan
Baseline & Migration
Migration & Unit test initiation
Unit Test Complete
Application & Performance Test Start
Application & Performance Tests
Application & Performance Tests
Application Testing Complete and Application Freeze
Week T- 9
Week T-8
Week T-7
Week T- 6
Week T-5
Week T-4
Week T-3
Week T-2
Week T-1
Cutover Plan & Tests
Migrate Go/No go
Migration Weekend
Copyright © 2015 Oracle and/or its affiliates. All rights reserved. |
You need to know Which / Where / Who / When
 Database inventory
 OS inventory
 Depending applications, certification
 Responsibilities
 Desired time frame
How to Upgrade Hundreds or Thousands of Databases 17
Copyright © 2015 Oracle and/or its affiliates. All rights reserved. |
Build a tracking app – Use APEX
How to Upgrade Hundreds or Thousands of Databases 18
Copyright © 2015 Oracle and/or its affiliates. All rights reserved. |
Build Workstreams and Database Groups
How to Upgrade Hundreds or Thousands of Databases 19
Estate
Analysis
Workstream 1
Workstream 2
Workstream 3
Upgrade/Migration Group 1
Upgrade/Migration Group 2
Upgrade/Migration Group 3
Post Migration
Monitoring,
Troubleshooting,
and Tuning Team
Production
Production with
additional monitoring
Copyright © 2015 Oracle and/or its affiliates. All rights reserved. |
General Test Guidelines
Upgrade/Migration Process
Post-Upgrade Functionality
Post-Upgrade Performance
ProdLoad
20How to Upgrade Hundreds or Thousands of Databases
Copyright © 2015 Oracle and/or its affiliates. All rights reserved. |
Testing Effort
 Relation between test completeness and costs
Costslow high
Completeness0%100%
How to Upgrade Hundreds or Thousands of Databases 21
Copyright © 2015 Oracle and/or its affiliates. All rights reserved. |
Use the Right Tools: AWR Diff Reports
AWR Diff
Report
Migrate
R2
10.2.0.4 12.1.0.2
Snapshot Interval Snapshot Interval
IBM AIX SOLARIS
Compare
22How to Upgrade Hundreds or Thousands of Databases
Copyright © 2015 Oracle and/or its affiliates. All rights reserved. |
Use the Right Tools: Database Replay
Database Replay
Migrate
R2
10.2.0.4 12.1.0.2
Capture Workload Replay Workload
Compare – then restore
and run again with changes
IBM AIX SOLARIS
Preprocess Workload
23How to Upgrade Hundreds or Thousands of Databases
Copyright © 2015 Oracle and/or its affiliates. All rights reserved. |
Use the Right Tools: SQL Performance Analyzer
SQL Performance Analyzer
STS
Capture SQLs
into a STS
Load STS
STS
Evaluate, compare and tune –
over and over again!
Migrate
R2
10.2.0.4 12.1.0.2
IBM AIX SOLARIS
24How to Upgrade Hundreds or Thousands of Databases
Copyright © 2015 Oracle and/or its affiliates. All rights reserved. |
Use the Right Tools: SPA Resulting Reports
 Example: Report showing regressed statements and plans
25How to Upgrade Hundreds or Thousands of Databases
Copyright © 2015 Oracle and/or its affiliates. All rights reserved. |
Now RELAX ... Stay Calm ...
And open an SR with Oracle Support in case of real trouble
How to Upgrade Hundreds or Thousands of Databases 26
Picture taken from: https://aycw.wordpress.com/2015/06/10/young-peoples-attitudes-toward-work/
Copyright © 2015 Oracle and/or its affiliates. All rights reserved. |
And don't forget:
The next patching day is right in front of you!
Oracle PSUs get delivered on a quarterly basis:
20-OCT-2015 / 19-Jan-2016 / 19-Apr-2016 / 19-Jul-2016
How to Upgrade Hundreds or Thousands of Databases 27
Copyright © 2015 Oracle and/or its affiliates. All rights reserved. |
Use Oracle EM Lifecycle Management Pack
How to Upgrade Hundreds or Thousands of Databases 28
Copyright © 2015 Oracle and/or its affiliates. All rights reserved. |
With a little help from ... Real Application Testing
Upgrade over 300 databases at CSX
How to Upgrade Hundreds or Thousands of Databases 29
Copyright © 2015 Oracle and/or its affiliates. All rights reserved. |
Real World Checkpoint
 CSX
– One of the nation‘s leading transportation suppliers
 Encompasses 21,000 miles of tracks
in 23 states, from Florida to Ontario
 HQ in Jacksonville, Florida
Customer
Project
Constraints
Preparation
Upgrade
Success?
Remarks
How to Upgrade Hundreds or Thousands of Databases 30
Copyright © 2015 Oracle and/or its affiliates. All rights reserved. |
 Upgrade and migration of 304 databases to 11.2.0.2 over a
24 month period (2011-2012)
– 1/3 production, 2/3 test and development systems
– Source versions: Oracle 10.2.0.4 and a few Oracle 8i/9i
– Single Instance on IBM AIX  RAC on Linux
 Plan to use Real Application Testing
– Guarantee quality and mitigate the risk of upgrading
 Define standards
– Install 11.2.0.2 and patches and apply latest PSU
Real World Checkpoint
Customer
Project
Constraints
Preparation
Upgrade
Success?
Remarks
How to Upgrade Hundreds or Thousands of Databases 31
Copyright © 2015 Oracle and/or its affiliates. All rights reserved. |
 Limited downtime on some business critical systems
 Testing cycles vary from 1-6 months depending on
complexity and criticality
 Tight on available testing resources
– Time
– People
– Systems
 New to Real Application Testing
Real World Checkpoint
Customer
Project
Constraints
Preparation
Upgrade
Success?
Remarks
How to Upgrade Hundreds or Thousands of Databases 32
Copyright © 2015 Oracle and/or its affiliates. All rights reserved. |
 Close alliance with Oracle's Upgrade Development Group and
Oracle's RAT Pack
– CSX agreed to become an official
Oracle Database 11.2 Reference Customer
 Monthly status meetings
 Onsite training
 Live upgrade and RAT demo
– Cloning databases methods for use with RAT
Real World Checkpoint
Customer
Project
Constraints
Preparation
Upgrade
Success?
Remarks
How to Upgrade Hundreds or Thousands of Databases 33
Copyright © 2015 Oracle and/or its affiliates. All rights reserved. |
 Upgrade and migration methods used:
 Policy:
– Install Oracle SW with latest patches and PSU
– Combine HW refresh and OS upgrades
 Internal application to track owner, status, success
80%
20% Data Pump for OS Migration
DBUA for Upgrades
Real World Checkpoint
Customer
Project
Constraints
Preparation
Upgrade
Success?
Remarks
How to Upgrade Hundreds or Thousands of Databases 34
Copyright © 2015 Oracle and/or its affiliates. All rights reserved. |
 Yes –project took 2 years
– 88% of all databases upgraded within 18 months
– Some systems took longer due to business and/or resource
constraints
 Performance comparison mechanisms are very helpful
 Regressions found and fixed before upgrade
 RAT helped a lot to predict workload performance and
ensure careful testing
Real World Checkpoint
Customer
Project
Constraints
Preparation
Upgrade
Success?
Remarks
How to Upgrade Hundreds or Thousands of Databases 35
Copyright © 2015 Oracle and/or its affiliates. All rights reserved. |
“The Real Application Testing tool provided a comprehensive
and flexible solution for assessing the impact of the Oracle
11g database upgrade into CSX systems. At CSX we were
able to capture real production workloads, replay it in the
11g environment, identify poor performing queries and,
fine tune these queries in a test environment before the
production implementation.“
Maritza Gonzalez, Technical Director
CSX Corporation
Real World Checkpoint
Customer
Project
Constraints
Preparation
Upgrade
Success?
Remarks
How to Upgrade Hundreds or Thousands of Databases 36
Copyright © 2015 Oracle and/or its affiliates. All rights reserved. |
 More Information?
https://blogs.oracle.com/UPGRADE/entry/csx_corporation_upgrades_databases_2x
Real World Checkpoint
Customer
Project
Constraints
Preparation
Upgrade
Success?
Remarks
How to Upgrade Hundreds or Thousands of Databases 37
Copyright © 2015 Oracle and/or its affiliates. All rights reserved. |
A small team and an excellent plan
Upgrade 300 databases at Mobiliar Insurance, Switzerland
How to Upgrade Hundreds or Thousands of Databases 38
Copyright © 2015 Oracle and/or its affiliates. All rights reserved. |
Real World Checkpoint
 Swiss Mobiliar
– Switzerland's most personal insurer
– Founded 1826 in Bern, oldest Swiss insurance
– Legal form:
 Cooperative association (mutual company)
– Over 1.7 million persons and firms insured
– Switzerland's no.1 insurer for:
 Businesses, term life insurances, households
– 80 general agencies at 160 locations
– Over 4,400 employees and 325 trainees
– Awarded Most Trusted Insurance Brand in
Switzerland for 13 consecutive years
39
Customer
Project
Constraints
Preparation
Upgrade
Success?
Remarks
How to Upgrade Hundreds or Thousands of Databases
Copyright © 2015 Oracle and/or its affiliates. All rights reserved. |
Real World Checkpoint
 Upgrade 289 databases
– Oracle Database 11.2.0.3 to Oracle Database 12.1.0.2
– 80 production databases
 Oracle Cloud Control
 AWR Warehouse (home-made)
 Shell scripts
 Oracle Restart with ASM
 Oracle In Memory
 OID
40
Customer
Project
Constraints
Preparation
Upgrade
Success?
Remarks
How to Upgrade Hundreds or Thousands of Databases
Copyright © 2015 Oracle and/or its affiliates. All rights reserved. |
Real World Checkpoint
 Project timeline: 24 months
– Goal: 18 months
41
Customer
Project
Constraints
Preparation
Upgrade
Success?
Remarks
How to Upgrade Hundreds or Thousands of Databases
0
5
10
15
20
25
30
35
40
45
Jan-15 Feb-15 Mrz-15 Apr-15 Mai-15 Jun-15 Jul-15 Aug-15 Sep-15 Okt-15 Nov-15 Dez-15
Migrations per month
Copyright © 2015 Oracle and/or its affiliates. All rights reserved. |
Real World Checkpoint
 Small DBA Team
– Only 3.8 FTE + 1 newbie
 2 major software releases of Mobiliar Applications per year
resulting in a full month of code freeze
 Bug fixing support for Oracle 11.2.0.3 ended Aug 27, 2015
 Highly complex applications
– Queries with more than 1000 bind variables and 250 outer joins
 One core team member broke his leg in
September 2015 and did not return to work yet
42
Customer
Project
Constraints
Preparation
Upgrade
Success?
Remarks
How to Upgrade Hundreds or Thousands of Databases
Copyright © 2015 Oracle and/or its affiliates. All rights reserved. |
Real World Checkpoint
 All queries, execution time and execution paths are tracked on a self
made AWR Performance DWH
 Possibility to compare performance before and after the upgrade on
query level
 Performance tests performed by application owner
 Regression tests done during the testing phase of the Mobi Software
Release
– PSU RDBMS 12.1.0.2.4, PSU GRID 12.1.0.2.2
– Two Oracle Homes on the same server
– Upgrade with catctl.pl embedded into home-built shell script
43
Customer
Project
Constraints
Preparation
Upgrade
Success?
Remarks
How to Upgrade Hundreds or Thousands of Databases
Copyright © 2015 Oracle and/or its affiliates. All rights reserved. |
Real World Checkpoint
 Project Monitoring with Excel Sheet
44
Customer
Project
Constraints
Preparation
Upgrade
Success?
Remarks
How to Upgrade Hundreds or Thousands of Databases
0
50
100
150
200
250
300
350
Jan-15 Feb-15 Mrz-15 Apr-15 Mai-15 Jun-15 Jul-15 Aug-15 Sep-15 Okt-15 Nov-15 Dez-15
Jan-15 Feb-15 Mrz-15 Apr-15 Mai-15 Jun-15 Jul-15 Aug-15 Sep-15 Okt-15 Nov-15 Dez-15
DBs 12c 0 7 10 18 26 62 105 126 136 152 157 170
DBs 11g 289 282 279 271 263 227 184 163 153 137 132 119
Oracle Database Swiss Mobiliar
DBs 11g DBs 12c
Copyright © 2015 Oracle and/or its affiliates. All rights reserved. |
Real World Checkpoint
 Automated upgrade via home-built scripts:
45
Customer
Project
Constraints
Preparation
Upgrade
Success?
Remarks
How to Upgrade Hundreds or Thousands of Databases
Copyright © 2015 Oracle and/or its affiliates. All rights reserved. |
Real World Checkpoint
 Live? And alive?
– Yes! First system went live on Feb 4, 2015
– Current status (Oct 12, 2015):
 152 out of 289 databases live on Oracle Database 12.1.0.2
 53% upgraded already
 Project perfectly on schedule
46
Customer
Project
Constraints
Preparation
Upgrade
Success?
Remarks
How to Upgrade Hundreds or Thousands of Databases
137
152
No. Databases
Oracle. 11.2.0.3 Oracle 12.1.0.2
Copyright © 2015 Oracle and/or its affiliates. All rights reserved. |
Real World Checkpoint
 No major issues after go live
– Issues caught during testing, e.g.:
– Bug 20776435: PARSE OF INMEMORY QUERY IS SPINNING ON CPU
 Query with 250 Left Joins
 Workaround:
alter session set "_optimizer_inmemory_table_expansion"=false;
– Bug 19677469: NO QUERY REWRITE
 Workaround:
CREATE MATERIALIZED VIEW …. SELECT /*+ MV_MERGE */ …
or:
alter system set "_fix_control"='10145667:OFF';
47
Customer
Project
Constraints
Preparation
Upgrade
Success?
Remarks
How to Upgrade Hundreds or Thousands of Databases
Copyright © 2015 Oracle and/or its affiliates. All rights reserved. |
Real World Checkpoint
 Oracle In-Memory boosts performance
– Read on: http://tinyurl.com/Mobi12c
48
Customer
Project
Constraints
Preparation
Upgrade
Success?
Remarks
How to Upgrade Hundreds or Thousands of Databases
Copyright © 2015 Oracle and/or its affiliates. All rights reserved. |
Real World Checkpoint
"The entire upgrade project of our 300 Oracle databases at
Die Mobiliar is running very well.
When we catch issues, we fix them before going live.
And features such as Oracle In-Memory add a lot of
performance boost to some of our applications.
Especially the Oracle Upgrade Reference Program was a
great help and added a lot of value to our project's progress.
We are very happy and satisfied with the upgrade process
and the reliability and performance of Oracle Database 12c".
Paolo Kreth, Group Manager Databases, Die Mobiliar
49
Customer
Project
Constraints
Preparation
Upgrade
Success?
Remarks
How to Upgrade Hundreds or Thousands of Databases
Copyright © 2015 Oracle and/or its affiliates. All rights reserved. |
Famous Last Words
Conclusion
How to Upgrade Hundreds or Thousands of Databases 50
Copyright © 2015 Oracle and/or its affiliates. All rights reserved. |
Conclusion
 If you have a complicated environment, you are not alone!
 But, you can do it:
– Plan your effort
– Use the right tools
– Track and
report progress
How to Upgrade Hundreds or Thousands of Databases 51
Copyright © 2015 Oracle and/or its affiliates. All rights reserved. |
Download Slides from the Database Upgrade Blog
 http://blogs.oracle.com/UPGRADE
How to Upgrade Hundreds or Thousands of Databases 52
Copyright © 2015 Oracle and/or its affiliates. All rights reserved. | Oracle Confidential – Internal 53
Classroom Training
Learning Subscription
Live Virtual Class
Training On Demand
Keep Learning with Oracle University
education.oracle.com
Cloud
Technology
Applications
Industries
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | How to Upgrade Hundreds or Thousands of Databases 54
How to Upgrade Hundreds or Thousands of Databases

More Related Content

PDF
Upgrade/Migrate to Oracle 12c: Live and Uncensored!
PDF
Oracle 12 Upgrade
PPTX
Presentation upgrade, migrate & consolidate to oracle database 12c &amp...
PDF
What's next after Upgrade to 12c
PDF
Cluster Health Advisor (CHA) Deep Dive by Mark Scardina
PDF
How to Upgrade Hundreds or Thousands of Databases
PDF
Oracle RAC BP for Upgrade & More by Anil Nair and Markus Michalewicz
PDF
Oracle RAC 12c Best Practices with Appendices DOAG2013
Upgrade/Migrate to Oracle 12c: Live and Uncensored!
Oracle 12 Upgrade
Presentation upgrade, migrate & consolidate to oracle database 12c &amp...
What's next after Upgrade to 12c
Cluster Health Advisor (CHA) Deep Dive by Mark Scardina
How to Upgrade Hundreds or Thousands of Databases
Oracle RAC BP for Upgrade & More by Anil Nair and Markus Michalewicz
Oracle RAC 12c Best Practices with Appendices DOAG2013

What's hot (20)

PDF
Maximizing Oracle RAC Uptime
PPTX
Con8780 nair rac_best_practices_final_without_12_2content
PDF
Oracle RAC - A Safe Investment into the Future of Your IT
PDF
Oracle RAC - Customer Proven Scalability
PDF
AskTom: How to Make and Test Your Application "Oracle RAC Ready"?
PDF
LAD - GroundBreakers - Jul 2019 - Using Oracle Autonomous Health Framework to...
PDF
Oracle Database In-Memory Meets Oracle RAC
PDF
Data Mobility for the Oracle Database by JWilliams and RGonzalez
PDF
How to Use Oracle RAC in a Cloud? - A Support Question
PPTX
Anil nair rac_internals_sangam_2016
PDF
The Oracle RAC Family of Solutions - Presentation
PDF
New availability features in oracle rac 12c release 2 anair ss
PDF
Step by Step instructions to install Cluster Domain deployment model
PDF
Oracle RAC on Extended Distance Clusters - Presentation
PDF
Using Machine Learning to Debug complex Oracle RAC Issues
PDF
Oracle Database 12c with RAC High Availability Best Practices
PPTX
Updated Power of the AWR Warehouse, Dallas, HQ, etc.
PDF
Understanding oracle rac internals part 2 - slides
PPTX
Collaborate 17 Oracle RAC 12cRel 2 Best Practices
PPTX
Optimizing the Enterprise Manager 12c
Maximizing Oracle RAC Uptime
Con8780 nair rac_best_practices_final_without_12_2content
Oracle RAC - A Safe Investment into the Future of Your IT
Oracle RAC - Customer Proven Scalability
AskTom: How to Make and Test Your Application "Oracle RAC Ready"?
LAD - GroundBreakers - Jul 2019 - Using Oracle Autonomous Health Framework to...
Oracle Database In-Memory Meets Oracle RAC
Data Mobility for the Oracle Database by JWilliams and RGonzalez
How to Use Oracle RAC in a Cloud? - A Support Question
Anil nair rac_internals_sangam_2016
The Oracle RAC Family of Solutions - Presentation
New availability features in oracle rac 12c release 2 anair ss
Step by Step instructions to install Cluster Domain deployment model
Oracle RAC on Extended Distance Clusters - Presentation
Using Machine Learning to Debug complex Oracle RAC Issues
Oracle Database 12c with RAC High Availability Best Practices
Updated Power of the AWR Warehouse, Dallas, HQ, etc.
Understanding oracle rac internals part 2 - slides
Collaborate 17 Oracle RAC 12cRel 2 Best Practices
Optimizing the Enterprise Manager 12c
Ad

Viewers also liked (20)

PDF
Why to Upgrade to Oracle 12c
PDF
Gestión de infraestructura tomcat/Tom EE con tfactory
PDF
Best Features of Multitenant 12c
PDF
Pluggable Databases: What they will break and why you should use them anyway!
PDF
Integracion Continua en Oracle ADF
PDF
Introduction to Oracle Clusterware 12c
PDF
ADF 12c como Backend
PDF
Oracle 12c New Features
PDF
Improving the Performance of PL/SQL function calls from SQL
PDF
It's raining data! Oracle databases in the cloud
PDF
How Oracle Single/Multitenant will change a DBA's life
PDF
SOA y Microservices Diferencias y Aplicaciones
PDF
The best Oracle Database 12c Tuning Features for Developers
PDF
Deep Dive: More Oracle Data Pump Performance Tips and Tricks
PDF
Integration Cloud Service vs SOA
PPTX
How oracle 12c flexes its muscles against oracle 11g r2 final
PPTX
tow nodes Oracle 12c RAC on virtualbox
PPTX
Oracle 12c SQL: Date Ranges
PPTX
Oracle 12c Automatic Dynamic Sampling
PPTX
Cloud Integration for Human Resources: Connect with Your talent in the Cloud
Why to Upgrade to Oracle 12c
Gestión de infraestructura tomcat/Tom EE con tfactory
Best Features of Multitenant 12c
Pluggable Databases: What they will break and why you should use them anyway!
Integracion Continua en Oracle ADF
Introduction to Oracle Clusterware 12c
ADF 12c como Backend
Oracle 12c New Features
Improving the Performance of PL/SQL function calls from SQL
It's raining data! Oracle databases in the cloud
How Oracle Single/Multitenant will change a DBA's life
SOA y Microservices Diferencias y Aplicaciones
The best Oracle Database 12c Tuning Features for Developers
Deep Dive: More Oracle Data Pump Performance Tips and Tricks
Integration Cloud Service vs SOA
How oracle 12c flexes its muscles against oracle 11g r2 final
tow nodes Oracle 12c RAC on virtualbox
Oracle 12c SQL: Date Ranges
Oracle 12c Automatic Dynamic Sampling
Cloud Integration for Human Resources: Connect with Your talent in the Cloud
Ad

Similar to How to Upgrade Hundreds or Thousands of Databases (20)

PPTX
Why Upgrade to Oracle Database 12c?
PDF
Oracle Cloud Platform - Migrer vers la Database 12c
PPTX
Oracle Database Exadata Cloud Service Conference
PPTX
Oracle Cloud에서 애플리케이션을 개발하고 테스트하는 손쉬운 방법
PDF
OOW16 - Maintenance Strategies for Oracle E-Business Suite [CON6725]
PDF
Ebr the key_to_online_application_upgrade at amis25
PPTX
Milomir Vojvodic - Business Analytics And Big Data Partner Forum Dubai 15.11.
PPSX
How to Obtain Peak Performance from Your Virtual Environment
PDF
OOW15 - case study: oracle application management suite for oracle e-business...
PDF
5 razões estratégicas para usar MySQL
PPTX
OOW15 - Testing Oracle E-Business Suite Best Practices
PDF
OOW15 - Customer Success Stories: Upgrading to Oracle E-Business Suite 12.2
PDF
SOACS-Overview.pdf
PDF
Oracle super cluster for oracle e business suite
PDF
Modern App Development with Oracle Cloud
PDF
OOW15 - Oracle Enterprise Manager Cloud Control for Managing Oracle E-Busines...
PDF
Openstack Summit Vancouver 2015 - Maintaining and Operating Swift at Public C...
PDF
10 Razões para Usar MySQL em Startups
PDF
Unlocking Big Data Insights with MySQL
Why Upgrade to Oracle Database 12c?
Oracle Cloud Platform - Migrer vers la Database 12c
Oracle Database Exadata Cloud Service Conference
Oracle Cloud에서 애플리케이션을 개발하고 테스트하는 손쉬운 방법
OOW16 - Maintenance Strategies for Oracle E-Business Suite [CON6725]
Ebr the key_to_online_application_upgrade at amis25
Milomir Vojvodic - Business Analytics And Big Data Partner Forum Dubai 15.11.
How to Obtain Peak Performance from Your Virtual Environment
OOW15 - case study: oracle application management suite for oracle e-business...
5 razões estratégicas para usar MySQL
OOW15 - Testing Oracle E-Business Suite Best Practices
OOW15 - Customer Success Stories: Upgrading to Oracle E-Business Suite 12.2
SOACS-Overview.pdf
Oracle super cluster for oracle e business suite
Modern App Development with Oracle Cloud
OOW15 - Oracle Enterprise Manager Cloud Control for Managing Oracle E-Busines...
Openstack Summit Vancouver 2015 - Maintaining and Operating Swift at Public C...
10 Razões para Usar MySQL em Startups
Unlocking Big Data Insights with MySQL

More from Guatemala User Group (12)

PPTX
La transformacion digital en nuestra vida cotidiana. Un vistazo a las APIs
PPTX
More than 12 More things about Oracle Database 12c
PPTX
Oracle Optimizer: 12c New Capabilities
PPTX
Understanding Query Optimization with ‘regular’ and ‘Exadata’ Oracle
PPTX
Monitoreo del performance de linux con sar
PPTX
Diagnóstico de problemas de red para DBAs
PDF
Cutting edge Essbase
PDF
Gestión de grandes volúmenes de información
PDF
RMAN – The Pocket Knife of a DBA
PDF
Oracle Linux and Oracle Database - A Trusted Combination
PDF
Re-­Think Mobile… Beyond Mobile­‐First: Oracle Mobile Strategy and Overview
PDF
Building Better Mobile Backends with Oracle Mobile Cloud Service
La transformacion digital en nuestra vida cotidiana. Un vistazo a las APIs
More than 12 More things about Oracle Database 12c
Oracle Optimizer: 12c New Capabilities
Understanding Query Optimization with ‘regular’ and ‘Exadata’ Oracle
Monitoreo del performance de linux con sar
Diagnóstico de problemas de red para DBAs
Cutting edge Essbase
Gestión de grandes volúmenes de información
RMAN – The Pocket Knife of a DBA
Oracle Linux and Oracle Database - A Trusted Combination
Re-­Think Mobile… Beyond Mobile­‐First: Oracle Mobile Strategy and Overview
Building Better Mobile Backends with Oracle Mobile Cloud Service

Recently uploaded (20)

PDF
A novel scalable deep ensemble learning framework for big data classification...
PPT
Module 1.ppt Iot fundamentals and Architecture
PDF
Getting started with AI Agents and Multi-Agent Systems
PDF
Zenith AI: Advanced Artificial Intelligence
PPTX
observCloud-Native Containerability and monitoring.pptx
PDF
WOOl fibre morphology and structure.pdf for textiles
PDF
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
PDF
2021 HotChips TSMC Packaging Technologies for Chiplets and 3D_0819 publish_pu...
PDF
August Patch Tuesday
PDF
Transform Your ITIL® 4 & ITSM Strategy with AI in 2025.pdf
PDF
NewMind AI Weekly Chronicles - August'25-Week II
PDF
NewMind AI Weekly Chronicles – August ’25 Week III
PDF
Developing a website for English-speaking practice to English as a foreign la...
PDF
project resource management chapter-09.pdf
PDF
Hindi spoken digit analysis for native and non-native speakers
PPTX
OMC Textile Division Presentation 2021.pptx
PPTX
Chapter 5: Probability Theory and Statistics
PDF
Web App vs Mobile App What Should You Build First.pdf
PPTX
Programs and apps: productivity, graphics, security and other tools
PPTX
Final SEM Unit 1 for mit wpu at pune .pptx
A novel scalable deep ensemble learning framework for big data classification...
Module 1.ppt Iot fundamentals and Architecture
Getting started with AI Agents and Multi-Agent Systems
Zenith AI: Advanced Artificial Intelligence
observCloud-Native Containerability and monitoring.pptx
WOOl fibre morphology and structure.pdf for textiles
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
2021 HotChips TSMC Packaging Technologies for Chiplets and 3D_0819 publish_pu...
August Patch Tuesday
Transform Your ITIL® 4 & ITSM Strategy with AI in 2025.pdf
NewMind AI Weekly Chronicles - August'25-Week II
NewMind AI Weekly Chronicles – August ’25 Week III
Developing a website for English-speaking practice to English as a foreign la...
project resource management chapter-09.pdf
Hindi spoken digit analysis for native and non-native speakers
OMC Textile Division Presentation 2021.pptx
Chapter 5: Probability Theory and Statistics
Web App vs Mobile App What Should You Build First.pdf
Programs and apps: productivity, graphics, security and other tools
Final SEM Unit 1 for mit wpu at pune .pptx

How to Upgrade Hundreds or Thousands of Databases

  • 1. How to Upgrade Hundreds or Thousands of Databases In a Reasonable Amount of Time Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | Roy Swonger Senior Director & Product Manager Database Upgrade & Utilities Oracle Corporation Mike Dietrich Master Product Manager Database Upgrade Oracle Corporation
  • 2. Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | Safe Harbor Statement The following 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. How to Upgrade Hundreds or Thousands of Databases 2
  • 3. Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | $> whoami 3 20 years w/Oracle Previously with DEC Rdb 11+ years managing Data Pump Database Upgrade SQL*Loader Transportable Tablespaces How to Upgrade Hundreds or Thousands of Databases Roy Swonger
  • 4. Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | 6 years RDBMS Core & Mission Critical Support 5.5 years Technology Presales for DataGuard, Upgrades >7.5 years ST Upgrade Development Team 50% Reference Projects 50% Workshops Worldwide + x% Development Work $> whoami 4How to Upgrade Hundreds or Thousands of Databases Mike Dietrich Master Product Manager Database Upgrades & Migrations MikeDietrichDE http://blogs.oracle.com/UPGRADE
  • 5. Copyright © 2015 Oracle and/or its affiliates. All rights reserved. | Download Slides from the Database Upgrade Blog  http://blogs.oracle.com/UPGRADE How to Upgrade Hundreds or Thousands of Databases 5
  • 6. Copyright © 2015 Oracle and/or its affiliates. All rights reserved. | Supported Versions 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 Oracle 10.1 (GA: Jan 2004) Oracle 10.2 (GA: Jul 2005) Oracle 11.1 (GA: Aug 2007) Oracle 11.2 (GA: Sep 2009) Oracle 12.1 (GA: Jun 2013) Oracle 12.2 (GA: xxx 2016) today How to Upgrade Hundreds or Thousands of Databases 6 Premier Support Waived Extended Support Paid Extended Support Sustaining Support Jan 2009 Jan 2012 Jul 2010 Jul 2013 Aug 2012 Aug 2015 Jan 2015 Jun 2018 Jun 2021 Dec 2020May 2017
  • 7. Copyright © 2015 Oracle and/or its affiliates. All rights reserved. | We fully understand that things often are complicated and business critical How to Upgrade Hundreds or Thousands of Databases 7
  • 8. Copyright © 2015 Oracle and/or its affiliates. All rights reserved. | And things can become really complicated ... How to Upgrade Hundreds or Thousands of Databases 8  Oracle 8i to 11.2  26 TB  Oracle EBS  5-6 hours max downtime Good luck!!!
  • 9. Copyright © 2015 Oracle and/or its affiliates. All rights reserved. | Or more work ...  Triple hops How to Upgrade Hundreds or Thousands of Databases 9 ↘ Oracle 9.2.0.1 ↘ Oracle 9.2.0.4 ↘ Oracle 10.2.0.5 ↘ Oracle 12.1.0.2
  • 10. Copyright © 2015 Oracle and/or its affiliates. All rights reserved. | But even if it does not look complicated at first sight ... How to Upgrade Hundreds or Thousands of Databases 10 0 50 100 150 200 250 300 350 400 10.2.0.3.0 10.2.0.4.0 10.2.0.5.0 11.2.0.1.0 11.2.0.2.0 11.2.0.3.0 11.2.0.4.0 2 21 9 10 113 292 382 Databases 54% (447 out of 829 databases) have no bug fixing support anymore
  • 11. Copyright © 2015 Oracle and/or its affiliates. All rights reserved. | Another example ... How to Upgrade Hundreds or Thousands of Databases 11 0%4% 5% 2% 3% 17% 35% 32% 2% Databases 9.2.0.7.0 10.2.0.3.0 10.2.0.4.0 10.2.0.5.0 11.2.0.1.0 11.2.0.2.0 11.2.0.3.0 11.2.0.4.0 12.1.0.2.0 828
  • 12. Copyright © 2015 Oracle and/or its affiliates. All rights reserved. | Don't maintain a zoo! How to Upgrade Hundreds or Thousands of Databases 12  135 Oracle databases – 7 different Oracle releases – 13 different Oracle patch levels  6 different OS vendors – 15 different OS versions 2% of all databases under bug fixing support
  • 13. Copyright © 2015 Oracle and/or its affiliates. All rights reserved. | Recommendation  Don't sit it out – It will just get more complicated and risky  Beware of application dependencies  Establish constant database inventory monitoring How to Upgrade Hundreds or Thousands of Databases 13
  • 14. Copyright © 2015 Oracle and/or its affiliates. All rights reserved. | Where should you start? How to Upgrade Hundreds or Thousands of Databases 14
  • 15. Copyright © 2015 Oracle and/or its affiliates. All rights reserved. | Project Approach? Planning Data Gathering Testing Upgrade/ Migration Go-Live Quarterly Patching How to Upgrade Hundreds or Thousands of Databases 15
  • 16. Copyright © 2015 Oracle and/or its affiliates. All rights reserved. | You need a plan How to Upgrade Hundreds or Thousands of Databases 16 Week T-10 Migration Initiation, & Plan Baseline & Migration Migration & Unit test initiation Unit Test Complete Application & Performance Test Start Application & Performance Tests Application & Performance Tests Application Testing Complete and Application Freeze Week T- 9 Week T-8 Week T-7 Week T- 6 Week T-5 Week T-4 Week T-3 Week T-2 Week T-1 Cutover Plan & Tests Migrate Go/No go Migration Weekend
  • 17. Copyright © 2015 Oracle and/or its affiliates. All rights reserved. | You need to know Which / Where / Who / When  Database inventory  OS inventory  Depending applications, certification  Responsibilities  Desired time frame How to Upgrade Hundreds or Thousands of Databases 17
  • 18. Copyright © 2015 Oracle and/or its affiliates. All rights reserved. | Build a tracking app – Use APEX How to Upgrade Hundreds or Thousands of Databases 18
  • 19. Copyright © 2015 Oracle and/or its affiliates. All rights reserved. | Build Workstreams and Database Groups How to Upgrade Hundreds or Thousands of Databases 19 Estate Analysis Workstream 1 Workstream 2 Workstream 3 Upgrade/Migration Group 1 Upgrade/Migration Group 2 Upgrade/Migration Group 3 Post Migration Monitoring, Troubleshooting, and Tuning Team Production Production with additional monitoring
  • 20. Copyright © 2015 Oracle and/or its affiliates. All rights reserved. | General Test Guidelines Upgrade/Migration Process Post-Upgrade Functionality Post-Upgrade Performance ProdLoad 20How to Upgrade Hundreds or Thousands of Databases
  • 21. Copyright © 2015 Oracle and/or its affiliates. All rights reserved. | Testing Effort  Relation between test completeness and costs Costslow high Completeness0%100% How to Upgrade Hundreds or Thousands of Databases 21
  • 22. Copyright © 2015 Oracle and/or its affiliates. All rights reserved. | Use the Right Tools: AWR Diff Reports AWR Diff Report Migrate R2 10.2.0.4 12.1.0.2 Snapshot Interval Snapshot Interval IBM AIX SOLARIS Compare 22How to Upgrade Hundreds or Thousands of Databases
  • 23. Copyright © 2015 Oracle and/or its affiliates. All rights reserved. | Use the Right Tools: Database Replay Database Replay Migrate R2 10.2.0.4 12.1.0.2 Capture Workload Replay Workload Compare – then restore and run again with changes IBM AIX SOLARIS Preprocess Workload 23How to Upgrade Hundreds or Thousands of Databases
  • 24. Copyright © 2015 Oracle and/or its affiliates. All rights reserved. | Use the Right Tools: SQL Performance Analyzer SQL Performance Analyzer STS Capture SQLs into a STS Load STS STS Evaluate, compare and tune – over and over again! Migrate R2 10.2.0.4 12.1.0.2 IBM AIX SOLARIS 24How to Upgrade Hundreds or Thousands of Databases
  • 25. Copyright © 2015 Oracle and/or its affiliates. All rights reserved. | Use the Right Tools: SPA Resulting Reports  Example: Report showing regressed statements and plans 25How to Upgrade Hundreds or Thousands of Databases
  • 26. Copyright © 2015 Oracle and/or its affiliates. All rights reserved. | Now RELAX ... Stay Calm ... And open an SR with Oracle Support in case of real trouble How to Upgrade Hundreds or Thousands of Databases 26 Picture taken from: https://aycw.wordpress.com/2015/06/10/young-peoples-attitudes-toward-work/
  • 27. Copyright © 2015 Oracle and/or its affiliates. All rights reserved. | And don't forget: The next patching day is right in front of you! Oracle PSUs get delivered on a quarterly basis: 20-OCT-2015 / 19-Jan-2016 / 19-Apr-2016 / 19-Jul-2016 How to Upgrade Hundreds or Thousands of Databases 27
  • 28. Copyright © 2015 Oracle and/or its affiliates. All rights reserved. | Use Oracle EM Lifecycle Management Pack How to Upgrade Hundreds or Thousands of Databases 28
  • 29. Copyright © 2015 Oracle and/or its affiliates. All rights reserved. | With a little help from ... Real Application Testing Upgrade over 300 databases at CSX How to Upgrade Hundreds or Thousands of Databases 29
  • 30. Copyright © 2015 Oracle and/or its affiliates. All rights reserved. | Real World Checkpoint  CSX – One of the nation‘s leading transportation suppliers  Encompasses 21,000 miles of tracks in 23 states, from Florida to Ontario  HQ in Jacksonville, Florida Customer Project Constraints Preparation Upgrade Success? Remarks How to Upgrade Hundreds or Thousands of Databases 30
  • 31. Copyright © 2015 Oracle and/or its affiliates. All rights reserved. |  Upgrade and migration of 304 databases to 11.2.0.2 over a 24 month period (2011-2012) – 1/3 production, 2/3 test and development systems – Source versions: Oracle 10.2.0.4 and a few Oracle 8i/9i – Single Instance on IBM AIX  RAC on Linux  Plan to use Real Application Testing – Guarantee quality and mitigate the risk of upgrading  Define standards – Install 11.2.0.2 and patches and apply latest PSU Real World Checkpoint Customer Project Constraints Preparation Upgrade Success? Remarks How to Upgrade Hundreds or Thousands of Databases 31
  • 32. Copyright © 2015 Oracle and/or its affiliates. All rights reserved. |  Limited downtime on some business critical systems  Testing cycles vary from 1-6 months depending on complexity and criticality  Tight on available testing resources – Time – People – Systems  New to Real Application Testing Real World Checkpoint Customer Project Constraints Preparation Upgrade Success? Remarks How to Upgrade Hundreds or Thousands of Databases 32
  • 33. Copyright © 2015 Oracle and/or its affiliates. All rights reserved. |  Close alliance with Oracle's Upgrade Development Group and Oracle's RAT Pack – CSX agreed to become an official Oracle Database 11.2 Reference Customer  Monthly status meetings  Onsite training  Live upgrade and RAT demo – Cloning databases methods for use with RAT Real World Checkpoint Customer Project Constraints Preparation Upgrade Success? Remarks How to Upgrade Hundreds or Thousands of Databases 33
  • 34. Copyright © 2015 Oracle and/or its affiliates. All rights reserved. |  Upgrade and migration methods used:  Policy: – Install Oracle SW with latest patches and PSU – Combine HW refresh and OS upgrades  Internal application to track owner, status, success 80% 20% Data Pump for OS Migration DBUA for Upgrades Real World Checkpoint Customer Project Constraints Preparation Upgrade Success? Remarks How to Upgrade Hundreds or Thousands of Databases 34
  • 35. Copyright © 2015 Oracle and/or its affiliates. All rights reserved. |  Yes –project took 2 years – 88% of all databases upgraded within 18 months – Some systems took longer due to business and/or resource constraints  Performance comparison mechanisms are very helpful  Regressions found and fixed before upgrade  RAT helped a lot to predict workload performance and ensure careful testing Real World Checkpoint Customer Project Constraints Preparation Upgrade Success? Remarks How to Upgrade Hundreds or Thousands of Databases 35
  • 36. Copyright © 2015 Oracle and/or its affiliates. All rights reserved. | “The Real Application Testing tool provided a comprehensive and flexible solution for assessing the impact of the Oracle 11g database upgrade into CSX systems. At CSX we were able to capture real production workloads, replay it in the 11g environment, identify poor performing queries and, fine tune these queries in a test environment before the production implementation.“ Maritza Gonzalez, Technical Director CSX Corporation Real World Checkpoint Customer Project Constraints Preparation Upgrade Success? Remarks How to Upgrade Hundreds or Thousands of Databases 36
  • 37. Copyright © 2015 Oracle and/or its affiliates. All rights reserved. |  More Information? https://blogs.oracle.com/UPGRADE/entry/csx_corporation_upgrades_databases_2x Real World Checkpoint Customer Project Constraints Preparation Upgrade Success? Remarks How to Upgrade Hundreds or Thousands of Databases 37
  • 38. Copyright © 2015 Oracle and/or its affiliates. All rights reserved. | A small team and an excellent plan Upgrade 300 databases at Mobiliar Insurance, Switzerland How to Upgrade Hundreds or Thousands of Databases 38
  • 39. Copyright © 2015 Oracle and/or its affiliates. All rights reserved. | Real World Checkpoint  Swiss Mobiliar – Switzerland's most personal insurer – Founded 1826 in Bern, oldest Swiss insurance – Legal form:  Cooperative association (mutual company) – Over 1.7 million persons and firms insured – Switzerland's no.1 insurer for:  Businesses, term life insurances, households – 80 general agencies at 160 locations – Over 4,400 employees and 325 trainees – Awarded Most Trusted Insurance Brand in Switzerland for 13 consecutive years 39 Customer Project Constraints Preparation Upgrade Success? Remarks How to Upgrade Hundreds or Thousands of Databases
  • 40. Copyright © 2015 Oracle and/or its affiliates. All rights reserved. | Real World Checkpoint  Upgrade 289 databases – Oracle Database 11.2.0.3 to Oracle Database 12.1.0.2 – 80 production databases  Oracle Cloud Control  AWR Warehouse (home-made)  Shell scripts  Oracle Restart with ASM  Oracle In Memory  OID 40 Customer Project Constraints Preparation Upgrade Success? Remarks How to Upgrade Hundreds or Thousands of Databases
  • 41. Copyright © 2015 Oracle and/or its affiliates. All rights reserved. | Real World Checkpoint  Project timeline: 24 months – Goal: 18 months 41 Customer Project Constraints Preparation Upgrade Success? Remarks How to Upgrade Hundreds or Thousands of Databases 0 5 10 15 20 25 30 35 40 45 Jan-15 Feb-15 Mrz-15 Apr-15 Mai-15 Jun-15 Jul-15 Aug-15 Sep-15 Okt-15 Nov-15 Dez-15 Migrations per month
  • 42. Copyright © 2015 Oracle and/or its affiliates. All rights reserved. | Real World Checkpoint  Small DBA Team – Only 3.8 FTE + 1 newbie  2 major software releases of Mobiliar Applications per year resulting in a full month of code freeze  Bug fixing support for Oracle 11.2.0.3 ended Aug 27, 2015  Highly complex applications – Queries with more than 1000 bind variables and 250 outer joins  One core team member broke his leg in September 2015 and did not return to work yet 42 Customer Project Constraints Preparation Upgrade Success? Remarks How to Upgrade Hundreds or Thousands of Databases
  • 43. Copyright © 2015 Oracle and/or its affiliates. All rights reserved. | Real World Checkpoint  All queries, execution time and execution paths are tracked on a self made AWR Performance DWH  Possibility to compare performance before and after the upgrade on query level  Performance tests performed by application owner  Regression tests done during the testing phase of the Mobi Software Release – PSU RDBMS 12.1.0.2.4, PSU GRID 12.1.0.2.2 – Two Oracle Homes on the same server – Upgrade with catctl.pl embedded into home-built shell script 43 Customer Project Constraints Preparation Upgrade Success? Remarks How to Upgrade Hundreds or Thousands of Databases
  • 44. Copyright © 2015 Oracle and/or its affiliates. All rights reserved. | Real World Checkpoint  Project Monitoring with Excel Sheet 44 Customer Project Constraints Preparation Upgrade Success? Remarks How to Upgrade Hundreds or Thousands of Databases 0 50 100 150 200 250 300 350 Jan-15 Feb-15 Mrz-15 Apr-15 Mai-15 Jun-15 Jul-15 Aug-15 Sep-15 Okt-15 Nov-15 Dez-15 Jan-15 Feb-15 Mrz-15 Apr-15 Mai-15 Jun-15 Jul-15 Aug-15 Sep-15 Okt-15 Nov-15 Dez-15 DBs 12c 0 7 10 18 26 62 105 126 136 152 157 170 DBs 11g 289 282 279 271 263 227 184 163 153 137 132 119 Oracle Database Swiss Mobiliar DBs 11g DBs 12c
  • 45. Copyright © 2015 Oracle and/or its affiliates. All rights reserved. | Real World Checkpoint  Automated upgrade via home-built scripts: 45 Customer Project Constraints Preparation Upgrade Success? Remarks How to Upgrade Hundreds or Thousands of Databases
  • 46. Copyright © 2015 Oracle and/or its affiliates. All rights reserved. | Real World Checkpoint  Live? And alive? – Yes! First system went live on Feb 4, 2015 – Current status (Oct 12, 2015):  152 out of 289 databases live on Oracle Database 12.1.0.2  53% upgraded already  Project perfectly on schedule 46 Customer Project Constraints Preparation Upgrade Success? Remarks How to Upgrade Hundreds or Thousands of Databases 137 152 No. Databases Oracle. 11.2.0.3 Oracle 12.1.0.2
  • 47. Copyright © 2015 Oracle and/or its affiliates. All rights reserved. | Real World Checkpoint  No major issues after go live – Issues caught during testing, e.g.: – Bug 20776435: PARSE OF INMEMORY QUERY IS SPINNING ON CPU  Query with 250 Left Joins  Workaround: alter session set "_optimizer_inmemory_table_expansion"=false; – Bug 19677469: NO QUERY REWRITE  Workaround: CREATE MATERIALIZED VIEW …. SELECT /*+ MV_MERGE */ … or: alter system set "_fix_control"='10145667:OFF'; 47 Customer Project Constraints Preparation Upgrade Success? Remarks How to Upgrade Hundreds or Thousands of Databases
  • 48. Copyright © 2015 Oracle and/or its affiliates. All rights reserved. | Real World Checkpoint  Oracle In-Memory boosts performance – Read on: http://tinyurl.com/Mobi12c 48 Customer Project Constraints Preparation Upgrade Success? Remarks How to Upgrade Hundreds or Thousands of Databases
  • 49. Copyright © 2015 Oracle and/or its affiliates. All rights reserved. | Real World Checkpoint "The entire upgrade project of our 300 Oracle databases at Die Mobiliar is running very well. When we catch issues, we fix them before going live. And features such as Oracle In-Memory add a lot of performance boost to some of our applications. Especially the Oracle Upgrade Reference Program was a great help and added a lot of value to our project's progress. We are very happy and satisfied with the upgrade process and the reliability and performance of Oracle Database 12c". Paolo Kreth, Group Manager Databases, Die Mobiliar 49 Customer Project Constraints Preparation Upgrade Success? Remarks How to Upgrade Hundreds or Thousands of Databases
  • 50. Copyright © 2015 Oracle and/or its affiliates. All rights reserved. | Famous Last Words Conclusion How to Upgrade Hundreds or Thousands of Databases 50
  • 51. Copyright © 2015 Oracle and/or its affiliates. All rights reserved. | Conclusion  If you have a complicated environment, you are not alone!  But, you can do it: – Plan your effort – Use the right tools – Track and report progress How to Upgrade Hundreds or Thousands of Databases 51
  • 52. Copyright © 2015 Oracle and/or its affiliates. All rights reserved. | Download Slides from the Database Upgrade Blog  http://blogs.oracle.com/UPGRADE How to Upgrade Hundreds or Thousands of Databases 52
  • 53. Copyright © 2015 Oracle and/or its affiliates. All rights reserved. | Oracle Confidential – Internal 53 Classroom Training Learning Subscription Live Virtual Class Training On Demand Keep Learning with Oracle University education.oracle.com Cloud Technology Applications Industries
  • 54. Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | How to Upgrade Hundreds or Thousands of Databases 54