Rae Burns Principal Member of Technical Staff Oracle Corporation Aris Prassinos Distinguished Member of Technical Staff Motorola.

Slides:



Advertisements
Similar presentations
ITEC474 INTRODUCTION.
Advertisements

Copyright © SoftTree Technologies, Inc. DB Tuning Expert.
18 Copyright © Oracle Corporation, All rights reserved. Transporting Data Between Databases.
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
Oracle Database 12c Upgrade
Self-Managing Database: Easy Upgrade Tom Graves Consulting Member of Technical Staff Oracle Corporation Session id:
15 Copyright © 2004, Oracle. All rights reserved. Monitoring and Managing Memory.
Oracle 10g Database Administrator: Implementation and Administration
Copyright © 2009 Rolta International, Inc., All Rights Reserved a c c e l R12™ Upgrade Approach.
Harvard University Oracle Database Administration Session 2 System Level.
2 Copyright © 2009, Oracle. All rights reserved. Installing your Oracle Software.
9 Copyright © Oracle Corporation, All rights reserved. Oracle Recovery Manager Overview and Configuration.
Introduction to Oracle Backup and Recovery
IS 4510 – Database Administration Module – 2 Database Backup 10/24/20141Compiled by: Zafar Iqbal Khan.
Backup & Recovery Concepts for Oracle Database
Installing Windows Vista Lesson 2. Skills Matrix Technology SkillObjective DomainObjective # Performing a Clean Installation Set up Windows Vista as the.
Oracle Recovery Manager (RMAN) 10g : Reloaded
C Copyright © 2009, Oracle. All rights reserved. Using Diagnosis and Debugging Techniques.
Migration XenDesktop 7. © 2013 Citrix | Confidential – Do Not Distribute Migration prerequisites Set up a XenDesktop 7 Site, including the site database.
Andrew Holdsworth Director, Real World Performance Oracle Corporation Aris Prassinos Distinguished Member of Technical Staff Motorola James Haluska Systems.
M ODULE 2 D ATABASE I NSTALLATION AND C ONFIGURATION Section 1: DBMS Installation 1 ITEC 450 Fall 2012.
■ Decide on the local database name, and which domain will contain this database. These names are set in the initialization parameters DB_NAME and DB_DOMAIN.
15 Copyright © 2005, Oracle. All rights reserved. Performing Database Backups.
Installing Windows Vista Lesson 2. Skills Matrix Technology SkillObjective DomainObjective # Performing a Clean Installation Set up Windows Vista as the.
ORACLE
© 2005 Solution Beacon, LLC. All Rights Reserved. Release 11i Workshop Migrate Your Release 11i Oracle Applications to Linux Session Leader Kevin Dahl,
January 21, 2009 Migrating an 11i Database to Linux – Tips, Tricks & Gotchas Mark Morgan DBA Consultant siMMian systems, inc
Deploying Windows 7 Lesson 3. Objectives Understand enterprise deployments Capture an image file Modify an image file Deploy an image file.
Oracle Advanced Compression – Reduce Storage, Reduce Costs, Increase Performance Session: S Gregg Christman -- Senior Product Manager Vineet Marwah.
1 Maintenance Wizard NorCal OAUG Training Day – January 17, 2008 David Warhoe Customer Support Manager Customer Support Education.
DTS Conversion to SSIS Conversion Best Practices Mike Davis
Oracle 10g Database Administrator: Implementation and Administration Chapter 2 Tools and Architecture.
Chris Wright Senior Systems Engineer, Lucity MOVING TO ONE DATABASE FOR SQL SERVER.
Introduction to the new mainframe © Copyright IBM Corp., All rights reserved. Chapter 12 Understanding database managers on z/OS.
Module 5: Upgrading to SQL Server 7.0. Overview Planning an Upgrade Preparing to Upgrade Verifying the Upgrade Setting a Compatibility Level.
1 Chapter Overview Preparing to Upgrade Performing a Version Upgrade from Microsoft SQL Server 7.0 Performing an Online Database Upgrade from SQL Server.
Oracle FULL EXP/IMP 11i Database SURENDER SARA NCOAUG
Oracle 10g Database Administrator: Implementation and Administration Chapter 1 Oracle Architecture Overview.
SONIC-3: Creating Large Scale Installations & Deployments Andrew S. Neumann Principal Engineer, Progress Sonic.
Partners’ Webinar 01/31/2013 Karol Jarkovsky Solution Architect Upgrading Kentico.
IT Database Administration Section 09. Backup and Recovery Backup: The available options Full Consistent (cold) Backup Database shutdown, all files.
Week #2 Objectives Upgrade and Migrating to Windows 7 Image-Based Installation of Windows 7 Application Compatibility.
Mark E. Fuller Senior Principal Instructor Oracle University Oracle Corporation.
SONIC-3: Creating Large Scale Installations & Deployments Andrew S. Neumann Principal Engineer Progress Sonic.
Week 2 Lecture 1 Creating an Oracle Instance. Learning Objectives  Learn the steps for creating a database  Understand the prerequisites for creating.
Hosting Websites and Web Applications with Microsoft ® SQL Server ® 2008.
System/SDWG Update Management Council Face-to-Face Flagstaff, AZ August 22-23, 2011 Sean Hardman.
3 Copyright © 2005, Oracle. All rights reserved. Creating an Oracle Database.
3 Copyright © 2007, Oracle. All rights reserved. Using the RMAN Recovery Catalog.
03/07/05 NorCal OAUG Training Day Paper v1.0 Jeff Slavitz, Computer Creations Inc.1 Here We Go Again! Upgrading to Jeff Slavitz Computer Creations.
© 2005 Solution Beacon, LLC. All Rights Reserved. Release 11i Workshops Release 11i … Please Add RAC Session Leader Kevin Dahl, Solution Beacon Release.
1 Copyright © 2007, Oracle. All rights reserved. Installation and Upgrade Enhancements.
13 Copyright © 2007, Oracle. All rights reserved. Using the Data Recovery Advisor.
Michael Mast Senior Architect Applications Technology Oracle Corporation.
11 Copyright © 2004, Oracle. All rights reserved. Performing a Migration Using Oracle Migration Workbench (Part II)
2 Copyright © 2005, Oracle. All rights reserved. Installing Oracle Software and Creating the Database.
14 Copyright © 2007, Oracle. All rights reserved. Backup and Recovery Concepts.
Founded by Big Five Consulting ex-employees Oracle Gold Partner Focus on PeopleSoft 15 years of PeopleSoft experience Worked in both technical and functional.
9 Copyright © 2004, Oracle. All rights reserved. Getting Started with Oracle Migration Workbench.
1 Copyright © 2005, Oracle. All rights reserved. Oracle Database Administration: Overview.
10 Copyright © 2007, Oracle. All rights reserved. Managing Undo Data.
 1- Definition  2- Helpdesk  3- Asset management  4- Analytics  5- Tools.
Creating an Oracle Database
Michael Mast Senior Architect
Get Oracle 8i Running on Your Linux Server Straight Away!
Introduction of Week 3 Assignment Discussion
JD Edwards Support and Oracle Cloud Infrastructure: A Successful Path to Oracle Cloud
Presentation transcript:

Rae Burns Principal Member of Technical Staff Oracle Corporation Aris Prassinos Distinguished Member of Technical Staff Motorola

Smart Upgrades: Upgrading from Oracle8i to Oracle Database 10g at Motorola

Topics  Upgrade Overview – Upgrade Process – New Oracle Database 10g Features  Motorola Experiences – Upgrade Approach – Lessons Learned  Summary and Questions

Upgrade Process  Determine the Upgrade Path  Determine the Upgrade Method  Develop a Test Plan – Test the Upgrade Process – Test the Upgraded Database  Plan a Backup Strategy

Upgrade Path  Direct Upgrade to Oracle Database 10g from 8.0.6, 8.1.7, 9.0.1, (all patch releases)  “Double-hop” upgrade from other releases – > > – > >  Upgrade to latest patch release (e.g., install before upgrading)

Upgrade Methods  Database Upgrade Assistant (DBUA) – Adjusts configuration automatically  Initialization parameters  Tablespace sizes  Creates files in new ORACLE_HOME – Interacts with DBA for decisions – Displays upgrade progress – Reports errors – Provides upgrade summary

Upgrade Methods  Manual Upgrade – Run Pre-Upgrade Information Utility  utlu101i.sql  Make some adjustments in existing environment, others in new environment – Run upgrade script (e.g., u sql) – Review upgrade results – Run utlrp.sql to recompile invalid objects

Upgrade Methods  Export/Import – Create new database – Import specific schemas or all schemas – New physical organization  SQL statements – CREATE TABLE.. AS SELECT – INSERT.. SELECT

Upgrade Testing  Testing the upgrade – Use full or subset copy of database – Analyze invalid objects before/after – Test basic application functionality  Testing the upgraded database – Application functional tests – Performance tests – Stress tests

New Oracle Database 10g Features  Component Registry – Tracks version and status of all database components (e.g., JAVAVM, interMedia, etc.) – Automates conditional component upgrades  Open UPGRADE – Prepares DB instance for upgrade  RESTRICTED SESSION  Disables system triggers  Enables error suppression for “normal” errors  DB operations aware of upgrade

SQL> describe dba_registry; Name Null? Type COMP_ID NOT NULL VARCHAR2(30) COMP_NAME VARCHAR2(255) VERSION VARCHAR2(30) NAMESPACE VARCHAR2(30) STATUS VARCHAR2(11) MODIFIED VARCHAR2(20) CONTROL NOT NULL VARCHAR2(30) SCHEMA NOT NULL VARCHAR2(30) PROCEDURE VARCHAR2(61) STARTUP VARCHAR2(8) PARENT_ID VARCHAR2(30) SQL> select comp_id, comp_name, status, version SQL> from dba_registry; COMP_ID COMP_NAME STATUS VERSION CATPROC Oracle Database Packages and Types VALID CATALOG Oracle Database Catalog Views VALID JAVAVM JServer JAVA Virtual Machine VALID XML Oracle XDK VALID CATJAVA Oracle Database Java Packages VALID CONTEXT Oracle Text VALID XDB Oracle XML Database VALID APS OLAP Analytic Workspace VALID AMD OLAP Catalog VALID ORDIM Oracle interMedia VALID SDO Spatial VALID WK Oracle Ultra Search VALID rows selected.

 Pre-Upgrade Information Utility – rdbms/admin/utlu101i.sql – Use on existing database – Analyzes  Tablespace sizes  Initialization parameters  Database components  Warning conditions – DBUA uses XML version of output for automatic configuration New Oracle Database 10g Features

Oracle Database 10.1 Upgrade Information Tool :00:02. ************************************************************************* Database: > name: PROD --> version: > compatibility: WARNING: Database compatibility must be set to prior to upgrade.. ************************************************************************* Logfiles: [make adjustments in the current environment] The existing log files are adequate. No changes are required.. ************************************************************************* Tablespaces: [make adjustments in the current environment] > SYSTEM tablespace is adequate for the upgrade..... owner: SYS.... minimum required size: 377 MB --> DRSYS tablespace is adequate for the upgrade..... owner: CTXSYS.... minimum required size: 5 MB --> TOOLS tablespace is adequate for the upgrade..... owner: SYSTEM.... minimum required size: 6 MB.

************************************************************************* Options: [present in existing database] > Partitioning WARNING: Listed option(s) must be installed with Oracle Database 10.1 ************************************************************************* Update Parameters: [Update Oracle Database 10.1 init.ora or spfile] WARNING: --> "shared_pool_size" needs to be increased to at least " " WARNING: --> "pga_aggregate_target" is not currently defined and needs a value of at least " " --> "large_pool_size" is already at " " calculated new value is " " WARNING: --> "java_pool_size" needs to be increased to at least " ". ************************************************************************* Deprecated Parameters: [Update Oracle Database 10.1 init.ora or spfile] WARNING: --> "mts_dispatchers" newName="dispatchers". ************************************************************************* Obsolete Parameters: [Update Oracle Database 10.1 init.ora or spfile] > "distributed_transactions" --> "mts_dispatchers" --> "job_queue_interval" --> "max_enabled_roles" --> "log_archive_start"

** Components: [The following database components will be upgraded or installed] > Oracle Catalog Views [upgrade] --> Oracle Packages and Types [upgrade] --> JServer JAVA Virtual Machine [upgrade]...The 'JServer JAVA Virtual Machine' JAccelerator (NCOMP)...is required to be installed from the 10g Companion CD > Oracle XDK for Java [upgrade] --> Oracle Java Packages [install] --> Oracle interMedia [upgrade]...The 'Oracle interMedia Image Accelerator' is...required to be installed from the 10g Companion CD > Oracle Text [upgrade]. *************************************************************************. ************************************************************************* SYSAUX Tablespace: [Create tablespace in Oracle Database 10.1 environment] > New "SYSAUX" tablespace.... minimum required size for database upgrade: 500 MB Please create the new SYSAUX Tablespace AFTER the Oracle Database 10.1 server is started and BEFORE you invoke the upgrade script.. ***********************************************************************

 Post-Upgrade Status – Component registry contents  Version  Status – Timestamps and error messages in log file – Timestamps and other messages in alert log and trace files – Post-Upgrade Status Utility New Oracle Database 10g Features

Motorola Upgrade Experiences  Motorola Printrak Biometrics Identification Solution (BIS) (formerly Omnitrak AFIS) An integrated suite of applications that allow for the capture, processing, search and storage of fingerprints, palmprints, facial images and other biometric data.

Printrak BIS Overview  1-6 TB of mostly LOB data  Application built with: – J2EE architecture – Java Stored Procedures – Oracle Text – Advanced Queuing – Oracle XDK for Java

Printrak BIS Upgrade Path  Previous generation BIS – Oracle8i ( ) – HP Tru64 Unix 5.1B – HP AlphaServer  New generation BIS – Oracle10g – Red Hat Enterprise Linux 3.0 – HP Itanium or Xeon

Data Transfer Challenges  Data on different OS and hardware platforms  Run by non-DBA personnel  Minimize downtime to support rapid customer system deployment – Original Export/Import, which is the typically used method in such upgrade scenarios, would take about one week for the larger systems

Recommended process  Upgrade in-place 8i system to 10g  Use Oracle Database 10g features to move data to LINUX – Cross-Platform Transportable Tablespaces – Data Pump Export/Import

Transportable Tablespaces Data Pump In-place Upgrade New Database

Upgrade on HP Tru64  Used experience gained from new deployments in before upgrading existing 8i systems  Pre-Upgrade Information Utility – Ran on a reference system to create base scripts and guidelines – Ran on each deployed system to compare with reference system and adjust scripts if necessary

Upgrade on HP Tru64 (cont)  Manual upgrade process – Greatly simplified from previous releases – Only marginally different than using DBUA – Finer control of the upgrade process than DBUA – Minimal amount of steps – Easier than installing a patchset in previous releases

Move Data to LINUX Systems  Data Pump – 7 times faster than original Import for our application – Very easy to use – Recommend to use in small / medium systems  Transportable Tablespaces – 12 times faster than original Import for our application – Involves a more elaborate procedure – Requires Enterprise Edition on the source system – Recommend to use in large systems (if EE installed on the source system)

Lessons Learned  With the greatly simplified 10g upgrade process and new 10g features such as Data Pump and Cross-Platform Transportable Tablespaces, the “indirect” approach we described is much more efficient than the original method of Export / Import for migrating large databases to 10g across different hardware platforms and operating systems.

Lessons Learned (cont)  Read Metalink note “Complete checklist for manual upgrades to 10g” in conjunction with the Oracle 10g Upgrade Guide, even if using DBUA to perform the upgrade.

Lessons Learned (cont)  Special consideration needs to be given to components from later releases that are installed in an 8i database e.g. 9.2 XDK

Questions and Answers DEMOgrounds (E8) The Self-Managing Database: Simplified Install & Upgrade

Session Surveys  Session Number is 1163