SQL Flow Field Guide

@@TOTAL_READ

Catalog support for SQL Server 2022 (16.x) and 2025 (17.x)

server statistics

What changes

Input
server activity counters
Output or change
integer counter
Return type
integer

Syntax at a glance

@@TOTAL_READ

Work example

Inspect cumulative disk reads reported by the SQL Server process.

Take two readings over a measured interval and account for instance restarts.

Check your work This cumulative counter tracks reads, so compare deltas with database file read diagnostics.

Open Microsoft Learn for full syntax, permissions, and details for your version.