I’ve generated a file for NPM Orion Insights and noticed that some MSSQL write operations are exceeding 10ms. Would anyone be able to share the procedure to address or clear this?
Yes — getting MSSQL write latency consistently under 10 ms is a very common goal (and the exact threshold Orion Insights uses as a best-practice flag for SQL Server). SolarWinds documentation and SQL experts (Microsoft, Paul Randal, SQL Sentry/DPA) all agree:
Orion Insights flags anything consistently over 10 ms on write operations because that’s where transaction log flushes, checkpoints, and tempdb contention start hurting query response times.
SQL
SELECT DB_NAME(vfs.database_id) AS [Database], vfs.file_id, mf.type_desc AS [File Type], mf.name AS [Logical Name], mf.physical_name AS [Physical Path], vfs.num_of_writes, vfs.io_stall_write_ms, (vfs.io_stall_write_ms * 1.0 / NULLIF(vfs.num_of_writes, 0)) AS [Avg Write Latency (ms)]FROM sys.dm_io_virtual_file_stats(NULL, NULL) vfsINNER JOIN sys.master_files mf ON vfs.database_id = mf.database_id AND vfs.file_id = mf.file_idWHERE vfs.num_of_writes > 0ORDER BY [Avg Write Latency (ms)] DESC;
Focus on any file showing > 10 ms (especially .ldf transaction logs and tempdb files).
Priority
Fix
Expected Improvement
Notes
1
Move transaction log (.ldf) files to dedicated fast storage (separate SSD/NVMe volume)
Huge (often drops from 15–30 ms → 2–5 ms)
#1 cause of high write latency
2
Optimize tempdb (multiple data files + fast storage)
Very high
1 file per CPU core (max 8) on fastest LUN
3
Pre-size database and log files + set sensible autogrowth (64–512 MB)
Medium–High
Avoid 10% autogrowth and tiny increments
4
Exclude SQL data/log/tempdb files from antivirus real-time scanning
Medium
Very common hidden cause
5
If virtualized: Move to higher-IOPS tier (Azure Premium SSD v2, VMWare VVols, etc.) or dedicated datastore
High
Check for storage contention (other VMs on same LUN)
6
Enable Instant File Initialization (SQL service account needs "Perform volume maintenance tasks")
Medium for growth events
Reduces spikes during auto-growth
7
Query/index tuning + update statistics (reduce unnecessary I/O)
Long-term
Assign AppInsight for SQL template if not already done — it gives you the best built-in visibility into these exact metrics and will clear the Insights warning once resolved.
This exact issue (and the same 10 ms threshold) appears in many SolarWinds + SQL environments. The fixes above resolve it for the vast majority of cases.