Solved

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

Posted on 2014-09-26
6
83 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
  • 4
  • 2
6 Comments
 
LVL 47

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 47

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
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 
LVL 47

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 47

Accepted Solution

by:
Vitor Montalvão earned 500 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

U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
MS SQL Server Management Studio, Save query 2 18
SSRS 2013 - Creating a summarized report 19 32
Linked Server Issue with SQL2012 3 24
insert wont work in SQL 14 19
Why is this different from all of the other step by step guides?  Because I make a living as a DBA and not as a writer and I lived through this experience. Defining the name: When I talk to people they say different names on this subject stuff l…
This article shows gives you an overview on SQL Server 2016 row level security. You will also get to know the usages of row-level-security and how it works
Using examples as well as descriptions, and references to Books Online, show the documentation available for date manipulation functions and by using a select few of these functions, show how date based data can be manipulated with these functions.
Via a live example, show how to shrink a transaction log file down to a reasonable size.

785 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