I had been getting a message that I was using the old version of the plan_table when using dbms_xplan package. I dropped the old plan tables (sys.plan_table$, system.plan_table, schema_owner.plan_table). I then created the new plan table sys.plan_table$ using the 10g provided script catplan.sql. I have verified that it includes a public synonym and grants to public.
I no longer get the error message when using dbms_xplan, however, my TOAD users are now unable to use Explain Plan. They have pointed to this new table in their TOAD options, but they can't get Explain Plan to work. They keep getting the error message "ORA-00604: error occurred at the recursive SQL level. ORA-12899: value too large for column "SYS"."PLAN_TABLE$"."STATEMENT_ID" (actual: 31, maximum: 30).
Can anyone give me pointers to anything else required that we might be missing?
Thank you for any help you can provide!
I no longer get the error message when using dbms_xplan, however, my TOAD users are now unable to use Explain Plan. They have pointed to this new table in their TOAD options, but they can't get Explain Plan to work. They keep getting the error message "ORA-00604: error occurred at the recursive SQL level. ORA-12899: value too large for column "SYS"."PLAN_TABLE$"."STATEMENT_ID" (actual: 31, maximum: 30).
Can anyone give me pointers to anything else required that we might be missing?
Thank you for any help you can provide!