Beruflich Dokumente
Kultur Dokumente
Change
© 2010 Oracle Corporation 3
What do you have from the past…
Online Application
Upgrade Total Recall
Online Application
Upgrade Total Recall
Major
Version X Version X X X+1 Release
1 2 Upgrades
Initial SQL Apply Config Upgrade node B to X+1
Online Application
Upgrade Total Recall
Capture DB Workload … …
Test migration
Oracle DB to RAC
Storage
Online Application
Upgrade Total Recall
Workload
Generate
Recommendations
Choose
Candidate
SQL SQL Tuning
one Candidates
week
It’s Automatic!
View Reports /
AWR Control
DBA Process
Online Application
Upgrade Total Recall
HJ
• Upgrade scenario 1:
• Parameterize the optimizer back to the "old" behaviour
• Works for all database releases since 8.0.3
• Upgrade scenario 2:
• Transport the well known plans to the new release
• Works since 10gR2
• Also works with stored outlines (pre 10g) with
DBMS_SPM.MIGRATE_STORED_OUTLINE
• Ship a new application (module) along with appropriate SQL plan
baselines:
• Ship the best execution plans for the new statements within a staging
table and ensure that they'll be used
• Works since 11g
• @Software Vendor:
• Create a staging table using
DBMS_SPM.CREATE_STGTAB_BASELINE
• Pack the required baselines into the staging table using
DBMS_SPM.PACK_STGTAB_BASELINE
• Export the staging table into a dump file using Data Pump or Export
and transport it to the target system
• @Customer:
• Import the dump file into the target database
• Unpack the SQL Plan Baselines from the staging table into
the SQL Management Base of the target system
• DBMS_SPM.UNPACK_STGTAB_BASELINE
Online Application
Upgrade Total Recall
Flashback
Flashback Flashback Flashback Data Archive
Query Tables Database and
Transaction
Total Recall
Online Application
Upgrade Total Recall
9.2.0.8
10.1.0.5
10.2.0.2
11.2