Oracle Cloud Platform - Migrer vers la Database 12c
-
Upload
bastien-leblanc -
Category
Technology
-
view
77 -
download
1
Transcript of Oracle Cloud Platform - Migrer vers la Database 12c
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | Accélérer et Sécuriser vos Migrations
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Accélérer et Sécuriser vos Migrations
Cloud Platform, Migrer vers la Database 12c
Bastien Leblanc - Sales Consultant – Oracle @BastLeblanc - [email protected]
Accélérer et Sécuriser vos Migrations
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Pourquoi migrer ?
Infrastructure vieillissante
Innovation
Besoin de fonctionnalités étendues
Réduction des coûts Besoin de performance
Accélérer et Sécuriser vos Migrations 3
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | Accélérer et Sécuriser vos Migrations
Pourquoi Migrer?
Infrastructure vieillissante Hardware amorti ou plus
supporté
4
11gR2 : fin du support premier Janvier 2015
Non-adéquation avec les performances attendues
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | Accélérer et Sécuriser vos Migrations
Pourquoi Migrer?
Réduction des coûts
Matériel: Consolidation
5
Support : pas d’augmentation
Stockage: Optimisation de vos volumes
Administration: Simplification
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | Accélérer et Sécuriser vos Migrations
Pourquoi Migrer?
Besoin de performances
Optimisation : Parallélisation des traitements
Stockage trop important
6
Infrastructure : Nécessité de remplacer du matériel
obsolète
Temps-Réel : Performance des traitements de type
reporting/décisionnel
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Innovation Besoin de fonctionnalités étendues
Accélérer et Sécuriser vos Migrations
Pourquoi Migrer?
7
Agilité : moins de complexité et plus de rapidité pour
contenter les métiers
Cloud : flexibilité totale des usages de ses assets
numériques
Temps-Réel : disponibilité des informations en un temps
record
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Migrer aisément
Database Lifecycle Management Pack
Sécuriser sa Migration Real Application Testing Diagnostic Pack Tuning Pack
Migrer sans coupure
Goldengate
Accélérer et Sécuriser vos Migrations
Accélérer et Sécuriser vos Migrations 8
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
Oracle 11.1 (GA: Aug 2007)
Oracle 11.2 (GA: Sep 2009)
Oracle 12.1 (GA: Jun 2013)
Support des versions Database
Sustaining Support
AUG 2015 AUG 2012
JAN 2018 JAN 2015
JUN 2021 JUN 2018
Waived Extended Extended Support Premier Support
9
Aujourd’hui
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Chemin de migration vers Oracle Database 12c Oracle
7.3.4
Oracle
8.0.6
Oracle
8.1.7.4
Oracle
9.0.1.4
Oracle
9.2.0.8
Oracle
101.0.5
Oracle
10.2.0.5
Oracle
11.10.7
Oracle
11.2.0.2
Oracle
12.1.0.1
Oracle 7.3 (GA: 1996)
Oracle 8.0 (GA: 1997
Oracle 8.1 (GA: 1998)
Oracle 9.0 (GA: 2001)
Oracle 9.2 (GA: Jul 2002)
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)
DIRECT 11.2.0.2
DIRECT 11.1.0.7
DIRECT 10.2.0.5
11.2.0.2 9.2.0.8 7.3.4
11.2.0.2 9.2.0.8 8.0.6
10.2.0.5 8.1.7.4
10.2.0.5 9.0.1.4
11.2.0.2 9.2.0.8
11.2.0.2 10.1.0.5
Accélérer et Sécuriser vos Migrations 10
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Même OS
ou Serveur? N Y
Upgrade/Migration
Oracle RAC (Rolling Patch)
Downtime >30min?
Y
N
Active DataGuard (Rolling Upgrade)
CLI
$> catctl.pl Oracle Golden Gate
Full Transportable Exp/Imp
Export / Import
DBUA / DBLM
Zero Downtime
Méthodes de Migration
Y
N
Downtime >30min?
Accélérer et Sécuriser vos Migrations 11
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Informations Disponibles
MyOracle Support:
• Upgrade Companion 12c • Note:1462240.1
Oracle Technology Network • http://otn.oracle.com/goto/upgrade
Oracle.com: • http://www.oracle.com/technetwork/database/upgrade/index.html
12 Accélérer et Sécuriser vos Migrations
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Pour télécharger
les slides
Upgrade Blog : blogs.oracle.com/UPGRADE
Accélérer et Sécuriser vos Migrations
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Votre projet de migration de vos bases de données
1 • Préparation
Prérequis, inventaire, planning métiers, etc...
2 • Migration des environnements de tests
3 • Tests
Non régression, performance, retour arrière, procédures, etc.
4 • Migration
Tous les environnements jusqu‘à la Production
5 • Suivi de Production
Performance, stratégie de patching, nouvelles fonctionnalités,...
… semaines jusqu’à
plusieurs mois…
Actuellement
Accélérer et Sécuriser vos Migrations 14
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Migration avec Database Lifecycle Management
Accélérer et Sécuriser vos Migrations 15
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Migration avec DBLM : Deux étapes
1. Upgrade de V102 en 12.1.0.1
V102 10.2.0.5
V102 12.1
Upgrade Database
Container CDB12
Provision Pluggable Database
2. « Plug » de V102 upgradée dans le container CDB12
Accélérer et Sécuriser vos Migrations 16
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Gestion du cycle de vie des bases de données Database Lifecycle Management Pack : 3 grandes fonctions
Discovery & Provisioning
Patching , Upgrade & Change Mngt
Configuration & Compliance
Découverte des actifs et déploiement des logiciels sur ceux-ci
Gestion de bout en bout des patches, des mises à jour et des évolutions de schémas
Inventaire et dérives
Suivi des configurations
Conformité
1 2 3
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Database Lifecycle Management
Gestion complète du cycle de vie ROI démontré Une fondation pour le Cloud
Accélérer et Sécuriser vos Migrations 42
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Migrer aisement
Database Lifecycle Management Pack
Sécuriser sa Migration Real Application Testing Diagnostic Pack Tuning Pack
Migrer sans coupure
Goldengate
Accélérer et Sécuriser vos Migrations
Accélérer et Sécuriser vos Migrations 43
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Real Application Testing
Solution unique de testing pour la base de données Oracle
Charge réelle de production versus 3 à 5% en simulation de charge classique
Combien coûte une heure d’indisponibilité de vos applications critiques ?
Réduisez de 150 jours à seulement 10 jours, la durée de vos tests DB.
100%
150j > 10 j
Accélérer et Sécuriser vos Migrations 44
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Real Application Testing : Quels cas d’usage ?
LORS DES EVOLUTIONS TECHNOLOGIQUES
Sécuriser le changement
AU QUOTIDIEN Optimiser de la performance DB
Find
Fix Validate
Accélérer et Sécuriser vos Migrations 45
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Accélérez vos migrations avec Real Application Testing
Database Replay • Testez avec un vrai flux de production : pas de simulation,
pas de scripts!
SQL Performance Analyzer • Analysez rapidement l’impact des alternatives suggérées
par le Tuning Oracle.
Test
Capture Process Replay Analysis & Reporting
Production
Storage Storage
DB
App
DB
Replay clients
Accélérer et Sécuriser vos Migrations 46
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
1) Capture de la charge réelle avant/après changement
2) Rejeu avant/après changement
RAT DB Replay : Comment ca marche ?
3) Mesure de l’impact global
4) Analyse des différences dans le détail
File 2
File n
…
File 1
File 2
Accélérer et Sécuriser vos Migrations 47
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Consolidated Database Replays Valider votre stratégie de consolidation
Accélérer et Sécuriser vos Migrations
SALES
HR
ERP
CRM
• Validation de charges capturées sur plusieurs systèmes • Compatible avec les pluggables Database 12c et les bases consolidées « manuellement »
48
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
SQL Performance Analyzer
SQL Performance Analyzer
STS
Capture du TOP SQL dans un STS
Chargement du STS
Processus itératif : Evaluation, comparaison et optimisation
Migration
10.2.0.4 12.1.0.2 Production Test
STS
Accélérer et Sécuriser vos Migrations 49
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
SPA « Quick Check » : La nouveauté !
• Testez et optimiser directement depuis la base de production.
• Valider en un clic les tâches quotidiennes du DBA :
• optimisation de la collecte des statistiques
• modification des paramètres init.ora
• rajout index …
• Gain considérable de temps.
• Faites évoluer votre DB en toute sécurité.
SQL Performance Analyzer
QUICK CHECK En un clic sur la production
Find
Fix Validate
Accélérer et Sécuriser vos Migrations 50
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Real Application Testing SQL Performance Analyzer
Accélérer et Sécuriser vos Migrations 52
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
SQL Performance Analyzer
STS
Capture du TOP SQL dans un STS
Chargement du STS
DB11 11.2.0.4 DB12
Accélérer et Sécuriser vos Migrations 53 Accélérer et Sécuriser vos Migrations 53
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Migrer aisement
Database Lifecycle Management Pack
Sécuriser sa Migration Real Application Testing Diagnostic Pack Tuning Pack
Migrer sans coupure
Goldengate
Accélérer et Sécuriser vos Migrations
Accélérer et Sécuriser vos Migrations 95
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Capture
<5 mins
Migration Zero Downtime avec GoldenGate
Upgrade, Migrate & Consolidate to Oracle Database 12c 96
Oracle 10.2.0.3 Oracle 12c
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Capture
Trail: Stocke les données générées
Trail
<5 mins
97 Upgrade, Migrate & Consolidate to Oracle Database 12c
Oracle 10.2.0.3 Oracle 12c
Migration Zero Downtime avec GoldenGate
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Capture Trail
Construire la base cible avec au choix - Transportable Tablespaces x-Platform - Export/Import avec Data Pump
<5 mins
98 Upgrade, Migrate & Consolidate to Oracle Database 12c
Oracle 10.2.0.3 Oracle 12c
Migration Zero Downtime avec GoldenGate
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Capture Trail
Pump: Distribuer les données générées
Pump
<5 mins
99 Upgrade, Migrate & Consolidate to Oracle Database 12c
Oracle 10.2.0.3 Oracle 12c
Migration Zero Downtime avec GoldenGate
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Route: Les données sont compressées & chiffrées
Capture Trail Pump Trail
Oracle 10.2.0.3 <5 mins
Oracle 12c
100 Upgrade, Migrate & Consolidate to Oracle Database 12c
Migration Zero Downtime avec GoldenGate
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Delivery: Appliquer les données avec intégrité des transaction, éventuellement transformation
Capture Trail Pump Trail Delivery
<5 mins
101 Upgrade, Migrate & Consolidate to Oracle Database 12c
Oracle 10.2.0.3 Oracle 12c
Migration Zero Downtime avec GoldenGate
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
GoldenGate fonctionne de façon bidirectionelle - même d’une release supérieure
Capture Trail Pump Trail Delivery
<5 mins
Bi-directional
102 Upgrade, Migrate & Consolidate to Oracle Database 12c
Oracle 10.2.0.3 Oracle 12c
Migration Zero Downtime avec GoldenGate
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Capture Trail Pump Trail Delivery
Bi-directionel
103 Upgrade, Migrate & Consolidate to Oracle Database 12c
Oracle 10.2.0.3 Oracle 12c Migration – zero downtime
Sécurité/ Retour Arrière sans arrêt de service
Migration Zero Downtime avec GoldenGate
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Migrer aisement
Database Lifecycle Management Pack
Sécuriser sa Migration Real Application Testing Diagnostic Pack Tuning Pack
Migrer sans coupure
Goldengate
Accélérer et Sécuriser vos Migrations
Accélérer et Sécuriser vos Migrations 104
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Time to Migrate!
Accélérer et Sécuriser vos Migrations
@BastLeblanc - [email protected]
105
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | Accélérer et Sécuriser vos Migrations 106