Oracle Database 12c Upgrade

Slides:



Advertisements
Similar presentations
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | Your customer as a segment of one That changes every second! Hein Van Der Merwe Chief.
Advertisements

2 Copyright © 2005, Oracle. All rights reserved. Installing the Oracle Database Software.
4 Copyright © 2005, Oracle. All rights reserved. Managing the Oracle Instance.
OAUG Database SIG – Oracle 11g R2 Database Upgrade for E-Business Suite 11i Oracle Open World 2010 San Francisco Presented by Kaberi Nayak Senior Oracle.
Oracle Fusion Middleware Upgrade: Best Practices & Strategy
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | Oracle SQL Developer Tips & Tricks Jeff Smith
Self-Managing Database: Easy Upgrade Tom Graves Consulting Member of Technical Staff Oracle Corporation Session id:
The following is intended to outline our general product direction. It is intended for information purposes only, and may not be incorporated into any.
Chapter 9 Auditing Database Activities
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment Chapter 12: Managing and Implementing Backups and Disaster Recovery.
CON7911: Building the Roadmap to a Successful Oracle Commerce Upgrade
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | Oracle SQL Developer What’s New in Version 4.1 Jeff Smith
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | Advanced Metadata Modeling Modeling for the Oracle Business Intelligence Cloud.
Lesson 18: Configuring Application Restriction Policies
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | 2 Hidden Gems of APEX David Gale Software Engineer Oracle Application Express November,
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | Oracle SQL Developer For the DBA Jeff Smith
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | Oracle Fusion Middleware Upgrade: Best Practices & Strategy Renga Rengarajan - Oracle.
The Safe Harbor The following is intended to outline our general product direction. It is intended for information purposes only, and may not be incorporated.
2 Copyright © 2009, Oracle. All rights reserved. Installing your Oracle Software.
Best Practices for Supporting Oracle Hyperion EPM and Business Intelligence Solutions Mitra Veluri Senior Principal Technical Support Engineer David Valociek.
Best Practices for Upgrading Oracle PeopleSoft Environments
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | Title Slide without Picture Subtitle Presenter’s Name Presenter’s Title Organization,
Backup and Recovery Part 1.
Configuring Recovery Manager
9 Copyright © Oracle Corporation, All rights reserved. Oracle Recovery Manager Overview and Configuration.
Using RMAN to Perform Recovery
QAD .Net UI: New Enhancements
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment, Enhanced Chapter 12: Managing and Implementing Backups and Disaster Recovery.
“This presentation is for informational purposes only and may not be incorporated into a contract or agreement.”
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. JD Edwards Summit PaaS from an Applications Perspective Charles McGuinness Director,
C Copyright © 2009, Oracle. All rights reserved. Using Diagnosis and Debugging Techniques.
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 12 1.
1Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 8 Reporting from Contract.
Oracle Application Express 3.0 Joel R. Kallman Software Development Manager.
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment, Enhanced Chapter 12: Managing and Implementing Backups and Disaster Recovery.
Oracle Patching and Maintenance A practical guide for System Administrators October 2009.
ORACLE
January 21, 2009 Migrating an 11i Database to Linux – Tips, Tricks & Gotchas Mark Morgan DBA Consultant siMMian systems, inc
Copyright © 2012, Oracle and/or its affiliates. All rights reserved. 1 Quick Tutorial – Part 2 Open Data Web Services for Oracle BPM August, 2013 Forms.
1Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 8 Contract Management.
SQL Tuning made much easier with SQLTXPLAIN (SQLT) Mauro Pagano Senior Principal Technical Support Engineer Oracle Confidential – Internal/Restricted/Highly.
1 Chapter Overview Preparing to Upgrade Performing a Version Upgrade from Microsoft SQL Server 7.0 Performing an Online Database Upgrade from SQL Server.
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | Using Edition-based redefinition with PL/SQL How to deploy database code changes.
Database Security and Auditing: Protecting Data Integrity and Accessibility Chapter 9 Auditing Database Activities.
1Copyright © 2011, Oracle and/or its affiliates. All rights reserved.
1. When things go wrong: how to find SQL error Sveta Smirnova Principle Technical Support Engineer, Oracle.
Rae Burns Principal Member of Technical Staff Oracle Corporation Aris Prassinos Distinguished Member of Technical Staff Motorola.
Workforce Scheduling Release 5.0 for Windows Implementation Overview OWS Development Team.
Week 2 Lecture 1 Creating an Oracle Instance. Learning Objectives  Learn the steps for creating a database  Understand the prerequisites for creating.
10 Copyright © Oracle Corporation, All rights reserved. User-Managed Backups.
20 Copyright © 2008, Oracle. All rights reserved. Cache Management.
6 Copyright © 2007, Oracle. All rights reserved. Performing User-Managed Backup and Recovery.
2 Copyright © 2007, Oracle. All rights reserved. Configuring for Recoverability.
CHAPTER 1 Installing the Oracle Binaries. Introduction to Managing and Safeguarding Your Organization’s Data Efficiently installing Oracle software Create.
2 Copyright © 2006, Oracle. All rights reserved. Configuring Recovery Manager.
8 Copyright © 2007, Oracle. All rights reserved. Using RMAN to Duplicate a Database.
3 Copyright © 2007, Oracle. All rights reserved. Using the RMAN Recovery Catalog.
1 Copyright © 2007, Oracle. All rights reserved. Installation and Upgrade Enhancements.
10 Copyright © 2007, Oracle. All rights reserved. Using RMAN Enhancements.
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 12 1.
6 Copyright © 2006, Oracle. All rights reserved. Monitoring Grid Control.
16 Copyright © 2004, Oracle. All rights reserved. Testing the Migrated Oracle Database.
4 Copyright © 2004, Oracle. All rights reserved. Managing the Oracle Instance.
9 Copyright © 2004, Oracle. All rights reserved. Getting Started with Oracle Migration Workbench.
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | What You Need to Know About User Defined Objects (UDOs) With Tools Release 9.2.
Introduction of Week 3 Assignment Discussion
My Oracle Support (The next generation Metalink experience) lynn
JD Edwards Support and Oracle Cloud Infrastructure: A Successful Path to Oracle Cloud
Migrating your SQL Server Instance
Oracle Java SE Subscriptions; Protect Your Investment in Java SE
Presentation transcript:

Oracle Database 12c Upgrade Tools and Best Practices from Oracle Support This is a Title Slide with Picture slide ideal for including a picture with a brief title, subtitle and presenter information. To customize this slide with your own picture: Right-click the slide area and choose Format Background from the pop-up menu. From the Fill menu, click Picture and texture fill. Under Insert from: click File. Locate your new picture and click Insert. To copy the Customized Background from Another Presentation on PC Click New Slide from the Home tab's Slides group and select Reuse Slides. Click Browse in the Reuse Slides panel and select Browse Files. Double-click the PowerPoint presentation that contains the background you wish to copy. Check Keep Source Formatting and click the slide that contains the background you want. Click the left-hand slide preview to which you wish to apply the new master layout. Apply New Layout (Important): Right-click any selected slide, point to Layout, and click the slide containing the desired layout from the layout gallery. Delete any unwanted slides or duplicates. To copy the Customized Background from Another Presentation on Mac Click New Slide from the Home tab's Slides group and select Insert Slides from Other Presentation… Navigate to the PowerPoint presentation file that contains the background you wish to copy. Double-click or press Insert. This prompts the Slide Finder dialogue box. Make sure Keep design of original slides is unchecked and click the slide(s) that contains the background you want. Hold Shift key to select multiple slides. Apply New Layout (Important): Click Layout from the Home tab's Slides group, and click the slide containing the desired layout from the layout gallery. Agrim Pandit Principal Software Engineer Oracle Software Support September 30, 2014 Copyright © 2014, Oracle and/or its affiliates. All rights reserved. |

This is a Safe Harbor Front slide, one of two Safe Harbor Statement slides included in this template. One of the Safe Harbor slides must be used if your presentation covers material affected by Oracle’s Revenue Recognition Policy To learn more about this policy, e-mail: Revrec-americasiebc_us@oracle.com For internal communication, Safe Harbor Statements are not required. However, there is an applicable disclaimer (Exhibit E) that should be used, found in the Oracle Revenue Recognition Policy for Future Product Communications. Copy and paste this link into a web browser, to find out more information.   http://my.oracle.com/site/fin/gfo/GlobalProcesses/cnt452504.pdf For all external communications such as press release, roadmaps, PowerPoint presentations, Safe Harbor Statements are required. You can refer to the link mentioned above to find out additional information/disclaimers required depending on your audience.

Program Agenda 1 Why Upgrade ? Overview and Concept Upgrade Tools and Best Practices Useful References for Upgrade 2 3 4

Why Upgrade To 12c Release 1 ? Benefits of upgrading the database New Features Useful and Desirable Features Improve Performance Potential Cost Saver Easy Administration Increase Support Length Premier Support until July 2018 Extended Support until July 2021 Premier Support Save Extended Support Fee Patchset, PSU,SPU and other Bug fixes are available

Upgrade Vs Migration UPGRADE The process of changing the data dictionary contents of a database to reflect a newer release No User or Application data will be touched or modified Independent of the size of the database Major Release Upgrade : Upgrading from 11.2 to 12.1 Patchset Upgrade :Upgrading from 12.1.0.1 to 12.1.0.2 MIGRATION Move to new OS ,hardware and character set conversation. Dependent on the size of the database

Upgrade Methods DBUA (Recommended) Manual Upgrade Expdb/Impdp

12c Upgrade Path Direct or Indirect Path

Upgrade Documentation

Upgrade Companion MOS Note 1462240.1 Oracle 12cR1 Upgrade Companion

Upgrade blog https://blogs.oracle.com/UPGRADE/

OTN upgrade page http://otn.oracle.com/goto/upgrade

Certification Database Sever and Platform certification

Software Download Locations https://edelivery.oracle.com http://www.oracle.com/us/downloads/index.html https://support.oracle.com

Install the latest Software Reduce patching downtime: Install the LATEST PATCHSET or BASE RELEASE Patchset is complete installation software from 11.2.0.2 Onwards Install the Binaries in new Oracle home . Recommended: OUT OF PLACE Apply the latest PATCH SET UPDATE for Unix and BUNDLE PATCH for Windows The first PSU for 12.1.0.2 will be released on October 2014 Apply Interim Patches for Known issue Note 1454618.1 : Quick Reference to Patch Numbers for Database PSU, SPU(CPU), Bundle Patches and Patchsets

Upgrade Grid Infrastructure Upgrade Grid Infrastructure BEFORE upgrading the Oracle Database Install the Grid Infrastructure in NEW Oracle home ( Out-of Place Upgrade) Oracle Grid Infrastructure Home Oracle Database Server Home Note 1579762.1 How to Upgrade to Oracle Grid Infrastructure 12c Release 1 and Known Issues

Pre Upgrade Checklist Source Oracle home VALIDATE Invalid database OBJECTS in SYS and SYSTEM schema Invalid database COMPONENTS SYS and SYSTEM does not have DUPLICATE OBJECTS CLUSTER_DATABASE is set to FLASE REMOVE HIDDEN parameter and EVENTS DEPRECATED parameter OBSOLETE database COMPONENTS RECYCLE BIN objects CREATE Gather Statistics Preserve Statistics Backup of the Database

New Pre-Upgrade Information Tool :preupgrd.sql Upgrade SQL Automation preupgrd.sql is introduced in 12c R1 It has replaced utlu<nnn>i.sql Runs in the source Database Generates Fix up scripts preupgrade_fixups.sql postupgrade_fixups.sql

Prepare Source database Run Preupgrade Tool on the Source Database Execute preupgrd.sql Location: $ORACLE_BASE/cfgtoollogs/<SID>/preupgrade Logs generated by preupgrd.sql Copy preupgrd.sql & Utluppkg.sql Source DB Target DB preupgrade.log preupgrade_fixups.sql - postupgrade_fixups.sql

Preupgrade Checks Compatible Parameter Check OCM user existence check $ORACLE_BASE/cfgtoollogs/<SID>/preupgrade/preupgrade.log $ORACLE_BASE/cfgtoollogs/<SID>/preupgrade/preupgrade_fixups.sql Compatible Parameter Check OCM user existence check Gather dictionary statistics

Remove Obsolete Components Enterprise Manager Database Control Repository is superseded in 12c By EM Express Remove EM repository It will be automatically removed during the catuppst.sql post-upgrade phase. $emctl stop dbcontrol SQL> @ ?/rdbms/admin/emremove.sql Remove Oracle UltraSearch before doing the upgrade Oracle UltraSearch does not exist in Oracle Database 11.2 and onwards For Oracle Database 10.2 SQL> @ ?/ultraserach/admin/wk0deinst.sql SYS password ‘‘ ‘‘

Oracle Label Security Essential Step if Oracle Label Security and/or Database Vault was already in the database before upgrade Execute olspreupgrde.sql in source Database SQL> @ ?/rdbms/admin/olspreupgrade.sql Prepares the move of AUD$ table from SYSTEM to SYS. Processes the audit records to minimize downtime. Move records to an interim temporary table.

Time Zone Version Pre or Post Upgrade Actions Default Time Zone Version 12c R1 is DST V18 If Time Zone version at source database HIGHER than target database Apply the Time Zone patch on target to match the source database version If Time Zone version at source database LOWER than target database Time Zone conversion need to be done post upgrade. Most Recent Time Zone version is DST V22 Time Zone definitions in $OH/oracore/zoneinfo Note 1585343.1 Scripts to automatically update the RDBMS DST (timezone) version in an 11gR2 or 12cR1 database

Backup the Database Take a backup of the Database. Always create a valid and complete online backup with RMAN Test the restore and the recovery at least once. Make sure your fallback strategy covers during and after cases

Compatible Parameter Compatible 11.0.0 or higher is MUST Minimum COMPATIBLE parameter for 12c is 11.0.0. Leave COMPATIBLE at the original value for a week before changing to 12.0.0. No way back once COMPATIBLE set to 12.0.0 Compatible 11.0.0 or higher is MUST Downgrade NOT possible Compatible remain to 11.x.x Downgrade possible Database restart is required to change the COMPATIBLE parameter later SQL> alter system set compatible = '12.0.0' scope=spfile; SQL> Shutdown immediate ; SQL> conn / as sysdba SQL> startup

Diagnostic Collection Script (dbupgdiag.sql) Note 556610.1: Script to Collect DB Upgrade/Migrate Diagnostic Information (dbupgdiag.sql)

New Upgrade Utility : catctl.pl It is introduced in Oracle database server 12c R1 It loads the data dictionary and components in PARALLEL Default Parallelism 4 Maximum Parallelism 8 catctl.pl supported options

12c Upgrade Start the Database in UPGRADE mode using the 12c binaries Exit the sqlplus

12c Upgrade Parallelism Start the upgrade on the Shell with catctl.pl with PARALLEL option .

12c Upgrade Logs Default log location is current working directory Use –l parameter to specify the log location One log file for each thread Upgrade is running with 8 Parallel processes Total DB components upgrade time

Post Upgrade Checklist Target Oracle home EXECUTE $ORACLE_HOME/rdbms/admin/utlrp.sql $ORACLE_HOME/rdbms/admin/utlu121s.sql UPGRADE TIMEZONE version CREATE SPFILE for PFILE Gather STATISTICS BACKUP of the database

Post Upgrade Fixups TimeZone Version Check $ORACLE_BASE/cfgtoollogs/<SID>/preupgrade/preupgrade.log $ORACLE_BASE/cfgtoollogs/<SID>/preupgrade/postupgrade_fixups.sql TimeZone Version Check Gather Fixed Objects Statistics

Verify Upgrade Logs Review Upgrade logs and traces DBUA logs $ORACLE_BASE /cfgtoollogs/DBUA/<SID>/upgrade<n> If ORACLE_BASE is set $ORACLE_BASE /cfgtoollogs/DBUA/<SID>/upgrade<n> If ORACLE_BASE is NOT set $ORACLE_HOME /cfgtoollogs/DBUA/<SID>/upgrade<n> Manual upgrade logs Location Specified using - l parameter of catctl.pl Current working directory Check alert_SID.log utlu121s.sql output

Verify Upgrade New successful upgrade status for CATALOG and CATPROC component Run the utlrp.sql to change the status to VALID

Upgrade Status Summary Tool :utlu121s.sql

Useful References for Upgrade Note 1462240.1 Oracle 12c Upgrade Companion Note 1515747.1 Oracle Database 12c Release 1 (12.1) Upgrade New Features Note 1493645.1 Oracle Database 12c Release 1 (12.1) DBUA : Understanding New Changes With All New 12.1 DBUA Note 1516557.1 Complete Checklist for Upgrading to Oracle Database 12c Release 1 (12.1) using DBUA Note 1503653.1 Complete Checklist for Manual Upgrades to Oracle Database 12c Release 1 (12.1) Note 1516616.1 Oracle Database 12c Release 1 (12.1) DBUA in Silent mode