Coolthing Of Theday

  • Subscribe to our RSS feed.
  • Twitter
  • StumbleUpon
  • Reddit
  • Facebook
  • Digg

Friday, 19 July 2013

Do you DMV (SQL Server Dynamic Management View)? If not, check out this series... "July, the 31 Days of SQL Server DMO's"

Posted on 07:22 by Unknown

Tamarick Hill - July, the 31 Days of SQL Server DMO’s - Intro

DMO’s burst onto the SQL Server scene in 2005 and when they did they unlocked a wealth of information. I’ve became a major fan of DMO’s as they tend to simplify my troubleshooting as well as provide me with valuable information about what is going on within the SQL Server engine. I would recommend that those of you who are not familiar with DMO’s, take the time to really learn more about them.

For those of you who may not be familiar with DMO’s, for the month of July, I will be writing about one DMO per day. Don’t get me wrong, I’m no DMO expert or anything like that, but I’ve worked with them enough to feel that I can give you some good information about DMO’s to help you get started with using them. During these blog sessions, I will not be providing you with any complicated queries to solve all of your SQL Server problems that you may or may not have. I will be simply introducing you to various DMO’s and illustrating what type of information they provide. After you learn more about these individually, then you will be able to join whatever DMO’s you need to pull back the information you are seeking.

I hope that you all benefit in some form or fashion from my next 31 DMO postings!!! Enjoy! [GD: Post Leached in Full]

Tamarick Hill - July, the 31 Days of SQL Server DMO’s – Day 18 (sys.dm_io_virtual_file_stats)

The sys.dm_io_virtual_file_stats Dynamic Management Function is used to return IO statistic information about each of your database files on your server. As input parameters, this function takes a database_id and a file_id. If you want to return IO statistic information for all files, you can simply pass in NULL values for both of these. Let’s have a look at this function  and examine its results:

SELECT db_name(database_id) DatabaseName, * FROM sys.dm_io_virtual_file_stats(NULL, NULL)

image

...

I don't DMV nearly enough [Insert "Back when I started with SQL Server..." old guy comment here] which means I'm missing out on the awesome that are DMV's. If you've been avoiding or ignoring them, check out these series. It will give you a feel for just some of the cool that can be found, or done with, DMV's.

Here's the series ToC To date (to see the latest, just check out the July archive)...

  • July, the 31 Days of SQL Server DMO’s – Day 18 (sys.dm_io_virtual_file_stats)
  • July, the 31 Days of SQL Server DMO’s – Day 17 (sys.dm_sql_referencing_entities)
  • July, the 31 Days of SQL Server DMO’s – Day 16 (sys.dm_sql_referenced_entities)
  • July, the 31 Days of SQL Server DMO’s – Day 15 (sys.dm_os_volume_stats)
  • July, the 31 Days of SQL Server DMO’s – Day 14 (sys.dm_os_cluster_nodes)
  • July, the 31 Days of SQL Server DMO’s – Day 13 (sys.dm_os_windows_info)
  • July, the 31 Days of SQL Server DMO’s – Day 12 (sys.dm_os_performance_counters)
  • July, the 31 Days of SQL Server DMO’s – Day 11 (sys.dm_os_wait_stats)
  • July, the 31 Days of SQL Server DMO’s – Day 10 (sys.dm_os_waiting_tasks)
  • July, the 31 Days of SQL Server DMO’s – Day 9 (sys.dm_os_sys_info)
  • July, the 31 Days of SQL Server DMO’s – Day 8 (sys.dm_exec_trigger_stats)
  • July, the 31 Days of SQL Server DMO’s – Day 7 (sys.dm_exec_procedure_stats)
  • July, the 31 Days of SQL Server DMO’s – Day 6 (sys.dm_exec_cached_plans)
  • July, the 31 Days of SQL Server DMO’s – Day 5 (sys.dm_exec_query_plan)
  • July, the 31 Days of SQL Server DMO’s – Day 4 (sys.dm_exec_sql_text)
  • July, the 31 Days of SQL Server DMO’s – Day 3 (sys.dm_exec_connections)
  • July, the 31 Days of SQL Server DMO’s – Day 2 (sys.dm_exec_sessions)
  • July, the 31 Days of SQL Server DMO’s – Day 1 (sys.dm_exec_requests)

 

Related Past Post XRef:
“The SQL Server DMV Start Pack” (eBook and T-SQL) from Red Gate and more Dynamic Management Views (DMV) stuff
A Microsoft SQL Server DMV/DMF cheat-sheet with a list of DMV's every SQL DBA should know...
A Microsoft SQL Server DMV/DMF Cheat-Sheet - The Sequel

Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Posted in DBA, SQLServer | No comments
Newer Post Older Post Home

0 comments:

Post a Comment

Subscribe to: Post Comments (Atom)

Popular Posts

  • Mr. 7,000! This is my 7,000th post...
    Before this post; After; 20 visits between taking these snaps? Oh wait, that's probably me searching for past related posts....
  • "Windows Server Essentials Media Pack" (DNLA Stream, HTML5 and Dashboard Media stuff)
    Microsoft Downloads - Windows Server Essentials Media Pack This pack enables the media streaming functionality for Windows Server 2012...
  • Rad Gate Post... Get your Red Gate Post here...
    simple talk - Melanie Townsend - Get a copy of the Red Gate Post We recently put together a newspaper of some of the best articles fr...
  • Windows Management Framework 4.0 (PowerShell 4, PowerShell ISE, Management OData, WMI, etc.) now available
    Keith Hill's Blog - PowerShell 4.0 Now Available You can get PowerShell 4.0 for down level operating systems now via the WMF 4.0 d...
  • Viasfora - Your new favorite Visual Studio Text/*ML Editing Extension?
    Winterdom - Introducing Viasfora A couple of days ago, I unveiled Viasfora , my latest attempt at building a decently packaged extensi...
  • "Windows Server [2012 R2]: The Best Infrastructure to Run Linux Workloads"
    In the Cloud - What’s New in 2012 R2: Enabling Open Source Software Part 4 of a 9-part series . ... There are a lot of great s...
  • [Hardware Review] Life with Haswell... Haswell/Harris Beach Intel SDS Ultrabook Review - Part 2
    "So Greg, how's life with Haswell been?" "Pretty Sweet! (Mostly)" I've been given an opportunity to review t...
  • Fuzzy Lookup Add-In for Excel (Insert lame "Fuzzy, wuzzy was an Excel..." snip here)
    Microsoft Downloads - Fuzzy Lookup Add-In for Excel The Fuzzy Lookup Add-In for Excel performs fuzzy matching of textual data in Exce...
  • Caliburn.Micro v1.5.0 released (CM gets Tasks, Async/Await and Share/Setting for RT... and bug fixes of course)
    Caliburn.Micro - Caliburn.Micro v1.5.0 "Release Notes This release fixes many bugs. It also adds support for Task and async/a...
  • Just about everything you ever wanted to know about SQL Server Date and Time Data Types...
    CodeProject - Date and Time Data Types and Functions - SQL Server (2000, 2005, 2008, 2008 R2, 2012) Introduction It would be bette...

Categories

  • .Net
  • 3DPrinting
  • AFeedYouShouldRead
  • Agile
  • ALM
  • Amazon
  • Amiga
  • Analytics
  • Android
  • ASP.NET
  • Azure
  • BigData
  • bing
  • Blogging
  • Book
  • BookReview
  • BUILD
  • C
  • C#
  • C++
  • Career
  • Cat
  • cheatsheet
  • ClickOnce
  • Cloud
  • ComputerHardware
  • css
  • Data
  • DBA
  • DependencyInjection
  • Deployment
  • Design
  • Development
  • devops
  • DVCS
  • ebook
  • EDD
  • Education
  • EnterpriseLibrary
  • EntityFramework
  • Exchange
  • Expression
  • gadget
  • Game
  • GIT
  • Google
  • Government
  • Hadoop
  • hardware
  • HardwareReview
  • HaswellReview
  • HTML5
  • Humor
  • IE
  • IEExtension
  • IfAllElseFails
  • IIS
  • ILMerge
  • Image
  • Infographic
  • interview
  • InversionOfControl
  • Java
  • Javascript
  • Kinect
  • LightSwitch
  • LINQ
  • Linux
  • LosAngeles
  • Lucene
  • Lync
  • MEF
  • Metro
  • MicrosoftOffice
  • MicrosoftOutlook
  • Mono
  • MVC
  • MVVM
  • NetMon
  • NLP
  • NoSQL
  • NuGet
  • OData
  • OneNote
  • OpenXML
  • Paint.Net
  • Personal
  • Photosynth
  • Physics
  • portable
  • Poster
  • PowerShell
  • Preparedness
  • Presentation
  • Prism
  • PrivateCloud
  • RegEx
  • RemoteDesktop
  • Reporting
  • RIAServices
  • Science
  • ScienceFiction
  • Scratch
  • Scrum
  • ServiceBus
  • SharePoint
  • Silverlight
  • SimiValley
  • SPA
  • Space
  • SQLServer
  • Storyboard
  • Surface
  • SVG
  • SystemAdministration
  • T4
  • TeamBuild
  • TeamFoundationServer
  • TechEd
  • Training
  • TypeScript
  • UnitTesting
  • UnityApplicationBlock
  • Utility
  • Veteran
  • VirtualMachine
  • Visio
  • VisualBasic
  • VisualStudio
  • WCF
  • Web X.X
  • Webcast
  • WebFeed
  • WebMatrix
  • Windows
  • Windows7
  • Windows8
  • Windows8.1
  • WindowsHomeServer
  • WindowsLiveWriter
  • WindowsPhone
  • WindowsServer
  • WinRT
  • WiX
  • WMI
  • WOPI
  • WPF
  • XAML
  • XBox360
  • XboxOne
  • zombie

Blog Archive

  • ▼  2013 (500)
    • ►  December (12)
    • ►  November (61)
    • ►  October (65)
    • ►  September (38)
    • ►  August (47)
    • ▼  July (75)
      • [Humor] A Quick Byte...
      • Opening the U.S. Code, does the U.S. House, releas...
      • Can you Hekaton? Intro to the SQL Server 2014 Anal...
      • Microsoft Developer Network get's a face and featu...
      • Free eBook of the Day: "Testing for Continuous Del...
      • "Windows 8 App Management Toolkit for Powershell" ...
      • 27 Things only a Dev will find funny...
      • App Dev Training updated for SharePoint/Office 201...
      • Think VS2013 means no more VS2012 updates? Think a...
      • Building big bucks with big data... "Big Data, Ana...
      • [Hardware Review] Hello Haswell... Haswell/Harris ...
      • Don't fear the shell... - "Getting Started with Po...
      • Byte 0-1 - Byte Magazine Volume 00, Number 1 (and ...
      • Await no more, Amazon Web Services .Net SDK v2 pre...
      • Imaging an even simpler image for using the Nokia ...
      • National app privacy code of conduct released by t...
      • "Rethinking Enterprise Storage: A Hybrid Cloud Mod...
      • "Manhattan District History" - History of the Manh...
      • [Irony alert] Worried about the NSA reading your e...
      • modern.IE is OSS... The HTML/CSS/JS code scanner f...
      • The Gu is giving you a car! (Well chance to win on...
      • Here's your chance to tell the .Net Framework Team...
      • Katana? OWIN? What? Here's what and how to get sta...
      • Katana Lifts Its License - Katana v2 nuget bins wi...
      • "Windows Server [2012 R2]: The Best Infrastructure...
      • Building on Build (not that Build) MSBuild and C#/...
      • Is the DHS/Department of Homeland Security Followi...
      • [Hardware Review] Haswell is coming... Haswell/Har...
      • [Humor] PRISM Anxiety Disorder
      • 5 for 11 on 8.1 - Five Fun Features of Modern IE11...
      • Miss the future events on the To-Do pane in Outloo...
      • [Why Didn't I Think of This... Thing of the day] W...
      • Do you DMV (SQL Server Dynamic Management View)? I...
      • Shining some light on your MSI to WiX conversion w...
      • Legislative Data Challenge - Win $5k challenge by ...
      • Silos are for farms, not agile development teams...
      • New C#/VB Language features in VS2013/.Net 4.5.1? ...
      • “Productivity Hub SP1” = Office 2007/2010 Module o...
      • [Awesomeness of the Day] Dragon Skull Found on Beach
      • 6 on 8.1 - VB6 on Windows 8.1...
      • "How to Develop Your DBA Career" Free eBook (and p...
      • List of some of the new Windows 8.1 features that ...
      • Gestalt your way to better data visualization by f...
      • Missed the session about C# 6/.Net 5 at Build? (We...
      • Full O'Fun with the "FEZ Game-O", an open-source ....
      • Northwest Cadence is giving a number of great (and...
      • Lobbing WCF into the LOB with the WCF LOB Adapter ...
      • SkyDrive Pro vs SkyDrive, do you know what each on...
      • New Sponsor - Infragistics
      • Time ENF? "ENF, a New Standard for Managing Native...
      • Reimagining images with the Nokia Imaging SDK for ...
      • A little Hadoop, HDInsight, Mahout, some .Net and ...
      • Privatize your cloud with help from these two new ...
      • Windows 8 Start Screen Layout backup... There's a ...
      • Touching a file (changing last updated Date/time) ...
      • How fast is your WinPhone8/Win8 connection? Micros...
      • [Limited time local offer] LA Dodgers Do Simi a Go...
      • InRelease Released - The InRelease acquisition has...
      • What every Angeleno needs... a .LA domain name.
      • Here are the new HERE Launchers (hear, hear!)
      • Update Tuesday - Should you be worried about the f...
      • Find the "Missing LINQ" - Future project of "hard ...
      • Unofficial Windows 8 vs Windows 8.1 Assemblies - W...
      • 30 years of Hello World - One Developers Life Lang...
      • Think virtualizing SQL Server is evil? Here's a 94...
      • RIA has been freed - RIA Services is being open s...
      • ".NET Technology Guide for Business Applications" ...
      • My Top Five Daily Web Curators - Five Bloggers tha...
      • SSMS Tools Pack 2.7 Released (BTW, if you're on an...
      • "25 Secrets for Faster ASP.NET" Free [ Name and Em...
      • Immutable isn’t just for Breakfast anymore [okay, ...
      • Want to see Bill Gates speak live (via webcast)? W...
      • Playing with SQL Server 2014 (and VS2013) the Azur...
      • Lucian Talks Up Async - The Complete Async Set fro...
      • 350 .Net Dev Interview Questions and Answers PDF f...
    • ►  June (39)
    • ►  May (40)
    • ►  April (42)
    • ►  March (39)
    • ►  February (42)
Powered by Blogger.

About Me

Unknown
View my complete profile