sp_poolconfig

Creates, drops, resizes, and provides information about memory pools within data caches.

Syntax

To create a memory pool in an existing cache, or to change pool size:
sp_poolconfig cache_name[, "mem_size [P | K | M | G]", "config_poolK" 
	[, "affected_pool K"], instance instance_name]
To change a pool’s wash size:
sp_poolconfig cache_name, "affected_poolK", "wash=size[P|K|M|G]"
To change a pool’s asynchronous prefetch percentage:
sp_poolconfig cache_name, "affected_poolK", 
	"local async prefetch limit=percent "

Parameters

Examples

Usage

Permissions

The permission checks for sp_poolconfig differ based on your granular permissions settings.

SettingDescription
Enabled

With granular permissions enabled, you must be a user with manage data cache privilege to reconfigure memory pools.

Any user can execute sp_poolconfig to retrieve information about memory pools.

Disabled

With granular permissions disabled, you must be a user with sa_role to reconfigure memory pools.

Any user can execute sp_poolconfig to retrieve information about memory pools.

Auditing

Values in event and extrainfo columns from the sysaudits table are:

InformationValues
Event

38

Audit option

exec_procedure

Command or access audited

Execution of a procedure

Information in extrainfo
  • Roles – Current active roles

  • Keywords or options – NULL

  • Previous value – NULL

  • Current value – NULL

  • Other information – All input parameters

  • Proxy information – Original login name, if set proxy in effect

Related reference
sp_cacheconfig
sp_helpcache
sp_logiosize
sp_unbindcache
sp_unbindcache_all