Summary:
This proposal introduces a fully managed (.NET Framework 4.8) trace file importer plugin — Trace Event Importer (Managed) — to replace the dependency on the native ReadTrace.exe binary from RML Utilities.
The new importer
- reads both
.trc (SQL Trace) and .xel (Extended Events) files,
- normalizes SQL text
- computes hash IDs for query grouping
- correlates Starting↔Completed events,
- tracks connections in trace
- computes time-interval aggregations
- and bulk-loads all data into the existing
ReadTrace schema — ensuring all current RDLC reports work without modification.
It is implemented as a standard INexusImporter plugin discovered via DLL reflection, with mutual exclusivity logic to prevent both importers from running simultaneously. The plugin embeds its schema creation and post-load fixup SQL scripts as resources, eliminating external file dependencies, and uses the XELite NuGet package for reliable XEL file parsing. This removes the requirement for users to install RML Utilities and gives the SQL Nexus team full source control over the trace import pipeline.
Summary:
This proposal introduces a fully managed (.NET Framework 4.8) trace file importer plugin — Trace Event Importer (Managed) — to replace the dependency on the native
ReadTrace.exebinary from RML Utilities.The new importer
.trc(SQL Trace) and.xel(Extended Events) files,ReadTraceschema — ensuring all current RDLC reports work without modification.It is implemented as a standard
INexusImporterplugin discovered via DLL reflection, with mutual exclusivity logic to prevent both importers from running simultaneously. The plugin embeds its schema creation and post-load fixup SQL scripts as resources, eliminating external file dependencies, and uses theXELiteNuGet package for reliable XEL file parsing. This removes the requirement for users to install RML Utilities and gives the SQL Nexus team full source control over the trace import pipeline.