OCP-1Z0-053-V12.02-217题
2013-11-07 16:09
387 查看
217.Your organization decided to upgrade the existing Oracle 10g database to Oracle 11g database in a
multiprocessor environment. At the end of the upgrade, you observe that the DBA executes the following
script:
SQL> @utlrp.sql
What is the significance of executing this script?
A. It performs parallel recompilation of only the stored PL/SQL code.
B. It performs sequential recompilation of only the stored PL/SQL code.
C. It performs parallel recompilation of any stored PL/SQL as well as Java code.
D. It performs sequential recompilation of any stored PL/SQL as well as Java code.
Answer: C
答案解析:
参考:http://docs.oracle.com/cd/E11882_01/install.112/e47798/postcfg.htm#NTDBI2798
Run the
packages, procedures, types, and so on. This step is optional, but recommended so that the performance cost of recompilation is incurred during the installation rather than in the future.
Note:
There should be no other data definition language (DDL) statements running on the database while the script is running, and packages
Start SQL*Plus:
DRIVE_LETTER:\> sqlplus /nolog
Connect to the database with the
SQL> CONNECT SYS AS SYSDBA
Enter password:
SYS_password
Start the database (if necessary):
SQL> STARTUP
Run the
SQL> @?\rdbms\admin\utlrp.sql
multiprocessor environment. At the end of the upgrade, you observe that the DBA executes the following
script:
SQL> @utlrp.sql
What is the significance of executing this script?
A. It performs parallel recompilation of only the stored PL/SQL code.
B. It performs sequential recompilation of only the stored PL/SQL code.
C. It performs parallel recompilation of any stored PL/SQL as well as Java code.
D. It performs sequential recompilation of any stored PL/SQL as well as Java code.
Answer: C
答案解析:
参考:http://docs.oracle.com/cd/E11882_01/install.112/e47798/postcfg.htm#NTDBI2798
utlrp.sql | PL/SQL | SYS | Recompiles all existing PL/SQL modules that were previously in an INVALIDstate, such as packages, procedures, and types. |
utlrp.sqlscript after creating or upgrading a database. This script recompiles all PL/SQL modules that may be in an INVALID state, including
packages, procedures, types, and so on. This step is optional, but recommended so that the performance cost of recompilation is incurred during the installation rather than in the future.
Note:
There should be no other data definition language (DDL) statements running on the database while the script is running, and packages
STANDARDand
DBMS_STANDARDmust be valid.
Start SQL*Plus:
DRIVE_LETTER:\> sqlplus /nolog
Connect to the database with the
SYSaccount:
SQL> CONNECT SYS AS SYSDBA
Enter password:
SYS_password
Start the database (if necessary):
SQL> STARTUP
Run the
utlrp.sqlscript, which by default is located in
ORACLE_HOME
\rdbms\admin\utlrp.sql. For example:
SQL> @?\rdbms\admin\utlrp.sql
相关文章推荐
- OCP-1Z0-053-V12.02-92题
- OCP-1Z0-053-V12.02-257题
- OCP-1Z0-053-V12.02-505题
- OCP-1Z0-053-V12.02-316题
- OCP-1Z0-053-V12.02-383题
- OCP-1Z0-053-V12.02-156题
- OCP-1Z0-053-V12.02-172题
- OCP-1Z0-053-V12.02-187题
- OCP-1Z0-053-V12.02-15题
- OCP-1Z0-053-V12.02-433题
- OCP-1Z0-053-V12.02-368题
- OCP-1Z0-053-V12.02-677题
- OCP-1Z0-053-V12.02-511题
- OCP-1Z0-053-V12.02-403题
- OCP-1Z0-053-V12.02-51题
- OCP-1Z0-053-V12.02-71题
- OCP-1Z0-053-V12.02-175题
- OCP-1Z0-053-V12.02-236题
- OCP-1Z0-053-V12.02-114题
- OCP-1Z0-053-V12.02-336题