Oracle Error ORA-30476: PLAN_TABLE does not exist in the user’s schema

Oracle Error Message

ORA-30476: PLAN_TABLE does not exist in the user’s schema

Reason for the Error

Estimate_Summary_Size uses Oracle SQL “EXPLAIN PLAN” command to estimate cardinality of the specified select-clause. This requires a table called the PLAN_TABLE in the user’s schema. For more information refer to the SQL Reference Manual.

Solution

Create the PLAN_TABLE as described for EXPLAIN PLAN. On most systems a script utlxplan.sql will create this table.