Self-Managing Database: Easy Upgrade Tom Graves Consulting Member of Technical Staff Oracle Corporation Session id: 40084.

Slides:



Advertisements
Similar presentations
CHAPTER 4 Tablespaces and Datafiles. Introduction After installing the binaries, creating a database, and configuring your environment, the next logical.
Advertisements

2 Copyright © 2005, Oracle. All rights reserved. Installing the Oracle Database Software.
INTRODUCTION TO ORACLE Lynnwood Brown System Managers LLC Backup and Recovery Copyright System Managers LLC 2008 all rights reserved.
Page Footer Keed Education Oracle Database Administration Basic Copyright 2009 Keed Education BV Version Concept.
Oracle Database 12c Upgrade
The following is intended to outline our general product direction. It is intended for information purposes only, and may not be incorporated into any.
11 INSTALLING WINDOWS XP Chapter 2. Chapter 2: Installing Windows XP2 INSTALLING WINDOWS XP  Prepare a computer for the installation of Microsoft Windows.
1 - Oracle Server Architecture Overview
Harvard University Oracle Database Administration Session 2 System Level.
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment Chapter 12: Managing and Implementing Backups and Disaster Recovery.
RMAN Restore and Recovery
Backup and Recovery Part 1.
Agenda  Overview  Configuring the database for basic Backup and Recovery  Backing up your database  Restore and Recovery Operations  Managing your.
Media Partners.
Introduction to Oracle Backup and Recovery
DB Audit Expert v1.1 for Oracle Copyright © SoftTree Technologies, Inc. This presentation is for DB Audit Expert for Oracle version 1.1 which.
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment, Enhanced Chapter 12: Managing and Implementing Backups and Disaster Recovery.
Installing Windows Vista Lesson 2. Skills Matrix Technology SkillObjective DomainObjective # Performing a Clean Installation Set up Windows Vista as the.
Module 8: Server Management. Overview Server-level and instance-level resources such as memory and processes Database-level resources such as logical.
PPOUG, 05-OCT-01 Agenda RMAN Architecture Why Use RMAN? Implementation Decisions RMAN Oracle9i New Features.
© 2004 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice Automation Fundamental Concepts &
Migration XenDesktop 7. © 2013 Citrix | Confidential – Do Not Distribute Migration prerequisites Set up a XenDesktop 7 Site, including the site database.
SYN407D: Image Management made easy with Provisioning Services 6.0
CHAPTER 21 Automating Jobs. Introduction to Automating Jobs DBAs rely heavily on automating jobs. DBAs cannot be effective without automation. Listed.
Windows XP Professional Windows XP Professional Overview Install and Upgrade Windows XP Pro Customize and Manage Windows XP Pro Troubleshoot Common Windows.
Upgrading SCT Banner 2 u The process of maintaining SCT Banner involves frequent upgrades for both enhancement and error correction purposes u These.
CHAPTER 2 Implementing a Database. Introduction to Creating Databases After you’ve installed the Oracle software, the next logical step is to create a.
Chapter Oracle Server An Oracle Server consists of an Oracle database (stored data, control and log files.) The Server will support SQL to define.
Basic Oracle Architecture
SRUTHI NAGULAVANCHA CIS 764, FALL 2008 Department of Computing and Information Sciences (CIS) Kansas State University -1- Back up & Recovery Strategies.
5 Copyright © 2004, Oracle. All rights reserved. Using Recovery Manager.
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment, Enhanced Chapter 12: Managing and Implementing Backups and Disaster Recovery.
16 Copyright © 2007, Oracle. All rights reserved. Performing Database Recovery.
Microsoft Exchange 2000 Service Pack 2 Features Mark Barringer Support Professional Enterprise Messaging Support Microsoft Corporation.
The Self-Managing Database: Guided Application and SQL Tuning Mohamed Ziauddin Consulting Member of Technical Staff Oracle Corporation Session id:
1 Oracle Architectural Components. 1-2 Objectives Listing the structures involved in connecting a user to an Oracle server Listing the stages in processing.
Copyright © Oracle Corporation, All rights reserved. 1 Oracle Architectural Components.
An Oracle server:  Is a database management system that provides an open, comprehensive, integrated approach to information management.  Consists.
1 Chapter Overview Preparing to Upgrade Performing a Version Upgrade from Microsoft SQL Server 7.0 Performing an Online Database Upgrade from SQL Server.
Carey Probst Technical Director Technology Business Unit - OLAP Oracle Corporation.
The Self-Managing Database: Automatic SGA Memory Management Tirthankar Lahiri Senior Manager, Distributed Cache & Memory Management Oracle Corporation.
Rae Burns Principal Member of Technical Staff Oracle Corporation Aris Prassinos Distinguished Member of Technical Staff Motorola.
14 Copyright © 2005, Oracle. All rights reserved. Backup and Recovery Concepts.
Week 2 Lecture 1 Creating an Oracle Instance. Learning Objectives  Learn the steps for creating a database  Understand the prerequisites for creating.
The Self-managing Database: Proactive Space and Schema Object Management Amit Ganesh Director, Data, Space and Transaction Processing Oracle Corporation.
10 Copyright © Oracle Corporation, All rights reserved. User-Managed Backups.
Chapter 1Oracle9i DBA II: Backup/Recovery and Network Administration 1 Chapter 1 Backup and Recovery Overview MSCD642 Backup and Recovery.
Enterprise Manager: Scalable Oracle Management John Kennedy System Management Products, Server Technologies, Oracle Corporation Session id:XXXXX.
What is MySQL? MySQL is a relational database management system (RDBMS) based on SQL (Structured Query Language). First released in January, Many.
Overview of Oracle Backup and Recovery Darl Kuhn, Regis University.
Oracle Applications 11i Concepts II Brian Hitchcock OCP 11i DBA -- OCP 10g DBA Sun Microsystems Brian Hitchcock.
18 Copyright © 2004, Oracle. All rights reserved. Backup and Recovery Concepts.
CHAPTER 1 Installing the Oracle Binaries. Introduction to Managing and Safeguarding Your Organization’s Data Efficiently installing Oracle software Create.
18 Copyright © 2004, Oracle. All rights reserved. Recovery Concepts.
14 Copyright © 2005, Oracle. All rights reserved. Backup and Recovery Concepts.
Cognos 8 BI Configuration, Administration, and Upgrade Cognos 8 BI.
1 Copyright © 2007, Oracle. All rights reserved. Installation and Upgrade Enhancements.
13 Copyright © 2007, Oracle. All rights reserved. Using the Data Recovery Advisor.
CACI Proprietary Information | Date 1 PD² SR13 Client Upgrade Name: Semarria Rosemond Title: Systems Analyst, Lead Date: December 8, 2011.
CACI Proprietary Information | Date 1 PD² v4.2 Increment 2 SR13 and FPDS Engine v3.5 Database Upgrade Name: Semarria Rosemond Title: Systems Analyst, Lead.
14 Copyright © 2007, Oracle. All rights reserved. Backup and Recovery Concepts.
4 Copyright © 2004, Oracle. All rights reserved. Managing the Oracle Instance.
9 Copyright © 2004, Oracle. All rights reserved. Getting Started with Oracle Migration Workbench.
Oracle Database Architectural Components
CACI Proprietary Information | Date 1 Upgrading to webMethods Product Suite Name: Semarria Rosemond Title: Systems Analyst, Lead Date: December 8,
Fundamental of Databases
Data, Space and Transaction Processing
Introduction of Week 3 Assignment Discussion
Maximo Upgrade and Maximo Installation
Performing Database Recovery
Presentation transcript:

Self-Managing Database: Easy Upgrade Tom Graves Consulting Member of Technical Staff Oracle Corporation Session id: 40084

Oracle Database 10g Upgrade  Database upgrade is the process of transforming the internal Oracle database dictionary from one release to another – Driven primarily through SQL and PL/SQL scripts – Very careful ordering of execution and dependencies – Must complete cleanly and correctly before the database can be used

Oracle Database 10g Upgrade: Enhancements  Reduced Complexity – Component integration – Consolidation of steps – Single script to upgrade all components  Enhanced GUI tool to assist the upgrade – Database Upgrade Assistant (DBUA)

Oracle Database 10g Upgrade: Enhancements  Analysis of database before upgrade to increase likelihood of successful upgrade – Pre upgrade information tool  Upgrade Performance Enhancement – Parallel recompilation of invalid pl/sql database objects on multiprocessor CPUs  Verification of database upgrade – Post upgrade status tool

Reduced Complexity Automaticly determines what components (e.g. Java, Spatial…) need to be upgraded and then performs all necessary upgrades in correct dependency order All components in DBMS_REGISTRY Prior to Oracle Database 10g, much of the component script invocation was manual

Reduced Complexity  One measure of simplicity: Database Upgrade Guide documentation size is decreasing dramatically: – 8i 512 pages – 9i 484 pages – 111 steps total for RDBMS with all 9 components! – 9iR2 344 pages – 10g 230 pages - 6 steps!

Prepare to Upgrade  Become familiar with the features of the new Oracle Database 10g release  Determine the Upgrade Path to the new release  Choose an upgrade Method  Choose an Oracle Home Directory  Prepare a Backup Strategy  Develop a test plan

10g Upgrade Paths  Direct upgrade from 9iR2 (9.2.0), 9i (9.0.1), 8i (8.1.7),  If you are not at one of these versions you need to perform a “double-hop” Upgrade – E.g > > – > >

Choose an Upgrade Method  Database Upgrade Assistant (DBUA) – The Database Upgrade Assistant is a graphical user interface (GUI) tool that interactively steps the user through the upgrade process and configures the database to run with the new Oracle Database 10g release.  Manual Upgrade – A manual upgrade consists of running SQL scripts and utilities from the command line

Database Upgrade Assistant Advantages  Performs all necessary steps for the upgrade  Interacts with the DBA if decisions need to be made  Provides complete HTML report of the upgrade process  Significantly reduces database downtime

Manual Upgrade Advantages & Disadvantages  Advantage: – Gives the DBA finer control over the upgrade process  Disadvantage: – More work – More error prone

Pre Upgrade Analysis  Checks for certain known database, init.ora, etc settings that may cause upgrade to fail, and generates warnings E.g. shared_pool_size init.ora parameter is too low Utility runs in “old server” & “old database” context Based on “posterity” database knowledge + needs of Oracle Database 10g DBUA automatically performs any required actions

Pre Upgrade Analysis Database version and compatibility Redo logs <4MB Updated Parameters e.g. shared_pool_size Deprecated (renamed) parameters Obsolete parameters Cluster check Account Check

Pre Upgrade Analysis Names of Components in database e.g. JAVAVM, Spatial, etc Tablespaces – Increase in size recommendations – New SYSAUX tablespace Character set incompatibilities Installed options Upgrade time estimate

Key DBUA Features The Assistant automates the upgrade process by performing all the tasks you normally accomplish manually –Invokes the Pre Upgrade Information Utility and automatically makes appropriate adjustments (including tablespace, redo logs, etc) –Checks for adequate resources (disk space, rollback segments) –Creates mandatory tablespace SYSAUX –Optionally, backs up all necessary files. –Creates new configuration files (init.ora, spfile, listener) in the new Oracle home

Key DBUA Features During the upgrade process, the DBUA: –Runs all necessary scripts (pre-upgrade information utility, “u” script, post upgrade status utility) –Shows upgrade progress –Write detailed trace and logging files

Key DBUA Features Settings during upgradeSettings during upgrade – DBUA disables archiving during upgrade phase Security featuresSecurity features – DBUA locks new users in the upgraded database RAC-DBUA – RAC-DBUA facilitates upgrade of 8.1.7, 9.0.1, 9.2 to – Upgrade done on the cluster. All database and configuration files are upgraded on all the nodes in the cluster.

Key DBUA Features Customizable – ISV’s can customize DBUA to run their migration scripts – XML files driving the DBUA engine (created by pre upgrade information utility & post upgrade status utility) Silent mode for single command upgrade dbua –silent –sid ora9idb [-backup ]

Welcome Screen

Select the database to upgrade

Tablespace

Log Files

Create SYSAUX Tablespace

Parallel Recompilation

Database Backup

Pre-Upgrade Summary Page

Upgrade Progress

Upgrade Results

Upgrade Validation  New “Post Upgrade Status Utility” – utlu101s.sql –Queries component REGISTRY to determine upgrade status –Provides information about invalid/incorrect component upgrades –Provides script name to re-run if necessary –DBUA calls this script to display status and then takes corrective action

Upgrade Validation  “OPEN UPGRADE” mode will suppress certain spurious and unnecessary errors –Catch and handle ORA on DROP TABLE –Automatically handles setting certain system parameters that can otherwise cause problems during upgrade (E.g. set job_queue_processes = 0)  DBMS_REGISTRY package and system table are used to record and manage information about all the component upgrades – E.g. SQL> select... from dba_registry; —COMP_ID COMP_NAME VERSION STATUS — —CATALOG Oracle10g Catalog Views VALID

Manual Upgrade  Install Oracle Database 10g  Analyze the existing database using pre upgrade information Make necessary adjustments based on feedback  Shutdown database  Switch to New Oracle Home

Manual Upgrade  Startup Database SQL> startup upgrade  Create SYSAUX tablespace  Invoke the proper upgrade “u” script  Shutdown database  Startup database SQL> startup

Manual Upgrade  Run utlrp  Check upgrade status using post upgrade status tool

What’s Next…  Improve after-upgrade confirmation  Improve recovery options  Improve upgrade performance  Reduce downtime for upgrades

Next Steps….  Visit our demo ground – “Self Managing Database: Easy Upgrade” In the database area.

Reminder – please complete the OracleWorld online session survey Thank you.

A Q & Q U E S T I O N S A N S W E R S