Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2005 Forums
 SQL Server Administration (2005)
 Dynamic Managemenr View Reset Required

Author  Topic 

jimlewis
Starting Member

1 Post

Posted - 2007-10-26 : 17:10:12
Hi,

I have recently had to optimise a site. The DMVs are useful in establihing which queries are taking the longest to run but the data is skewed as it takes into account all queries than have run ever. This is not as useful as profiling a site which in fact I used.

Is there a way to clear all the data returned by the DMVs. This would be useful as all the data could be cleared and then I could just check the DMV every week.

Thanks in advance

James

dinakar
Master Smack Fu Yak Hacker

2507 Posts

Posted - 2007-10-26 : 17:25:43
yeah you can reboot the server and they will be cleared.. not sure if you want to do that though..

Dinakar Nethi
************************
Life is short. Enjoy it.
************************
http://weblogs.sqlteam.com/dinakar/
Go to Top of Page
   

- Advertisement -