现在的位置: 首页 > 综合 > 正文

OCP-1Z0-053-200题-199题-159

2014年05月12日 ⁄ 综合 ⁄ 共 1502字 ⁄ 字号 评论关闭

QUESTION 199

Which package provides API's for the SQL Tuning Advisor?

A. DBMS_MONITOR

B. DBMS_STATS

C. DBMS_SQLTUNE

D. DBMS_ADVISOR

Answer: C

同159题:http://blog.csdn.net/rlhua/article/details/14088877

Explanation/Reference:

Section: Managing Database Performance & Tuning

Answer option C is correct.

The recommended interface for running the SQL TuningAdvisor is the Oracle Enterprise Manager.

However, if Oracle Enterprise Manager is unavailable, you can run the SQL Tuning Advisor using procedures

in the DBMS_SQLTUNE package. The DBMS_SQLTUNE package provides the following three interrelated

areas of functionality:

- SQL Tuning Advisor Subprograms

- SQL Profile Subprograms

- SQL Tuning Set Subprograms

Answer option B is incorrect. With the DBMS_STATS package you can view and modify optimizer statistics

gathered for database objects. The Oracle RDBMS allows you to collect statistics of many different kindsas an

aid to improve performance. This package is concerned with optimizer statistics only. Given that Oracle sets

automatic statistics collection of this kind by default, this package is intended for only specializedcases. The

statistics of interest to be viewed or modified canreside in the dictionary or in a table created in the user's

schema for this purpose. You can also collect and manage user-defined statistics for tables and domain

indexes using this package.

Answer option D is incorrect. DBMS_ADVISOR is part of theServer Manageability Suite of Advisors, a set of

expert systems that identifies and helps resolve performance problems relating to the various databaseserver

components.

Answer option A is incorrect. The DBMS_MONITOR package lets you use PL/SQL for controlling additional

tracing and statistics gathering.

抱歉!评论已关闭.