Home > Database > Mysql Tutorial > sqlserver清除缓存的实现方法

sqlserver清除缓存的实现方法

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-06-07 17:48:44
Original
2020 people have browsed it

实现这个sqlserver清除缓存需要比较高的权限哦,如果你没有较高的管理权限是操作不了的。

需要较高级别的权限

 代码如下 复制代码
checkpoint
dbcc dropcleanbuffers
dbcc freeproccache
--dbcc freesystemcache
set statistics io on

该代码只有在登录sql server的用户名具有sysadmin权限的时候才可以使用

设置的方式:安全性=》登录名=》登录名右键=》属性=》服务器角色=》选项(sysadmin)=》确定

 

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template