Log in
::
Register
::
Not logged in
Home
Tags
Articles
Editorials
Stairways
Forums
Scripts
Videos
Blogs
QotD
Books
Ask SSC
SQL Jobs
Training
Authors
About us
Contact us
Newsletters
Write for us
Recent Posts
Recent Posts
Popular Topics
Popular Topics
Home
Search
Members
Calendar
Who's On
Home
»
SQLServerCentral.com
»
Editorials
»
Resetting DMVs
11 posts, Page 1 of 2
1
2
»»
Resetting DMVs
Rate Topic
Display Mode
Topic Options
Author
Message
Steve Jones - SSC Editor
Steve Jones - SSC Editor
Posted Wednesday, March 13, 2013 12:13 AM
SSC-Dedicated
Group: Administrators
Last Login: Today @ 5:09 AM
Points: 31,526,
Visits: 13,864
Comments posted to this topic are about the item
Resetting DMVs
Follow me on Twitter:
@way0utwest
Forum Etiquette: How to post data/code on a forum to get the best help
Post #1430231
Stewart "Arturius" Campbell
Stewart "Arturius" Campbell
Posted Wednesday, March 13, 2013 2:20 AM
Hall of Fame
Group: General Forum Members
Last Login: Today @ 3:51 AM
Points: 3,163,
Visits: 4,342
I agree wholeheartedly with this post.
Trying to troubleshoot a crashed SQL Server instance, without DMV data, is an extremely difficult task.
____________________________________________
Space, the final frontier? not any more...
All limits henceforth are self-imposed.
“libera tute vulgaris ex”
Post #1430249
David.Poole
David.Poole
Posted Wednesday, March 13, 2013 2:48 AM
SSCrazy
Group: General Forum Members
Last Login: Today @ 2:14 AM
Points: 2,765,
Visits: 1,440
Well said. Index usage stats are particularly revealing.
I'm in the process of deprecating and consolidating systems and key weapon in the arsenal is being able to proove categorically that the data has not been read in any way other than by system processes.
LinkedIn Profile
Post #1430255
Gary Varga
Gary Varga
Posted Wednesday, March 13, 2013 3:17 AM
Hall of Fame
Group: General Forum Members
Last Login: Today @ 6:40 AM
Points: 3,618,
Visits: 1,229
I agree. Also, default to save and make it configurable as those databases which may require it to be off are exactly the ones with a professional DBA to evaluate the choice.
Gaz
-- Stop your grinnin' and drop your linen...they're everywhere!!!
Post #1430263
Simon D Richards
Simon D Richards
Posted Wednesday, March 13, 2013 5:24 AM
SSC-Enthusiastic
Group: General Forum Members
Last Login: Yesterday @ 8:20 AM
Points: 141,
Visits: 505
This would work, especially if there is a default retention time for the data, any data beyond that would be cleared out by a garbage collector, and any databases that need extra special trouble shooting can be extended, for analysis.
This would also save all the un-managed systems that exist out there from becoming bloated with months of unused dmv data.
Post #1430311
Jeff Moden
Jeff Moden
Posted Wednesday, March 13, 2013 5:50 AM
SSC-Dedicated
Group: General Forum Members
Last Login: Yesterday @ 9:01 PM
Points: 33,111,
Visits: 27,037
That got me thinking. Why is this data removed? I'm sure some of the data is stored in memory and automatically reset, but is this the best way to handle this data? Wouldn't it be better to persist this data and allow the DBA to reset values when they were ready?
BWAA-HAA!!! I really have to laugh at this one. Welcome to the nature of "Agile" programming.
If enough people bitch about it, maybe they'll make it so 2 or 3 revs from now. Hmmm... ironically, that would put it out around 2020, the year of "perfect vision".
--Jeff Moden
"
RBAR
is pronounced "ree-bar" and is a "Modenism" for "
R
ow-
B
y-
A
gonizing-
R
ow".
First step towards the paradigm shift of writing Set Based code:
Stop thinking about what you want to do to a row... think, instead, of what you want to do to a column."
For better, quicker answers on T-SQL questions, click on the following...
http://www.sqlservercentral.com/articles/Best+Practices/61537/
For better answers on performance questions, click on the following...
http://www.sqlservercentral.com/articles/SQLServerCentral/66909/
Post #1430326
Stephen_W_Dodd
Stephen_W_Dodd
Posted Wednesday, March 13, 2013 7:20 AM
SSC Eights!
Group: General Forum Members
Last Login: Friday, June 14, 2013 1:42 PM
Points: 826,
Visits: 540
Couldn't you accomplish the same thing with extended events?
Post #1430371
TravisDBA
TravisDBA
Posted Wednesday, March 13, 2013 8:02 AM
Ten Centuries
Group: General Forum Members
Last Login: Wednesday, June 12, 2013 10:46 AM
Points: 1,290,
Visits: 3,001
Because these DMV's are directly tied into the Performance Dashboards that people use everyday in order to get an updated POINT IN TIME look at their SQL Server and their databases. Secondly, these DMV's just don't have enough cache available for historical performance, that's why. Even if the cache was large enough, as you stated there would probably be performance issues that would result from doing that anyway. However, you can set up a "DMV repository" by just creating specific jobs to warehouse all DMV results in a specific repository at particular intervals that could be stored in msdb or somewhere else like a DBA Utility database for example. Here is a link that will give you a good starting point for doing just that:
http://www.sqlserverpath.org/2012/03/31/better-dba-dashboards-using-dmv-monitors-14/
"Technology is a weird thing. It brings you great gifts with one hand, and it stabs you in the back with the other. ...
"
Post #1430404
aleksey2001
aleksey2001
Posted Wednesday, March 13, 2013 10:49 AM
SSC Rookie
Group: General Forum Members
Last Login: Friday, May 17, 2013 3:56 PM
Points: 25,
Visits: 98
Microsoft will implement it eventually. Just like Oracle did few years ago. Oracle has a separate AWR repository to store this type of information. Just wait =)
Post #1430526
SQLRNNR
SQLRNNR
Posted Wednesday, March 13, 2013 12:28 PM
SSCoach
Group: General Forum Members
Last Login: Today @ 12:32 AM
Points: 18,855,
Visits: 12,439
Jeff Moden (3/13/2013)
That got me thinking. Why is this data removed? I'm sure some of the data is stored in memory and automatically reset, but is this the best way to handle this data? Wouldn't it be better to persist this data and allow the DBA to reset values when they were ready?
BWAA-HAA!!! I really have to laugh at this one. Welcome to the nature of "Agile" programming.
If enough people bitch about it, maybe they'll make it so 2 or 3 revs from now. Hmmm... ironically, that would put it out around 2020, the year of "perfect vision".
+1
Jason
AKA CirqueDeSQLeil
I have given a name to my pain...
MCM SQL Server 2008
SQL RNNR
Posting Performance Based Questions - Gail Shaw
Posting Data Etiquette - Jeff Moden
Hidden RBAR - Jeff Moden
VLFs and the Tran Log - Kimberly Tripp
Post #1430571
« Prev Topic
|
Next Topic »
11 posts, Page 1 of 2
1
2
»»
Permissions
You
cannot
post new topics.
You
cannot
post topic replies.
You
cannot
post new polls.
You
cannot
post replies to polls.
You
cannot
edit your own topics.
You
cannot
delete your own topics.
You
cannot
edit other topics.
You
cannot
delete other topics.
You
cannot
edit your own posts.
You
cannot
edit other posts.
You
cannot
delete your own posts.
You
cannot
delete other posts.
You
cannot
post events.
You
cannot
edit your own events.
You
cannot
edit other events.
You
cannot
delete your own events.
You
cannot
delete other events.
You
cannot
send private messages.
You
cannot
send emails.
You
may
read topics.
You
cannot
rate topics.
You
cannot
vote within polls.
You
cannot
upload attachments.
You
may
download attachments.
You
cannot
post HTML code.
You
cannot
edit HTML code.
You
cannot
post IFCode.
You
cannot
post JavaScript.
You
cannot
post EmotIcons.
You
cannot
post or upload images.
Copyright © 2002-2013 Simple Talk Publishing. All Rights Reserved.
Privacy Policy.
Terms of Use.
Report Abuse.