How to Turn On/Off Automatically Accepting Sql Profile in Sql Tuning Advisor Autotask

(Doc ID 2345319.1)

Last updated on JANUARY 11, 2018

Applies to:

Oracle Database - Enterprise Edition - Version 12.2.0.1 and later
Information in this document applies to any platform.

Goal

From 11g, Automatic SQL Tuning advisor is running in autotask to tune TOP SQLs. SQL profiles are generated if performance improvement meets some threshold.

But these SQL profiles are not accepted by default. Users need to review and accept them manually using DBMS_SQLTUNE.ACCEPT_SQL_PROFILE().

How to accept these SQL profiles automatically in autotask?
 

Solution

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms