SQL Server 2005 Script 大集
在下列網址中有許多的 Script 示範如何使用 DMV 來查詢 SQL Server 2005 的狀態。
若是要做效能調校的朋友可以參考其中的語法。
https://www.microsoft.com/technet/scriptcenter/scripts/sql/sql2005/tempdb/default.mspx?mfr=true
Sample scripts and stored procedures for managing and monitoring the SQL Server buffer cache.
Sample scripts and stored procedures for optimizing CPU performance in SQL Server.
Sample scripts and stored procedures for working with SQL Server indexes.
Sample scripts and stored procedures for managing and monitoring input and output in SQL Server.
Sample scripts and stored procedures for managing and monitoring general performance issue in SQL Server.
Sample scripts and stored procedures for managing the SQL Server procedure cache.
•
SQL Text
Sample scripts and stored procedures for working with SQL text.
•
SQLOS
Sample scripts and stored procedures for working with the new SQL Server Operating System Layer.
•
Tempdb
Sample scripts and stored procedures for working with the tempdb system database.
Sample scripts for working with SQL Server transactions and locks.
Sample scripts and stored procedures for working with SQL Server waitstats.
Enjoy.
Comments
- Anonymous
March 22, 2008
PingBack from http://msdnrss.thecoderblogs.com/2008/03/22/