?
Solved

Average/Maximum Read/Write I/O Waits for tables

Posted on 2014-09-26
6
Medium Priority
?
90 Views
Last Modified: 2014-09-30
Hello,

How can I collect Average/Maximum Read/Write I/O Waits for tables in db sql server?
Thanks
0
Comment
Question by:bibi92
[X]
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
  • 4
  • 2
6 Comments
 
LVL 51

Expert Comment

by:Vitor Montalvão
ID: 40345915
You can query the performance counters dmv:
SELECT * 
FROM sys.dm_os_performance_counters
WHERE counter_name LIKE '%IO wait%'
   OR counter_name LIKE 'write%'
   OR counter_name LIKE '%reads%'

Open in new window

0
 
LVL 51

Expert Comment

by:Vitor Montalvão
ID: 40345922
Or if you are talking only in disk thresholds, then check if this query is what you want:
SELECT * FROM sys.dm_io_virtual_file_stats(default, default)

Open in new window

0
 

Author Comment

by:bibi92
ID: 40348444
Hello,

I search the IO wait on tables.

Thanks

Regards
0
Prepare for your VMware VCP6-DCV exam.

Josh Coen and Jason Langer have prepared the latest edition of VCP study guide. Both authors have been working in the IT field for more than a decade, and both hold VMware certifications. This 163-page guide covers all 10 of the exam blueprint sections.

 
LVL 51

Expert Comment

by:Vitor Montalvão
ID: 40349445
For that you have the sys.dm_os_wait_stats view.
Here the MSDN article about that view and information about all the wait types.
0
 

Author Comment

by:bibi92
ID: 40350354
Ok thanks but I have not found how I can check io waits per tables.
0
 
LVL 51

Accepted Solution

by:
Vitor Montalvão earned 2000 total points
ID: 40351629
You need to understand the wait types so you can know which ones are you looking for.
Paul Randal's made a survey and he compiled the results of the most worrying wait type. You can start with those ones that are more typical for bottleneck issues.
0

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

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

For both online and offline retail, the cross-channel business is the most recent pattern in the B2C trade space.
Recently we ran in to an issue while running some SQL jobs where we were trying to process the cubes.  We got an error saying failure stating 'NT SERVICE\SQLSERVERAGENT does not have access to Analysis Services. So this is a way to automate that wit…
Familiarize people with the process of retrieving data from SQL Server using an Access pass-thru query. Microsoft Access is a very powerful client/server development tool. One of the ways that you can retrieve data from a SQL Server is by using a pa…
Via a live example, show how to set up a backup for SQL Server using a Maintenance Plan and how to schedule the job into SQL Server Agent.
Suggested Courses

771 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