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

35.You want the Automatic SQL Tuning process to stop accepting and implementing the recommended

SQL profiles automatically. Which action would you perform to achieve this?

A. Edit the automatic maintenance window group configuration.

B. Set the CURSOR_SHARING parameter to EXACT for the database instance.

C. Use the DBMS_SQLTUNE.SET_TUNING_TASK_PARAMETERS procedure to set ACCEPT_SQL_PROFILES to FALSE.

D. Set the SQLTUNE_CATEGORY parameter to DEFAULT for the database instance.

Answer: C

答案解析:

参考:http://docs.oracle.com/cd/E11882_01/server.112/e41573/sql_tune.htm#PFGRF94849


if want to stop accepting and implementing the recommended SQL profiles automatically

set ACCEPT_SQL_PROFILES to FALSE.


ACCEPT_SQL_PROFILE

Specifies whether to accept SQL profiles automatically.

To configure automatic SQL tuning: 

  1. Start SQL*Plus, and connect to the database with DBA privileges (or connect as SYS if you plan to run EXECUTE_AUTO_TUNING_TASK).

  2. Run the DBMS_AUTO_SQLTUNE.SET_AUTO_TUNING_TASK_PARAMETER procedure.

    The following example configures the automatic SQL tuning task to automatically accept SQL profiles recommended by SQL Tuning Advisor:

    BEGIN
      DBMS_AUTO_SQLTUNE.SET_AUTO_TUNING_TASK_PARAMETER(
        parameter => 'ACCEPT_SQL_PROFILES', value => 'TRUE');
    END;
    /

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值