Home > Database > Mysql Tutorial > 删除计划缓存

删除计划缓存

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-06-07 14:56:41
Original
998 people have browsed it

删除计划缓存 SQL Server --删除整个数据库的计划缓存DBCC?FREEPROCCACHE--删除某个数据库的计划缓存USE?masterDECLARE?@dbid?INTSELECT?@dbid=dbid?FROM?sysdatabases?WHERE?NAME?=?'表名'DBCC?FLUSHPROCINDB?(@dbid)

删除计划缓存

SQL Server
--删除整个数据库的计划缓存
DBCC?FREEPROCCACHE

--删除某个数据库的计划缓存
USE?master
DECLARE?@dbid?INT
SELECT?@dbid=dbid?FROM?sysdatabases?WHERE?NAME?=?'表名'
DBCC?FLUSHPROCINDB?(@dbid)
Copy after login
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