492.You installed Oracle Database 11g and are performing a manual upgrade of the Oracle9i database.
As a part of the upgrade process, you execute the following script:
SQL>@utlu111i.sql
Which statement about the execution of this script is true?
A. It must be executed from the Oracle Database 11g environment.
B. It must be executed only after the SYSAUX tablespace has been created.
C. It must be executed from the environment of the database that is being upgraded.
D. It must be executed only after AUTOEXTEND is set to ON for all existing tablespaces.
E. It must be executed from both the Oracle Database 11g and Oracle Database 9i environments.
Answer: C
答案解析:
参考:http://docs.oracle.com/cd/B28359_01/server.111/b28300/upgrade.htm#UPGRD12395
|
Pre-Upgrade Information |
Analyzes the database to be upgraded, detailing requirements and issues for the upgrade to Oracle Database 11g Release 1 (11.1) |
The Pre-Upgrade Information Tool is a SQL script that ships with Oracle Database 11g Release 1 (11.1), and must be copied to and run from the environment of the database being upgraded. Complete the following steps to run the Pre-Upgrade Information Tool:
-
Log in to the system as the owner of the Oracle Database 11g Release 1 (11.1) Oracle home directory.
-
Copy the Pre-Upgrade Information Tool (
utlu111i.sql
) from the Oracle Database 11g Release 1 (11.1)ORACLE_HOME
/rdbms/admin
directory to a directory outside of the Oracle home, such as the temporary directory on your system.Make a note of the new location of this file.
-
Log in to the system as the owner of the Oracle home directory of the database to be upgraded.
-
Change to the directory that you copied utlu111i.sql to in Step 2.
-
Start SQL*Plus.
-
Connect to the database instance as a user with
SYSDBA
privileges. -
Set the system to spool results to a log file for later analysis:
SQL> SPOOL upgrade_info.log -
Run the Pre-Upgrade Information Tool:
SQL> @utlu111i.sql -
Turn off the spooling of script results to the log file:
SQL> SPOOL OFFCheck the output of the Pre-Upgrade Information Tool in
upgrade_info
.log
.
|
Pre-Upgrade Information |
Analyzes the database to be upgraded, detailing requirements and issues for the upgrade to Oracle Database 11g Release 2 (11.2) |