Database Tuning (MOSC)

MOSC Banner

Workaround for ORA-00001: unique constraint (SYS.WRI$_ADV_SQLT_PLANS_PK) violated

edited Aug 15, 2012 9:59PM in Database Tuning (MOSC) 6 commentsAnswered

 Hi,

We are getting below error daily from our production database (11.2.0.1) and we need to know 
whether there's any work around for this rather applying patch as suggested in metalink note 1397385.1.




> >> Aug 15 2012 22:00:36 ORA-12012: error on auto execute of job 183631 
> >> Aug 15 2012 22:00:36 ORA-00001: unique constraint 
> >> (SYS.WRI$_ADV_SQLT_PLANS_PK) violated Aug 15 2012 22:00:36 
> >> ORA-06512: at "SYS.PRVT_ADVISOR", line 2693 Aug 15 2012 22:00:36 
> >> ORA-06512: at "SYS.DBMS_ADVISOR", line 241 Aug 15 2012 22:00:36 
> >> ORA-06512: at "SYS.DBMS_SQLTUNE", line 772 Aug 15 2012 22:00:36 
> >> ORA-06512: at line 4


Anyone face similar issues?

thanks

Pradeepa




SQL> select distinct(sqlset_name) from dba_sqlset_statements;

SQLSET_NAME
------------------------------
SQLACCESS4347407_sts
SQLACCESS3615502_sts

SQL> SELECT sql_id, sql_text, sqlset_owner, sqlset_name

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

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

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center