Skip to content

Commit 1e19305

Browse files
Merge pull request #552 from erikdarlingdata/dev
Dev
2 parents 5aa9a23 + 1906237 commit 1e19305

7 files changed

Lines changed: 5129 additions & 41 deletions

File tree

.DS_Store

0 Bytes
Binary file not shown.

README.md

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
# Navigatory
88
- Scripts:
99
- [sp_PressureDetector](#pressure-detector): Quickly detect CPU and memory pressure
10+
- [sp_PerfCheck](#perf-check): Comprehensive SQL Server performance health check
1011
- [sp_HumanEvents](#human-events): Use Extended Events to track down various query performance issues
1112
- [sp_HumanEventsBlockViewer](#human-events-block-viewer): Analyze the blocked process report
1213
- [sp_QuickieStore](#quickie-store): The fastest and most configurable way to navigate Query Store data
@@ -393,6 +394,33 @@ Current valid parameter details:
393394

394395
[*Back to top*](#navigatory)
395396

397+
## Perf Check
398+
399+
sp_PerfCheck is a comprehensive SQL Server performance diagnostic tool that quickly identifies configuration issues, capacity problems, and performance bottlenecks at both the server and database level.
400+
401+
The procedure performs extensive checks in multiple categories:
402+
- Server configuration and resource usage
403+
- Memory configuration and pressure indicators
404+
- CPU scheduling and pressure
405+
- Storage performance and I/O bottlenecks
406+
- TempDB configuration
407+
- Database configuration settings
408+
- Database file auto-growth settings
409+
- Query Store health and configuration
410+
411+
Results are returned in a prioritized list, with the most critical issues displayed first. The procedure works on SQL Server 2016+ and Azure SQL DB.
412+
413+
Current valid parameter details:
414+
415+
| Parameter | Data Type | Default | Description |
416+
|-----------|-----------|---------|-------------|
417+
| @database_name | sysname | NULL | Specific database to check; NULL runs against all accessible user databases |
418+
| @debug | bit | 0 | Print diagnostic messages and intermediate query results |
419+
| @version | varchar(30) | NULL OUTPUT | Returns version number |
420+
| @version_date | datetime | NULL OUTPUT | Returns version date |
421+
422+
[*Back to top*](#navigatory)
423+
396424
## Index Cleanup
397425

398426
This stored procedure helps identify unused and duplicate indexes in your SQL Server databases that could be candidates for removal. It analyzes index usage statistics and can generate scripts for removing unnecessary indexes.

0 commit comments

Comments
 (0)