The DBMS_PLAN_CACHE system package is specific to OceanBase Database and provides fine-grained operations for SQL execution plan caching (Plan Cache).
Applicability
This topic applies only to OceanBase Database Enterprise Edition. OceanBase Database Community Edition does not support this feature.
Privilege requirements for DBMS_PLAN_CACHE
This system package must be created under the SYS schema. To use this system package, you must have the EXECUTE privilege on SYS.DBMS_PLAN_CACHE.
Subprograms of DBMS_PLAN_CACHE
The following table lists the DBMS_PLAN_CACHE subprograms supported in the current version of OceanBase Database and their brief descriptions.
| Subprogram | Description |
|---|---|
| PURGE | Removes the specified SQL statement from the Plan Cache. |
