SQL Server performance audit: what does it really measure?
SYAGA CONSULTING · IT consulting and audit since 2009 · SIREN 518 489 471
A thorough SQL Server audit involves far more than just checking two counters. It methodically scans the server's status across multiple domains, quantifying every finding and prioritising them. Specifically, our scanner relies on seven modules and over eighty controls, each of which is documented and repeatable. Here is what we actually measure, domain by domain, and how we turn it into a clear action plan.
Seven areas, one 360 diagnosis
Data collection covers every blind spot of a database:
- Security. Accounts and permissions, weak passwords, encryption, attack surface, access monitoring.
- Configuration. Instance and database settings, including settings that deviate from best practice.
- Performance and indexing. Locks, execution plans, missing or fragmented indexes, costly queries.
- Capacity and storage. Disk space, file growth, looming saturation.
- Maintenance and scheduled jobs. Re-indexing, statistics updates, jobs that fail silently.
- Backups. Existence, recency and consistency of the restore chain.
- Sage X3 module. For the environments concerned: X3 locks, sessions, archiving and purging.
Action-oriented outputs
Measurement alone is not enough; you must also know where to start. Every control is output in a structured format (category, object, measure, value, recommendation) and assigned a severity level: P1 critical, P2 important, or P3 low. The executive can see the urgency at a glance, while the technician has the granular detail needed to take action. This is what transforms a list of measures into a roadmap.
This prioritisation avoids the most common audit pitfall: a hundred-page report where everything carries equal weight and no one reads to the end. At SYAGA, three untested backups and an overexposed admin account rise to the top; a cosmetic setting remains at P3, visible but without false urgency. We address what can halt operations or open a door first, then move on to what optimises.
A tool-based method, not a slide-deck checklist
Our controls do not come out of a Word document. They rely on references the SQL Server community recognises: the sp_Blitz diagnostic approach (Brent Ozar), Glenn Berry's DMV diagnostic queries, and pressure detection from sp_PressureDetector (Erik Darling). These are proven probes, not opinions. The controls are also mapped to ISO 27001, NIST 800-53, NIS2, the GDPR and OWASP. We speak of alignment with these frameworks, never of certification: the audit sheds light on your compliance; it does not grant it.
Beyond the current state: the forensic component
Measuring a server's status answers the question of where you stand. Understanding an incident requires going further. The forensic component exports strategic tables and audits L4G application code: it builds a call graph and detects dangerous code patterns. This is about understanding why an incident occurred, not just noting that it exists. It is the level required when preparing in-depth remediation rather than a simple status update.
Read-only, without touching your data
One last, essential point: all collection is read-only, with no writes to your databases. We read metadata, execution plans, configuration and counters, not the business content of your tables. The audit can therefore be rerun regularly to measure progress, without ever putting production at risk. A server that has not been collected is marked as not audited, never assumed compliant by default.