sp_helpcache

Description

Displays information about the objects that are bound to a data cache or the amount of overhead required for a specified cache size.

Syntax

sp_helpcache {cache_name | "cache_size[P|K|M|G]"}

Parameters

cache_name

is the name of an existing data cache.

cache_size

specifies the size of the cache, specified by P for pages, K for kilobytes, M for megabytes, or G for gigabytes. The default is K.

Examples

Example 1

Displays information about items bound to pub_cache:

sp_helpcache pub_cache

Example 2

Shows the amount of overhead required to create an 80MB data cache:

sp_helpcache "80M"

Example 3

Displays information about all caches and all items bound to them:

sp_helpcache

Usage

Permissions

Any user can execute sp_helpcache.

See also

System procedures sp_bindcache, sp_cacheconfig, sp_poolconfig, sp_unbindcache, sp_unbindcache_all