How to Display, Amount of Disk Activity Generated by
Transact-SQL Statements?
Answer Posted / guest
You can set SQL Server to display information regarding the
amount of disk activity generated by T-SQL statements. This
option displays the number of scans, the number of logical
reads (pages accessed), and the number of physical reads
(disk accesses) for each table referenced in the statement.
This option also displays the number of pages written for
each statement. When STATISTICS IO is ON, statistical
information is displayed. When OFF, the information is not
displayed. After this option is set ON, all subsequent T-
SQL statements return the statistical information until the
option is set to OFF.
Here is the syntax:
SET STATISTICS IO {ON | OFF}
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
Can you explain different types of locks in sql server?
Explain something about security and SQL Azure?
How sql server enhances scalability of the database system?
What is the guest user account in sql server? What login is it mapped to it? : sql server security
What is Command line parameters in PLSQL.?
How do I start sql server 2016?
Which are the olap features?
What is the chart in report?
Explain what is analysis service repository?
Does a server store data?
What information is maintained within the msdb database?
How you can add messages to the nt event log from within a stored procedure?
What are sql servers used for?
What is impersonation? What are the different impersonation options available in ssas? : sql server analysis services, ssas
Can you explain what are commit and rollback in sql?