in

SQL Server Community Blogs

Voices of the SQL Server Community
All Tags » Indexes » DMV (RSS)

Browse by Tags

  • A quick and dirty WTF???!!!11one

    You can use this to get a quick and dirty picture of what is going on with the server. We basically grab a snapshot, wait a second and then get a diff. Sort as needed. select r . cpu_time , r . logical_reads , r . session_id into #temp from sys.dm_exec_requests as r waitfor delay '00:00:01' select substring...
    Posted to Jason Massie's SQL blog (Weblog) by JasonMassie on 12-07-2007
  • Take it a step further with the index DMV's

    In SQL 2000 I wanted to find unused indexes but found it to be difficult. I had to capture a huge trace that fully represents the workload and “trust” that the ITW knows what it’s talking about. You could also use the scan started trace event filtered by dbid, objectid, indexid. This procedure was very...
    Posted to Jason Massie's SQL blog (Weblog) by JasonMassie on 11-25-2007
Page 1 of 1 (2 items)
Powered by Community Server (Commercial Edition), by Telligent Systems