SQL Server 2005:清空plan cache
DBCC FREEPROCCACHE
This command removes all of the cached query plans and execution contexts from the plan cache. It is not advisable to run this command on a production server because it can adversely affect performance of running applications. This command is useful to control plan cache's contents when troubleshooting a recompilation issue.
DBCC FLUSHPROCINDB( db_id )
This command removes all of the cached plans from the plan cache for a particular database. It is not advisable to run this command on a production server because it can adversely affect performance of running applications.
[@more@]來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/37724/viewspace-998080/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- SAP ABAP SQL的execution plan和cacheSQL
- SQL server 2005 expressSQLServerExpress
- Sql Server 2005函式SQLServer函式
- SQL SERVER 2005 配置-saSQLServer
- SQL SERVER2005建Link ServerSQLServer
- Sql Server 2005新增T-sql特性SQLServer
- XML Support in Microsoft SQL Server 2005XMLROSSQLServer
- PowerShell連線 SQL Server 2005SQLServer
- Monitoring Tempdb in SQL Server 2005SQLServer
- 微軟SQL Server 2005速成版微軟SQLServer
- SQL Server2005快捷鍵SQLServer
- SQL SERVER 2005映象實驗SQLServer
- SQL Server 2005 Service Broker 初探SQLServer
- SQL Server 2005 Express Edition 概述SQLServerExpress
- SQL Server 2005中修改 Server Collation的方法SQLServer
- sql server 2005資料庫快照SQLServer資料庫
- 配置SQL Server 2005伺服器SQLServer伺服器
- SQL SERVER 2005表分割槽功能SQLServer
- SQL Server 2005動態管理物件SQLServer物件
- 實戰 SQL Server 2005 映象配置SQLServer
- Sql server 2005中output用法解析SQLServer
- Sql Server 2005 日誌壓縮SQLServer
- SQL SERVER 2005 日誌收縮SQLServer
- sql server 2005使用點滴(1)SQLServer
- SQL Server 2005 Cluster 叢集部署SQLServer
- SQL Server 2005鎖的問題SQLServer
- 已安裝 SQL Server 2005 Express 工具。若要繼續,請刪除 SQL Server 2005 Express 工具SQLServerExpress
- SQL Plan ManagementSQL
- SQL Server 2005效能調整二(zt)SQLServer
- SQL Server 2005效能調整一(zt)SQLServer
- 清除 SQL SERVER 2005 事務日誌SQLServer
- SQL Server 2005命令提示實用工具SQLServer
- SQL Server 2005 Beta 2 快照隔離SQLServer
- 修改SQL Server 2005執行環境SQLServer
- SQL server 2005 備份恢復模式SQLServer模式
- SQL Server 2005 功能比較 和 限制SQLServer
- SQL Server 2005分割槽表例項SQLServer
- SQL Server 2005效能排錯(轉載)SQLServer