Purpose
The ALTER SYSTEM FLUSH CACHE statement deletes cache.
Note
For an Oracle tenant, to clear the plan cache for specified SQL or schema, use the DBMS_PLAN_CACHE system package.
Syntax
ALTER SYSTEM FLUSH {PLAN
| LIB } CACHE [GLOBAL]
Parameters
| Parameter | Description |
|---|---|
| PLAN | Clears the execution plan cache. |
| LIB | Clears the Lib Cache. |
Examples
obclient> ALTER SYSTEM FLUSH PLAN CACHE GLOBAL;