|
7 | 7 | # Navigatory |
8 | 8 | - Scripts: |
9 | 9 | - [sp_PressureDetector](#pressure-detector): Quickly detect CPU and memory pressure |
| 10 | + - [sp_PerfCheck](#perf-check): Comprehensive SQL Server performance health check |
10 | 11 | - [sp_HumanEvents](#human-events): Use Extended Events to track down various query performance issues |
11 | 12 | - [sp_HumanEventsBlockViewer](#human-events-block-viewer): Analyze the blocked process report |
12 | 13 | - [sp_QuickieStore](#quickie-store): The fastest and most configurable way to navigate Query Store data |
@@ -393,6 +394,33 @@ Current valid parameter details: |
393 | 394 |
|
394 | 395 | [*Back to top*](#navigatory) |
395 | 396 |
|
| 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 | + |
396 | 424 | ## Index Cleanup |
397 | 425 |
|
398 | 426 | 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