Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

How to calculate iops?

Posted on 2016-11-15
12
Medium Priority
?
413 Views
Last Modified: 2016-11-18
Hi

Can you tell me what am I missing to calculate  iops?

I have read  and write trans per second. What else do I need to calculate iops?


Can provide clear example?

Thx, m
0
Comment
Question by:michalek19
  • 6
  • 5
12 Comments
 
LVL 7

Expert Comment

by:No More
ID: 41888931
0
 

Author Comment

by:michalek19
ID: 41889828
Based on what I have , what would be IOPs number?

DB      # of Read      # of Write
Axcx      16671511      898145
Axcxsdsd      6575984      913552
qer      8334046      763289
Axcxsdsdqeqwe      47583994      18902153
Axcxwerwerw      1422121      1636107
Axcx      3230227      265539
Axcx      393454      0
Erewrasdf      2555081      2935
Metereasdf      123513      229699
SFrweraSDf      322377      0
Sradsfasfas      1200      12
Srewawfe      1798607      24899186
0
 
LVL 35

Expert Comment

by:Pawan Kumar
ID: 41890748
Are you checking Disk IO performance for the entire DB? What Output you want from the above data ?
0
Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

 

Author Comment

by:michalek19
ID: 41890757
Correct disk up performance but I am looking for total IOPS
0
 
LVL 35

Expert Comment

by:Pawan Kumar
ID: 41890764
Can you give me the query you are using for above numbers >
0
 

Author Comment

by:michalek19
ID: 41890773
SELECT name AS 'Database Name'      
,SUM(num_of_reads) AS 'Number of Read'      
,SUM(num_of_writes) AS 'Number of Writes'
FROM sys.dm_io_virtual_file_stats(NULL, NULL) I  
INNER JOIN sys.databases D        
ON I.database_id = d.database_id
GROUP BY name ORDER BY 'Number of Read' DESC;
0
 
LVL 35

Expert Comment

by:Pawan Kumar
ID: 41890776
try this


SELECT SUM([Number of Read]) [Number of Read] , SUM([Number of Writes])[Number of Writes]
FROM 
(
	SELECT name AS 'Database Name'      
	,SUM(num_of_reads) AS 'Number of Read'      
	,SUM(num_of_writes) AS 'Number of Writes' 
	FROM sys.dm_io_virtual_file_stats(NULL, NULL) I  
	INNER JOIN sys.databases D        
	ON I.database_id = d.database_id
	GROUP BY name
)k
ORDER BY SUM([Number of Read]) DESC

Open in new window

0
 

Author Comment

by:michalek19
ID: 41890781
I got out put.  But what is the IOPS

Read                  Write
260407117        311814718
0
 

Author Comment

by:michalek19
ID: 41891565
I got this result

What these numbers represents?
What would be IOPS

 Read                  Write
 260407117        311814718
0
 
LVL 35

Expert Comment

by:Pawan Kumar
ID: 41891573
Wait I shall reply in some time.
0
 
LVL 35

Accepted Solution

by:
Pawan Kumar earned 2000 total points
ID: 41892423
These numbers represent Number of Read and Writes happened in all the databases present on the server.

IOPS
-Basically here we need Disc Read IO /Sec and Disc Write IO /Sec. Many people consider IOPS as SUM of  Disk Reads per sec and Disk Writes per sec but many consider other performance counters also. <<read more at - https://social.technet.microsoft.com/Forums/systemcenter/en-US/92ad3a22-49fb-4e60-9573-8b6f629cbbe9/monitoring-sql-iops?forum=operationsmanagergeneral>>

For IOPS please read article from Denny Cherry AC.
https://www.dcac.co/syndication/how-do-i-measure-iops-from-sql-server

Below url will also provide you another query which will provide some IOPS stats-
https://ask.sqlservercentral.com/questions/41131/obtaining-sql-server-specific-iops.html

Hope it helps !
0
 

Author Closing Comment

by:michalek19
ID: 41892766
Thx
0

Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Question has a verified solution.

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

I have written a PowerShell script to "walk" the security structure of each SQL instance to find:         Each Login (Windows or SQL)             * Its Server Roles             * Every database to which the login is mapped             * The associated "Database User" for this …
Naughty Me. While I was changing the database name from DB1 to DB_PROD1 (yep it's not real database name ^v^), I changed the database name and notified my application fellows that I did it. They turn on the application, and everything is working. A …
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an anti-spam), the admin…
We’ve all felt that sense of false security before—locking down external access to a database or component and feeling like we’ve done all we need to do to secure company data. But that feeling is fleeting. Attacks these days can happen in many w…

971 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