ORA-13830: SQL profile with category DEFAULT already exists for SQL statement (Doc ID 888245.1)

Last updated on SEPTEMBER 15, 2016

Applies to:

Oracle Server - Enterprise Edition - Version: 10.1.0.2 to 10.2.0.4 - Release: 10.1 to 10.2
Information in this document applies to any platform.

Symptoms

When trying to accept SQL_PROFILE for a query, the following errors might occur:

SQL> exec dbms_sqltune.accept_sql_profile(task_name => 'SQL_TUNING_1252574752452', object_id
=> 1, force_match=>TRUE);
BEGIN dbms_sqltune.accept_sql_profile(task_name => 'SQL_TUNING_1252574752452', object_id =>
1, force_match=>TRUE); END;

*
ERROR at line 1:
ORA-13830: SQL profile with category DEFAULT already exists for this SQL statement
ORA-06512: at "SYS.DBMS_SQLTUNE_INTERNAL", line 7087
ORA-06512: at "SYS.DBMS_SQLTUNE", line 5559
ORA-06512: at "SYS.DBMS_SQLTUNE", line 5586
ORA-06512: at line 1



Cause

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