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
How does recursive cte works in sql server?
How to Insert multiple rows with a single insert statement?
What do you understand by replication in sql server? Mention the different types of replication in sql server.
Comment,Datatypes are unlimited
What is difference between joins and subqueries?
How to create a local temporary stored procedure?
If you lose rights to your sql server instance what are the options to connect to sql server instance? : sql server security
Do you know what is a with(nolock)?
Explain SSRS Architecture?
Explain why variables called the most powerful component of ssis?
I create a separate index on each column of a table. What are the advantages and disadvantages of this approach? : Sql server database administration
What are the steps you should follow to start sql server in single-user mode?
how do you test proper tcp/ip configuration windows machine? : Sql server database administration
Suppose you want to implement the following relationships while designing tables. How would you do it?a.) One-to-oneb.) One-to-manyc.) Many-to-many
Why truncate is ddl command?