My Oracle Support Banner

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

Last updated on OCTOBER 28, 2019

Applies to:

Oracle Database - Enterprise Edition - Version to [Release 10.1 to 10.2]
Oracle Database Cloud Schema Service - Version N/A and later
Oracle Database Exadata Cloud Machine - Version N/A and later
Oracle Cloud Infrastructure - Database Service - Version N/A and later
Oracle Database Backup Service - Version N/A and later
Information in this document applies to any platform.


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


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

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.