STMT_CACHE_QUERY_PLAN configuration parameter
Use the STMT_CACHE_QUERY_PLAN configuration parameter to produce a query plan from any query that exists in the Statement Cache.
- onconfig.std value
STMT_CACHE_QUERY_PLAN
- values
0
= Disabled.1
= Enabled- takes effect
- After you edit your onconfig file and restart the database server.
Usage
You can use STMT_CACHE_QUERY_PLAN to enable SQL statement cache to hold query plan for each cached statement.