├── LICENSE.md
└── README.md
/LICENSE.md:
--------------------------------------------------------------------------------
1 | Ms-PL
2 | Microsoft Public License (Ms-PL)
3 |
4 | This license governs use of the accompanying software. If you use the software, you accept this license. If you do not accept the license, do not use the software.
5 |
6 | 1. Definitions
7 |
8 | The terms "reproduce," "reproduction," "derivative works," and "distribution" have the same meaning here as under U.S. copyright law.
9 |
10 | A "contribution" is the original software, or any additions or changes to the software.
11 |
12 | A "contributor" is any person that distributes its contribution under this license.
13 |
14 | "Licensed patents" are a contributor's patent claims that read directly on its contribution.
15 |
16 | 2. Grant of Rights
17 |
18 | (A) Copyright Grant- Subject to the terms of this license, including the license conditions and limitations in section 3, each contributor grants you a non-exclusive, worldwide, royalty-free copyright license to reproduce its contribution, prepare derivative works of its contribution, and distribute its contribution or any derivative works that you create.
19 |
20 | (B) Patent Grant- Subject to the terms of this license, including the license conditions and limitations in section 3, each contributor grants you a non-exclusive, worldwide, royalty-free license under its licensed patents to make, have made, use, sell, offer for sale, import, and/or otherwise dispose of its contribution in the software or derivative works of the contribution in the software.
21 |
22 | 3. Conditions and Limitations
23 |
24 | (A) No Trademark License- This license does not grant you rights to use any contributors' name, logo, or trademarks.
25 |
26 | (B) If you bring a patent claim against any contributor over patents that you claim are infringed by the software, your patent license from such contributor to the software ends automatically.
27 |
28 | (C) If you distribute any portion of the software, you must retain all copyright, patent, trademark, and attribution notices that are present in the software.
29 |
30 | (D) If you distribute any portion of the software in source code form, you may do so only under this license by including a complete copy of this license with your distribution. If you distribute any portion of the software in compiled or object code form, you may only do so under a license that complies with this license.
31 |
32 | (E) The software is licensed "as-is." You bear the risk of using it. The contributors give no express warranties, guarantees or conditions. You may have additional consumer rights under your local laws which this license cannot change. To the extent permitted under your local laws, the contributors exclude the implied warranties of merchantability, fitness for a particular purpose and non-infringement.
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # SSMSInfoReports
2 |
SQL Server Management Studio (SSMS) Information Custom Reports (V9.2)
3 | New Query Store report in this version !
4 | This set of 18 custom reports is intended to provide a quick overview of an instance and its databases. It is easier to answer the main questions that arise when you discover and diagnose a new server or database.
5 |
6 | Reports that come with SSMS installation are useful but they do not provide this kind of summary information. They also lack some advanced information that is accessible only through queries. One of the benefits of using reports rather than queries is their ability to be exported or printed.
7 |
8 |

9 |
10 | You'll get various information, easy readable :
11 |
12 | - Server information : version, edition, build, os platform, hardware, services, configuration options, memory configuration, security, etc…
13 | - Storage : disk allocated, file sizes and allocation for all databases
14 | - Last errors in SQL Server errorlog
15 | - Logins, roles, users, permissions (new in v8)
16 | - SQL Agent jobs information and history
17 | - Always On Availability Groups information
18 | - Performance information : wait states, cpu, memory usage and main performance counters, io latency, tempdb utilization, etc…
19 | - Databases informations : database options, storage allocation, transaction logs and backups information, mixed collations, objects information, etc...
20 | - Tables and index informations : primary keys (clustered, nonclustered, no primary key), unique constraints, existing indexes, tables without index, size of index keys, etc…
21 |
22 | TSQL scripts of these reports are coming from various sources : my own scripts and some other inspired by well known SQL Server experts.
23 |
24 | Installation and usage
25 | Copy the rdl files to a folder that is accessible to the SQL Server Management Studio client. Right-click on the SQL instance in object explorer, select "custom reports" and browse to the location of the rdl file. The main report is "Main Server Dashboard".
26 |
27 | The reports are intended to be used with SSMS 2012 and later (they don't work with earlier SSMS versions) but they can get information from instances from 2008 to 2019.
28 |
29 | Sysadmin rights are required to run the reports: dmv, xp_cmdshell and extended stored procedures are used to access all information.
30 |
31 | These reports are provided "as is". Even the risk is low, use with your production servers is at your own risk.
32 |
33 | Reports description
34 |
35 | - Main Server Dashboard.rdl : main information and starting point, other reports are linked to this one (but they can be used also separately).
36 |
- Server Report.rdl : instance information
37 | - Server Security Report.rdl : instance security information
38 | - Always On Report : availability groups information, new in V7
39 | - All Databases Report.rdl : databases overview
40 | - Server Performance.rdl : instance performance informations
41 | - Resources per database.rdl : resources per database informations
42 | - Locks-Deadlocks.rdl : lock waits and deadlocks information
43 | - Database Report.rdl : general database information. Could also to be run from a database in object explorer.
44 | - Database Security Report.rdl : database security information. Could also to be run from a database in object explorer.
45 | - Tables Report : tables informations. Could also to be run from a database in object explorer.
46 | - Index Report : index informations. Could also to be run from a database or a single table object in object explorer.
47 | - Statistics Report : informations about columns and index statistics. Could also to be run from a database, a single table or a single statistic.
48 | - Missing Index Report : show missing index, for one or for all databases
49 | - Query Store Report (new) : show top 50 queries in the last 4 hours (for query store enabled databases)
50 | - Jobs report : a dashboard for monitoring jobs execution and performance
51 | - Jobs history planning report : shows history of last 24 hours, new in V7
52 | - Job detailed report : detailed information, could also be run from a single job in SSMS
53 |
54 | Reports are linked to each other and the top report is "Main Server Dashboard.rdl" :
55 | 
56 | You can also use some reports in the context : database report with right click on a database, index report with right click on a table, ...
57 | Release history
58 |
59 | - 9.2 : new report added (Query Store), bug corrections and improvements
60 | - 9.0 : new report added (Locks-Deadlocks), huge number of improvements for all reports
61 | - 8.0 : new reports added (Server Security, Database Security), improvements for all reports
62 | - 7.0 : new reports added (AlwaysOn, Jobs planning history), improvements for all reports
63 |
64 |
65 |
--------------------------------------------------------------------------------