您好,我是小DAI,专注于数据库管理员相关的技术问答,请问有什么可以帮您?

sp_nvbindcache

语法


sp_nvbindcache <nv_cache_name>, <database_name>

参数

<nv_cache_name>

是指定的 NV 高速缓存的名称。

<database_name>

是要绑定的数据库的名称。

示例

示例

此示例将名为 tdb1 的数据库绑定到名为 nvcache1 的 NV 高速缓存:


1> sp_nvbindcache nvcache1, tdb1
2> go

database: tdb1 found bound to NV cache: nvcache1
Binding/Unbind operations between databases and NV caches are critical operations, please be 
careful before initiating the process
(return status = 0)

用法

使用 sp_nvbindcache 创建 NV 高速缓存绑定时,您仅可指定一个数据库。如果您指定一个对象,而不是过程中的一个数据库,则 SAP ASE 显示错误。