11.07.2015 Views

Oracle Database 11 g - Online Public Access Catalog

Oracle Database 11 g - Online Public Access Catalog

Oracle Database 11 g - Online Public Access Catalog

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

20 CHAPTER 1 ■ INSTALLING, UPGRADING, AND MANAGING CHANGE■Note Your database upgrade may take a long time since the database will collect optimizer statisticsfor any dictionary tables that are missing statistics or whose statistics were significantly changed duringthe upgrade. You can speed up the upgrade process by gathering statistics for these tables by using theDBMS_STATS.GATHER_DICTIONARY_STATS procedure before starting the upgrade.1. Log in as the owner of the <strong>Oracle</strong> <strong>11</strong>.1 release <strong>Oracle</strong> home directory, and copy theutlu<strong>11</strong>1.i sql file from the $ORACLE_HOME/rdbms/admin directory to another directorysuch as /tmp.2. Log in as the owner of the <strong>Oracle</strong> home directory of the database you want to upgrade,and run the utlu<strong>11</strong>1.i sql script (from the /tmp directory, where you copied it to) to getthe pre-upgrade information such as the necessary initialization parameter changes,tablespace space requirements, and so on. Spool the results of the script execution soyou can review the output later. For example, the following is a run of the utlu<strong>11</strong>1i.sqlscript on one of our own systems:SQL> spool upgrade.logSQL> @utlu<strong>11</strong>1i.sql<strong>Oracle</strong> <strong>Database</strong> <strong>11</strong>.1 Upgrade Information Utility 03-23-2007 13:36:14.**********************************************************************<strong>Database</strong>:**********************************************************************--> name: ORCL--> version: 10.2.0.1.0--> compatible: 10.2.0.1.0--> blocksize: 8192.**********************************************************************Tablespaces: [make adjustments in the current environment]**********************************************************************--> SYSTEM tablespace is adequate for the upgrade..... minimum required size: 593 MB.... AUTOEXTEND additional space required: 123 MB--> UNDOTBS1 tablespace is adequate for the upgrade..... minimum required size: 454 MB.... AUTOEXTEND additional space required: 429 MB--> SYSAUX tablespace is adequate for the upgrade..... minimum required size: 306 MB.... AUTOEXTEND additional space required: 66 MB--> TEMP tablespace is adequate for the upgrade..... minimum required size: 61 MB.... AUTOEXTEND additional space required: 41 MB.**********************************************************************

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!