Unable To Drop SQL Tuning Sets with Error 'ORA-13757: "SQL Tuning Set" "TOP_SQL_XXXX" owned by user "TEST" is active'
(Doc ID 2701440.1)
Last updated on APRIL 17, 2023
Applies to:
Oracle Database - Enterprise Edition - Version 12.1.0.2 and laterInformation in this document applies to any platform.
Symptoms
- Not able to drop SQL tuning sets:
SQL> exec DBMS_SQLTUNE.DROP_SQLSET(sqlset_owner => 'TEST',sqlset_name =>'TOP_SQL_XXXX');
BEGIN DBMS_SQLTUNE.DROP_SQLSET(sqlset_owner => 'TEST',sqlset_name =>'TOP_SQL_XXXX'); END;*
ERROR at line 1:
ORA-13757: "SQL Tuning Set" "TOP_SQL_XXXX" owned by user "TEST" is active.
ORA-06512: at "SYS.DBMS_SQLTUNE_INTERNAL", line 14233
ORA-06512: at "SYS.DBMS_SQLTUNE", line 5633
ORA-06512: at line 1
Cause
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |
In this Document
Symptoms |
Cause |
Solution |