随笔分类 -  sql performance tuning

Query Performance Tuning (SQL Server Compact)
摘要:Improve Indexes Creating useful indexes is one of the most important ways to achieve better query performance. Useful indexes help you find data with fewer disk I/O operations and less system resource... 阅读全文
posted @ 2010-11-18 08:43 大斌锅 阅读(551) 评论(0) 推荐(0)
query the list of factor on performance impact
摘要:with waits as ( select wait_type, wait_time_ms / 1000 as wait_time_s, 100. * wait_time_ms / SUM(wait_time_ms) over() as pct, ROW_NUMBER() over(order by wait_time_ms desc) as rn from sys.dm_os_wa... 阅读全文
posted @ 2009-05-03 14:06 大斌锅 阅读(162) 评论(0) 推荐(0)