You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-[Parameters Common to Many of the Stored Procedures](#parameters-common-to-many-of-the-stored-procedures)
21
+
-[License MIT](#license)
22
+
7
23
You're a DBA, sysadmin, or developer who manages Microsoft SQL Servers. It's your fault if they're down or slow. These tools help you understand what's going on in your server.
8
24
9
25
* When you want an overall health check, run [sp_Blitz](#sp_blitz-overall-health-check).
@@ -15,8 +31,8 @@ To install, [download the latest release ZIP](https://github.com/BrentOzarULTD/S
15
31
16
32
Only Microsoft-supported versions of SQL Server are supported here - sorry, 2005 and 2000. Some of these may work some of the time on 2005, but no promises, and don't file a support issue when they fail. (For example, we know the output tables won't work on SQL 2005 because one of the output fields is a DATETIMEOFFSET datatype, which isn't available in 2005.)
17
33
18
-
## How to Get Support
19
34
35
+
## How to Get Support
20
36
Everyone here is expected to abide by the [Contributor Covenant Code of Conduct](CONTRIBUTING.md#the-contributor-covenant-code-of-conduct).
21
37
22
38
Want to talk to the developers? [Get an invite to SQLCommunity.slack.com](https://sqlps.io/slack/), and we're in the [#FirstResponderKit channel](https://sqlcommunity.slack.com/messages/firstresponderkit/).
@@ -25,8 +41,10 @@ Got a question? Ask it on [DBA.StackExchange.com](http://dba.stackexchange.com).
25
41
26
42
Want to contribute by writing, testing, or documenting code, or suggesting a new check? [Read the contributing.md file](CONTRIBUTING.md).
27
43
28
-
## sp_Blitz: Overall Health Check
44
+
[*Back to top*](#header1)
45
+
29
46
47
+
## sp_Blitz: Overall Health Check
30
48
Run sp_Blitz daily or weekly for an overall health check. Just run it from SQL Server Management Studio, and you'll get a prioritized list of issues on your server right now:
*@CheckServerInfo = 1 - includes additional rows at priority 250 with server configuration details like service accounts.
47
65
*@IgnorePrioritiesAbove = 50 - if you want a daily bulletin of the most important warnings, set @IgnorePrioritiesAbove = 50 to only get the urgent stuff.
48
66
67
+
[*Back to top*](#header1)
68
+
49
69
### Advanced sp_Blitz Parameters
50
70
51
71
In addition to the [parameters common to many of the stored procedures](#parameters-common-to-many-of-the-stored-procedures), here are the ones specific to sp_Blitz:
Checks for the existence of a table DBAtools.dbo.BlitzResults, creates it if necessary, then adds the output of sp_Blitz into this table. This table is designed to support multiple outputs from multiple servers, so you can track your server's configuration history over time.
60
82
83
+
[*Back to top*](#header1)
84
+
61
85
#### Skipping Checks or Databases
62
86
63
87
```SQL
@@ -78,48 +102,69 @@ Checks for the existence of a table named Fred - just kidding, named DBAtools.db
78
102
* If both DatabaseName and CheckID are populated, then that check will be skipped for that database
79
103
* If CheckID is populated but DatabaseName is null, then that check will be skipped for all databases
80
104
105
+
[*Back to top*](#header1)
106
+
81
107
82
108
## sp_BlitzCache: Find the Most Resource-Intensive Queries
83
109
84
110
(stub - describe the big picture here)
85
111
112
+
[*Back to top*](#header1)
113
+
86
114
### Advanced sp_BlitzCache Parameters
87
115
88
116
In addition to the [parameters common to many of the stored procedures](#parameters-common-to-many-of-the-stored-procedures), here are the ones specific to sp_BlitzCache:
89
117
90
118
(stub - describe the lesser-used stuff)
91
119
120
+
[*Back to top*](#header1)
121
+
122
+
92
123
## sp_BlitzIndex: Tune Your Indexes
93
124
94
125
(stub - describe the big picture here)
95
126
127
+
[*Back to top*](#header1)
128
+
96
129
### Advanced sp_BlitzIndex Parameters
97
130
98
131
In addition to the [parameters common to many of the stored procedures](#parameters-common-to-many-of-the-stored-procedures), here are the ones specific to sp_BlitzIndex:
99
132
100
133
(stub - describe the lesser-used stuff)
101
134
135
+
[*Back to top*](#header1)
136
+
137
+
102
138
## sp_BlitzFirst: Real-Time Performance Advice
103
139
104
140
(stub - describe the big picture here)
105
141
142
+
[*Back to top*](#header1)
143
+
106
144
### Advanced sp_BlitzFirst Parameters
107
145
108
146
In addition to the [parameters common to many of the stored procedures](#parameters-common-to-many-of-the-stored-procedures), here are the ones specific to sp_BlitzFirst:
109
147
110
148
(stub - describe the lesser-used stuff)
111
149
150
+
[*Back to top*](#header1)
151
+
152
+
112
153
## Parameters Common to Many of the Stored Procedures
113
154
114
155
*@Help = 1 - returns a result set or prints messages explaining the stored procedure's input and output. Make sure to check the Messages tab in SSMS to read it.
115
156
*@ExpertMode = 1 - turns on more details useful for digging deeper into results.
116
157
*@OutputDatabaseName, @OutputSchemaName, @OutputTableName - pass all three of these in, and the stored proc's output will be written to a table. We'll create the table if it doesn't already exist.
117
158
*@OutputServerName - not functional yet. To track (or help!) implementation status: https://github.com/BrentOzarULTD/SQL-Server-First-Responder-Kit/issues/293
118
159
160
+
[*Back to top*](#header1)
161
+
162
+
119
163
## License
120
164
121
165
[The SQL Server First Responder Kit uses the MIT License.](LICENSE.md)
0 commit comments