https://github.com/benscabbia/ssms-results-parser
Visually compare side-by-side two SQL Server Statistics IO and Time data. Simply copy your output from SSMS and compare!
https://github.com/benscabbia/ssms-results-parser
compare-data parser results-viewer sql sql-server sqlserver ssms
Last synced: about 2 months ago
JSON representation
Visually compare side-by-side two SQL Server Statistics IO and Time data. Simply copy your output from SSMS and compare!
- Host: GitHub
- URL: https://github.com/benscabbia/ssms-results-parser
- Owner: benscabbia
- License: gpl-2.0
- Created: 2017-11-11T19:44:23.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-04-28T10:38:22.000Z (about 7 years ago)
- Last Synced: 2025-02-06T04:41:39.455Z (3 months ago)
- Topics: compare-data, parser, results-viewer, sql, sql-server, sqlserver, ssms
- Language: TypeScript
- Homepage: https://benscabbia.github.io/SSMS-Results-Parser/
- Size: 1.72 MB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# SSMS Results Parser
A SQL Server Management Studio Parser. You can pass it up to two queries and compare results including:
* Scan Count
* Logical Reads
* Physical Reads
* Read-ahead Reads
* Lob Logical Reads
* Lob Physical Reads
* Lob Read-ahead ReadsThe data is compared on a per query level, and on a per-table level (assuming both queries have the same number of tables). All of the code runs directly in browser with no server side hooks. Your data is **not** saved anywhere.
## Features
### Total IO Comparison:

Lob counts can be optionally included in chart### Total Time Comparison:
### Single Table Comparison
### Single Table Join Comparison
## Expected Input:
SSMS Results Parser in its current state is fairly strict, therefore it requires you to configure SSMS as instructed below.
### Configuring SSMS
Firstly select to output your results to Text. This can be done in SSMS by:
**Tools > Options > Query Results**:
Now you can optionally configure your results to automatically include Time and IO statistics data. In SSMS:
**Tools > Options > Query Execution > SQL Server > Advanced**.
Alternatively, you can manually specify the Time and IO headers by including the snippet below at the beginning of your SQL query:
```
SET STATISTICS IO ON
SET STATISTICS TIME ON
```That's it!
## Future Features (welcome to contribute)
* Improve robustness for inputs
* Compare table Data to ensure both queries are equivalent___
## Contributing to SsmsResultsParser
Contributions are welcome! Here is a little guide on getting this project setup.
This project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 1.5.0.
### Development server
Run `ng serve` for a dev server. Navigate to `http://localhost:4200/`. The app will automatically reload if you change any of the source files.
### Code scaffolding
Run `ng generate component component-name` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module`.
### Build
Run `ng build` to build the project. The build artifacts will be stored in the `dist/` directory. Use the `-prod` flag for a production build.
### Running unit tests
Run `ng test` to execute the unit tests via [Karma](https://karma-runner.github.io).
### Linting
Run `ng lint` to run linter