How to Check Actual Data File and Transaction Log Usage
Practical T-SQL queries showing size, usage, and free space in SQL Server data files and transaction logs.
Practical T-SQL queries showing size, usage, and free space in SQL Server data files and transaction logs.
SQL Server 2025 (17.x) introduces meaningful changes for DBAs, architects, and developers, particularly in query processing, new data types, AI integration, and workload management. However, it is important to distinguish generally available functionality from features requiring PREVIEW_FEATURES.
This overview is based on official Microsoft documentation rather than unverified feature names.
SQL Server 2025 extends the Intelligent Query Processing (IQP) family with:
There is no separately documented product named “Query Store 3.0.” Performance diagnostics still require execution plans, wait statistics, Query Store, and application measurements.
Beneath SQL Server’s surface is a fascinating choreography of background processes that determine performance. Although Checkpoint, Lazy Writer, and Log Flush perform different tasks, all compete for a critical resource: the I/O subsystem, managed through SQL Server’s I/O scheduling mechanisms.
Understanding their interactions is essential. We can make this invisible competition visible with DMVs and Extended Events (XE).
Every chart tells a story. CPU, I/O, memory, and queries all reveal what is really happening on a server. A good DBA does not merely react to an alert — they understand why it appeared.
My favorite stack is Telegraf + InfluxDB + Grafana. Together they form a cockpit: SQLManiak Monitoring. Not a dashboard designed just to look pretty, but a map of system awareness where every metric has meaning.
Collect IIS metrics and access logs with Telegraf and visualize them in Grafana using InfluxDB 2.x.
Step-by-step Windows setup for InfluxDB 2.x, Telegraf and Grafana, including SQL Server dashboards and alerts.