9
Upgrading to Oracle Database 12c  Tim Warner timwarnertech.com @TechTrainerTim

7-oracle-database-12c-installation-upgrade-m7-slides.pdf

Embed Size (px)

Citation preview

  • Upgrading to Oracle Database 12c

    Tim Warnertimwarnertech.com

    @TechTrainerTim

  • Overview: Upgrading to Oracle Database 12c

    Comparing upgrade to migration

    Upgrading Grid Infrastructure is it possible?

    Running the pre-upgrade information tool

    Understanding impacts on multi-tenancy

    Performing a direct upgrade using the Database Upgrade Assistant (DBUA)

  • Upgrade vs. Migration

    According to Oracle, upgrade refers to modifying the data dictionary to be compatible with a newer version of Oracle Direct upgrade (new instance, overwrite existing DB)

    Indirect upgrade (stepwise upgrade)

    Migration involves copying or moving the user data from the source database into another database with a higher version number

  • Supported Upgrade Paths to Oracle Database 12c

  • Performing a Direct Upgrade

    Oracle Grid Infrastructure 12c has an upgrade option

    You have the opportunity to upgrade an existing database during Oracle Database 12c instance creation

    Database Upgrade Assistant (DBUA)

    Manually run upgrade scripts

  • The Pre-Upgrade Information Tool

    A .sql script that analyzes your source database prior to your actually performing the direct upgrade

    Creates a fixup script depending upon the results of the scan

    Run the following two files on the target system: preupgrd.sql

    utluppkg.sql

    SQL> @$ORACLE_HOME/rdbms/admin/preupgrd.sql

    The fixup scripts and log file are created in the /preupgrade directory of the source database

  • Performing a Data Migration

    Export and import tablespaces using the transportable tablespace feature

    Oracle Data Pump Export and Import using dump files or network mode

    Well cover these methods in another Pluralsight course

  • What About Multi-Tenancy?

    Caveat: The CDB must be a separate

    instance

    Caveat: The databases must have

    compatible features, settings, character

    sets, etc.

    After you upgrade your database to 12c, you can simply plug it

    into a CDB

    PresenterPresentation NotesA nice way to break up the monotony of regular text slide content. Relevant visual can go above the text. But dont feel like you force a visual on every slide.

  • Summary

    Undo data is crucial for rollback, read consistency and Flashback operations

    Oracle manages most Undo settings by default

    We can also let Oracle make spacemanagementsuggestions

    Upgrading to Oracle Database 12cOverview: Upgrading to Oracle Database 12cUpgrade vs. MigrationSupported Upgrade Paths to Oracle Database 12cPerforming a Direct UpgradeThe Pre-Upgrade Information ToolPerforming a Data MigrationWhat About Multi-Tenancy?Summary