cache_usage

Returns cache usage as a percentage of all objects in the cache to which the table belongs.

Syntax

cache_usage(table_name)

Parameters

Examples

Usage

  • cache_usage does not provide any information on how much cache the current object is using, and does not provide information for cache usages of indexes if they are bound to different cache.

  • (In cluster environments) cache_usage provides cache usage of the cache the object is bound to in current node.

Permissions

Any user can execute cache_usage.