Repository navigation
Prerequisites to run SQL Nexus
- .NET framework 4.8 (runtime is sufficient). Windows 11 has version already.
- An instance of SQL Server (versions 2014 through 2022) to connect to and process data
- Optional: PowerBI Desktop
- Optional: Download and install RML Utilities (RMLSetup_AMD64.msi). RML Utilities is no longer required for Extended Events (.xel) files. Starting with this release, SQL Nexus ships with a built-in Trace Event Importer (Managed) that reads .xel files directly using the managed TraceEvent (XeLite) library. It is enabled by default and populates the same ReadTrace.* tables, so all ReadTrace-based reports keep working.
Automate Prerequisites Installation
You can use the following PowerShell file (https://github.com/microsoft/SqlNexus/blob/master/Setup-Related/SetupSQLNexusPrereq.ps1) to install the three required and one optional prerequisites for SQL Nexus
How to Download and Use
- Download the SQLNexus_8.26.09.24_Signed.zip from Assets below. This is a zip file that contains Microsoft digitally-signed binaries for SQL Nexus.
- Extract in a path location of your choice
- Go to the path and run sqlnexus.exe
For more detailed information on how to install SQL Nexus, see Installation and How to use
Verify downloaded file:
You can verify the download by computing the hash of the SQLNexus_8.26.09.24_Signed.zip file, using this command:
certutil -hashfile SQLNexus_8.26.09.24_Signed.zip SHA512Compare to the output to this:
0d0669b1c121b138c68e2bad464a03aca6d04bdcf7de4f9cc0f382d87c7a002736fdf89ff796f9ad4aeadc05720335a6458e095831ba5ae0a54992c90e649ee8
List of fixes and enhancements:
AI-assisted diagnostics
- Added a read-only SQL Nexus MCP server and purpose-built diagnostic agent with approximately 40 tools for CPU, I/O, waits, blocking, memory, HADR, setup, missing indexes, query analysis, and two-database comparison. Output receives PII scrubbing, and AI guidance files are protected by SHA-256 integrity checks. PR #540
- Added scenario guidance for repeatable CPU, I/O, memory, blocking, HADR, setup, index, application, and comparative investigations. AI Assisted Analysis · microsoft/SqlNexus Wiki
Import coverage and control
- Added a fully managed TraceEvent importer for .xel files, replacing the native ReadTrace dependency while preserving the existing ReadTrace schema and report compatibility. PR #515
- Added a SQL Server ERRORLOG importer and support for SQL LogScout head-and-tail files used for very large error logs. PR #511, PR #552
- Added SQLAssessment API import, a report, and best-practice alert integration. PR #419
- Added 12 SQL LogScout connectivity/security tables covering TLS protocols, client drivers, SPNs, service accounts, delegation, Kerberos policy, network security, aliases, certificates, and certificate key ACLs. PR #560
- Added imports for In-Memory OLTP checkpoint files, disk volumes, memory health history, and running device drivers. PR #421, PR #451, PR #466, PR #461
- Added support for new SQL LogScout Linux file names PR #401
- Added support for importing the sibling SharedOutputFiles folder produced by SQL LogScout in All Instances collection. PR #558
- Added /M command-line importer selection and an import-menu option to include or exclude which importers are engaged. PR #524, PR #500
Reports and analysis - Added 12 reports: SQL Assessment, Active Processes, Running Device Drivers, and nine static ReadTrace workload reports (main, grouping, lineage, interesting events, warnings, batch and statement details, and batch and statement Top-N views). PR #419, PR #468, PR #461, PR #478
- Redesigned System Requests CPU reporting to account for logical CPU count and provide a more accurate view of utilization. PR #487
- Highlighted non-default database-scoped configuration values and expanded the underlying data. PR #413
- Sorted report start/end time parameters and made the Power BI performance report broadly shareable by removing its confidential sensitivity label. PR #442, PR #467
Accessibility and usability
- Applied accessibility enhancements across 57 RDLC reports, including contrast-theme support and accessible report content. PR #492
- Added UI Automation names and visible status text to Analysis Summary result icons so status is not conveyed by image/color alone. PR #539
- Improved importer progress/log reporting and kept importer choices under explicit user control. PR #418, PR #500
Delivery and engineering
- Added release preparation/signing automation and PDB generation. PR #398
- Added build/release pipelines, scheduled validation, CodeQL configuration, Dependabot updates, pinned GitHub Actions, and compliant NuGet feeds. PR #440, PR #439, PR #549, PR #526
- Added a .NET Framework unit-test project and repository coding/testing guidance; new importer, validation, date conversion, encryption, MCP, integrity, logging, and PII tests now protect key paths. PR #541
- Removed stale Rowset Editor, DataCollectors, report backups, Linux report copies, documentation, certificates, and generated user files to reduce repository and release-package clutter.
Fixes and hardening
Import correctness and resilience
- Fixed locale-specific comma/dot decimal parsing that caused numeric values to import as NULL. PR #444
- Added date-range validation, bounded error payloads, and malformed multi-line record handling so invalid replication metadata does not abort an entire import. PR #545
- Fixed sys.dm_exec_connections rowset matching and a later collected-column rename. PR #530, PR #563
- Fixed duplicate system-configuration data and certificate rowset typing. PR #443, PR #447
- Corrected Custom XEL import discovery and progress reporting for SQLDiag, AlwaysOn Health, and System Health files. PR #418
Reports and post-processing
- Fixed the Query Store Details report load failure caused by a toggle in a page footer. PR #432
- Fixed incorrect blocking duration caused by incomplete collection runtime boundaries. PR #512
- Fixed PerfStats analysis defects and a script-variable issue that prevented post-processing. PR #489
- Fixed broken ReadTrace report links, duplicate post-import invocation, accidental processing of log_NNN.trc, and working-directory-sensitive script hashing. PR #486, PR #471, PR #480
Security and compatibility
- Hardened database, table, and column identifier validation and bracket quoting across UI, command-line, database creation, ReadTrace, and TextRowset paths. PR #429, PR #455, PR #464, PR #548
- Added execution-script integrity validation and made hashing independent of the process working directory. PR #435, PR #480
- Obscured SQL-auth credentials in launched command lines and fixed CodeQL precision and short-circuit-logic findings. PR #449, PR #452, PR #459
- Added SQL Server 2025 encryption options to post-processing and honored encryption settings when Relog creates the Perfmon DSN. PR #508, PR #555
- Updated filter-driver altitude data used by compatibility diagnostics. PR #503
Development Environment:
Visual Studio 2019/2022
What's Changed
- Supporting SQL LogScout Linux new file naming conventions by RL_MSFT (@rl-msft) in #401
- Remove unused pfx file from folder by JosephPilov-MSFT (@PiJoCoder) in #405
- Remove rowseteditor by JosephPilov-MSFT (@PiJoCoder) in #406
- Add a sample pipeline file by JosephPilov-MSFT (@PiJoCoder) in #407
- Update azure-pipeline.yml for Azure Pipelines by JosephPilov-MSFT (@PiJoCoder) in #411
- Bot generated config file for 1ES by JosephPilov-MSFT (@PiJoCoder) in #414
- Added a new table rowset on InMemory Checkpoint Files - tbl_dm_db_xtp_checkpoint_files by Andre Savioli (@asavioliMSFT) in #421
- Import SQLAssessment API and create a report and best practice rule from it by JosephPilov-MSFT (@PiJoCoder) in #419
- Add code_of_conduct.md and contributing.md files to repo by JosephPilov-MSFT (@PiJoCoder) in #431
- Create release scripts + generate PDB for RowsetImportEngine.dll by JosephPilov-MSFT (@PiJoCoder) in #398
- PR: Update CustomXEL importer to import _SQLDIAG.xel, AlwaysOn_health.xel, system_health.xel successfully and report in progress bar and SQLNexus log by JosephPilov-MSFT (@PiJoCoder) in #418
- Improve Database name validation when passed as a paramter and in GUI #425 #424 by JosephPilov-MSFT (@PiJoCoder) in #429
- Update azure-pipeline.yml to run on a schedule weekly by JosephPilov-MSFT (@PiJoCoder) in #423
- Highlight non-default db scoped configuration values and adjust dataset query by JosephPilov-MSFT (@PiJoCoder) in #413
- #422 Removed footer from Query Store Details Report to allow it to open by hacitandogan (@hacitandogan) in #432
- Stop tracking NexusReports.rptproj.rsuser by adding it to .gitignore by JosephPilov-MSFT (@PiJoCoder) in #434
- Validate execution scripts and disable NexusProject build by JosephPilov-MSFT (@PiJoCoder) in #435
- CodeQL Advanced set up using a config file by JosephPilov-MSFT (@PiJoCoder) in #439
- #410 StartTime and EndTime in the report parameters section sorted by hacitandogan (@hacitandogan) in #442
- #428 modifications for [tbl_Sys_Configurations]. duplicate data by hacitandogan (@hacitandogan) in #443
- Fix for decimal separator setting causing null inserts for multiple columns and tables by hacitandogan (@hacitandogan) in #444
- TextRowset object and column validation for drop and create and a minor certificates rowset fix by JosephPilov-MSFT (@PiJoCoder) in #447
- Obscure credentials for SQL auth when launching ReadTrace and SQL Nexus with SQL Auth by JosephPilov-MSFT (@PiJoCoder) in #449
- Fix code scanning alert 448 and 453: Possible loss of precision by JosephPilov-MSFT (@PiJoCoder) in #452
- Update azure-pipeline.yml to add build and release jobs by JosephPilov-MSFT (@PiJoCoder) in #440
- New disk volume rowset by JosephPilov-MSFT (@PiJoCoder) in #451
- Potential fix for code scanning alert no. 442: Potentially dangerous use of non-short-circuit logic by hacitandogan (@hacitandogan) in #459
- #463 validate db name to match readtrace standards by JosephPilov-MSFT (@PiJoCoder) in #464
- Additional name object and column validation with Quotename + code refactoring by JosephPilov-MSFT (@PiJoCoder) in #455
- Add rowset to import sys.dm_os_memory_health_history into tbl_dm_os_memory_health_history by PhilBarry-MSFT (@PhilB-MSFT) in #466
- PowerBI Reports - Changing Sensibility label from confidential to public by Andre Savioli (@asavioliMSFT) in #467
- #454 Created new report to show Processes (all running processes) and fixed memory usage MB column by hacitandogan (@hacitandogan) in #468
- ReadTrace post processing scripts added directly into sql nexus folder instead of generating dynamically by hacitandogan (@hacitandogan) in #473
- Import running drivers rowset into SQL Nexus and add a report by JosephPilov-MSFT (@PiJoCoder) in #461
- Refactor read trace invocation to avoid duplicate calls to post import script and to exclude log_NNN.trc files by JosephPilov-MSFT (@PiJoCoder) in #471
- Add ReadTrace reports as static reports instead of auto-generating them. by JosephPilov-MSFT (@PiJoCoder) in #478
- Fix script hashing to use full application startup path and add logging by JosephPilov-MSFT (@PiJoCoder) in #480
- Fix broken links to ReadTrace reports since file names have been changed by JosephPilov-MSFT (@PiJoCoder) in #486
- Add SQLDiagAlwaysOnXEL import menu option to exclude SQLDiag/AlwaysON/System Health XEL from default import by JosephPilov-MSFT (@PiJoCoder) in #500
- Accessibility Enhancements H1 2026 by JosephPilov-MSFT (@PiJoCoder) in #492
- Modify System_Requests_C report to account for # of CPU on the system + redesign what shows on it by JosephPilov-MSFT (@PiJoCoder) in #487
- Remove unused Linux Perfmon report files by JosephPilov-MSFT (@PiJoCoder) with @Copilot in #514
- #502 update filter driver altitudes with new ones and update any old ones by JosephPilov-MSFT (@PiJoCoder) in #503
- Add SQL Server 2025 encryption options to sqlcmd calls in PostProcess.cmd by JosephPilov-MSFT (@PiJoCoder) with @Copilot in #508
- #476 Fix: blocking_end reported incorrectly due to incomplete runtime… by hacitandogan (@hacitandogan) in #512
- Add Errorlog importer in SQL Nexus by JosephPilov-MSFT (@PiJoCoder) in #511
- Fix various places in PerfStatsAnalysis.sql - minor issues by JosephPilov-MSFT (@PiJoCoder) in #489
- Remove unused Perfmon_C - Backup.rdl files by JosephPilov-MSFT (@PiJoCoder) with @Copilot in #516
- CFS compliance: route NuGet restore through Azure Artifacts feed by JosephPilov-MSFT (@PiJoCoder) in #526
- #529 - Fixing the rowset to properly import data from dm_exec_connections by Andre Savioli (@asavioliMSFT) in #530
- Add scheduled run at 3 am ever 3 days for pipeline by JosephPilov-MSFT (@PiJoCoder) in #532
- Add a nuget config file for DTP Dev Tools for signing by JosephPilov-MSFT (@PiJoCoder) in #534
- modify the nuget_dtp_dev_tools.config file with a new feed by JosephPilov-MSFT (@PiJoCoder) in #535
- Add a visible status text to the Analysis Summary icons in Result column (UIA Name) by JosephPilov-MSFT (@PiJoCoder) in #539
- Add /M command-line switch for importer selection by JosephPilov-MSFT (@PiJoCoder) in #524
- TraceEvent Importer (managed) replacement for ReadTrace by JosephPilov-MSFT (@PiJoCoder) in #515
- Add CoPilot instructions to SQL Nexus solution for automation of tests, coding practices guidance, etc by JosephPilov-MSFT (@PiJoCoder) in #541
- Remove Data collectors folder by JosephPilov-MSFT (@PiJoCoder) in #543
- Prevent replication metadata import failures caused by datetime overflows, oversized error payloads, and malformed multi-line records by JosephPilov-MSFT (@PiJoCoder) in #545
- Harden Dbname validation for SQL Nexus db creation by JosephPilov-MSFT (@PiJoCoder) in #548
- Pin GitHub Actions to full-length commit SHAs by Dan Fiedler (@danfiedler-msft) in #549
- Bump the github-actions group with 3 updates by Dependabot (@dependabot)[bot] in #550
- Handle SQL LogScout head-and-tail ERRORLOG files by JosephPilov-MSFT (@PiJoCoder) with @Copilot in #552
- Bump the github-actions group with 2 updates by Dependabot (@dependabot)[bot] in #557
- Remove unused Analysis.doc and MissingAssemblyFiles.htm (#551) by JosephPilov-MSFT (@PiJoCoder) in #554
- Inroduce an Mcp Server and a AI Agent to be used with Github CoPilot or CoPilot CLI to query SQL Nexus db by JosephPilov-MSFT (@PiJoCoder) in #540
- Import sibling SharedOutputFiles folder during log import by JosephPilov-MSFT (@PiJoCoder) in #558
- Creating importers for the new SQL Log Scout Connectivity Related collector by Andre Savioli (@asavioliMSFT) in #560
- Change the Nuget feed repository by JosephPilov-MSFT (@PiJoCoder) in #561
- Minor change on column name by Andre Savioli (@asavioliMSFT) in #563
- Honor login encryption options for Relog DSN that imports Perfmon by JosephPilov-MSFT (@PiJoCoder) in #555
- Disable GH Actions CodeQL workflow (handled by ADO pipeline) by JosephPilov-MSFT (@PiJoCoder) in #564
- Creating importers for the new SQL Log Scout Connectivity Related collector - Changes after feedback from SQL conn team by Andre Savioli (@asavioliMSFT) in #565
- Version bump Sept-24-26 by JosephPilov-MSFT (@PiJoCoder) in #568
- New SQL Log Scout Connectivity Related collectors - Adding additional column for ciphers by Andre Savioli (@asavioliMSFT) in #569
- Remove ClickOnce functionality from SQLNexus by JosephPilov-MSFT (@PiJoCoder) in #571
- Fix post-processing for quoted import paths by JosephPilov-MSFT (@PiJoCoder) in #573
- Fix two issues - one in report and another in managed trace importer time interval display by JosephPilov-MSFT (@PiJoCoder) in #578
- Update System.Text.Json libary by JosephPilov-MSFT (@PiJoCoder) in #579
New Contributors
- RL_MSFT (@rl-msft) made their first contribution in #401
- nishanthini_MSFT (@nishanthini089) made their first contribution in #540
- PhilBarry-MSFT (@PhilB-MSFT) made their first contribution in #466
- JosephPilov-MSFT (@PiJoCoder) with @Copilot made their first contribution in #514
- Dan Fiedler (@danfiedler-msft) made their first contribution in #549
Full Changelog: 7.25.04.25...8.26.09.24