OCP-1Z0-053-V12.02-492题

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



utlu111i.SQL

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:

  1. Log in to the system as the owner of the Oracle Database 11g Release 1 (11.1) Oracle home directory.

  2. 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.

  3. Log in to the system as the owner of the Oracle home directory of the database to be upgraded.

  4. Change to the directory that you copied utlu111i.sql to in Step 2.

  5. Start SQL*Plus.

  6. Connect to the database instance as a user with SYSDBA privileges.

  7. Set the system to spool results to a log file for later analysis:

    SQL> SPOOL upgrade_info.log
  8. Run the Pre-Upgrade Information Tool:

    SQL> @utlu111i.sql
  9. Turn off the spooling of script results to the log file:

    SQL> SPOOL OFF

    Check the output of the Pre-Upgrade Information Tool in upgrade_info.log.


utlu112i.SQL

Pre-Upgrade Information

Analyzes the database to be upgraded, detailing requirements and issues for the upgrade to Oracle Database 11g Release 2 (11.2)

原文地址:https://www.cnblogs.com/hzcya1995/p/13316541.html