Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

DMV SQL Server

Posted on 2013-05-21
5
370 Views
Last Modified: 2013-05-22
I came across a term DMV (Dynamic Management Views) in SQL Server 2005.
Not sure what this is or how it is used.  Is this same as a Dynamic View?
Any feedback is greatly appreciated.
0
Comment
Question by:fjkaykr11
  • 3
5 Comments
 
LVL 12

Accepted Solution

by:
sachitjain earned 500 total points
ID: 39186446
Dynamic management views and functions return server state information that can be used to monitor the health of a server instance, diagnose problems, and tune performance. It is mostly used by DBAs for different health checks over databases.

Following msdn link could give you more details:
http://msdn.microsoft.com/en-us/library/ms188754(v=sql.90).aspx
0
 
LVL 9

Expert Comment

by:mimran18
ID: 39186534
Dynamic management views and functions return internal, implementation-specific state data. Their schemas and the data they return may change in future releases of SQL Server. Therefore, dynamic management views and functions in future releases may not be compatible with the dynamic management views and functions in this release. For example, in future releases of SQL Server, Microsoft may augment the definition of any dynamic management view by adding columns to the end of the column list.

http://msdn.microsoft.com/en-us/library/ms188754(v=sql.110).aspx
0
 
LVL 3

Author Comment

by:fjkaykr11
ID: 39187651
I think I was confusing this with Dynamic Views.  That is what I am looking for information on.  What is a Dynamic View and how/when can this be used in T-SQL.  Thanks.
0
 
LVL 3

Author Comment

by:fjkaykr11
ID: 39188770
I see this question has an attention mark because I added this to the automotive section by accident.  How can I remove it from this group?
0
 
LVL 3

Author Closing Comment

by:fjkaykr11
ID: 39188776
thanks.
0

Featured Post

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

JSON is being used more and more, besides XML, and you surely wanted to parse the data out into SQL instead of doing it in some Javascript. The below function in SQL Server can do the job for you, returning a quick table with the parsed data.
Slowly Changing Dimension Transformation component in data task flow is very useful for us to manage and control how data changes in SSIS.
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
Via a live example, show how to shrink a transaction log file down to a reasonable size.

840 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question