V$OB_PLAN_CACHE_STAT

2024-04-19 08:42:49  Updated

Purpose

The V$OB_PLAN_CACHE_STAT view displays the overall status of each plan cache of the current tenant on all OBServer nodes.

Note

This view is introduced since OceanBase Database V4.0.0.

GV$OB_PLAN_CACHE_STAT

Columns

Column Type Nullable? Description
TENANT_ID bigint(20) NO The ID of the tenant.
SVR_IP varchar(46) NO The IP address of the server.
SVR_PORT bigint(20) NO The port number of the server.
SQL_NUM bigint(20) NO The number of SQL statements in the plan cache.
MEM_USED bigint(20) NO The size of memory that the plan cache occupies.
MEM_HOLD bigint(20) NO The size of memory that the plan cache holds.
ACCESS_COUNT bigint(20) NO The number of times that the query accesses the plan cache.
HIT_COUNT bigint(20) NO The number of plan cache hits.
HIT_RATE bigint(20) NO The hit rate of the plan cache.
PLAN_NUM bigint(20) NO The number of plans.
MEM_LIMIT bigint(20) NO The maximum size of memory that the plan cache can occupy.
HASH_BUCKET bigint(20) NO The number of buckets in the hash map of the plan cache.
STMTKEY_NUM bigint(20) NO The number of stmt_keys in the plan cache.

Contact Us