How to Display, Amount of Disk Activity Generated by
Transact-SQL Statements?
Answer / 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 |
What is transact-sql language?
Which tcp/ip port does sql server run on? How can it be changed?
What is the log shipping?
What is the purpose of object explorer and its features? : sql server management studio
What is log in sql server?
How can you get @@error and @@rowcount at the same time?
Explain the microsoft sql server delete command? : SQL Server Architecture
What is user-defined inline table-valued function?
What is the command used to recompile the stored procedure at run time?
how can do you the system monitoring?
Write a sql query to display the current date?
What is the Main Difference between ACCESS and SQL SERVER?
Oracle (3259)
SQL Server (4518)
MS Access (429)
MySQL (1402)
Postgre (483)
Sybase (267)
DB Architecture (141)
DB Administration (291)
DB Development (113)
SQL PLSQL (3330)
MongoDB (502)
IBM Informix (50)
Neo4j (82)
InfluxDB (0)
Apache CouchDB (44)
Firebird (5)
Database Management (1411)
Databases AllOther (288)