Skip to content

Commit 4c32b07

Browse files
committed
Merge remote-tracking branch 'refs/remotes/origin/dev'
2 parents bc60d4e + addfb45 commit 4c32b07

17 files changed

+26859
-1777
lines changed
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
#All Core Blitz Without sp_BlitzQueryStore
2+
Get-ChildItem -Path "C:\Users\$env:username\Documents\GitHub\PublicTools\*" -Include sp_Blitz*.sql -Exclude sp_BlitzQueryStore.sql | ForEach-Object { Get-Content $_.FullName } | Set-Content -Path "C:\Users\$env:username\Documents\GitHub\PublicTools\Install-Core-Blitz-No-Query-Store.sql" -Force
3+
4+
#All Core Blitz With sp_BlitzQueryStore
5+
Get-ChildItem -Path "C:\Users\$env:username\Documents\GitHub\PublicTools\*" -Include sp_Blitz*.sql | ForEach-Object { Get-Content $_.FullName } | Set-Content -Path "C:\Users\$env:username\Documents\GitHub\PublicTools\Install-Core-Blitz-With-Query-Store.sql" -Force
6+
7+
#All Scripts
8+
Get-ChildItem -Path "C:\Users\$env:username\Documents\GitHub\PublicTools\*" -Include sp_*.sql | ForEach-Object { Get-Content $_.FullName } | Set-Content -Path "C:\Users\$env:username\Documents\GitHub\PublicTools\Install-All-Scripts.sql" -Force

Documentation/Development/ReleaseProcess.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,11 @@ Well, useful is probably the wrong word. More like entertaining. Here we go.
1818

1919
* Make sure all issues in the milestone are closed - click Issues, Milestones, and it'll show the percent complete. If there's any issues you want to bump to the next round, add the next round's milestone and tag the issues with it.
2020
* When enough PRs are in dev, do a round of code testing in 2008-2016 in the cloud lab.
21-
* Merge scripts into two files:
22-
* copy /b /y sp_Blitz*.sql Install_Core_Blitz.sql
23-
* copy /b /y *.sql Install-All-Procs.sql
24-
* The easiest way to get a command prompt to the folder location is to navigate there with Windows Explorer and then type 'cmd' in the address bar.
21+
* Merge scripts into three files:
22+
* Runs command in Merge Blitz.ps1
2523
* These get moved to AWS for testing
2624
* Run _TestBed.sql: this has stored proc calls with common parameters. May have to add in new scenarios if new features are added.
27-
* If it passes, bump all the version numbers inside the scripts.
25+
* If it passes, bump all the version numbers inside the scripts and re-run the PowerShell commands so combined scripts reflect correct version and date.
2826
* sp_foreachdb (no version number yet)
2927
* sp_BlitzWho @Version and @VersionDate
3028
* sp_BlitzIndex @Version and @VersionDate

Documentation/Development/_TestBed.sql

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@ EXEC sp_Blitz @CheckUserDatabaseObjects = 1, @CheckServerInfo = 1
33

44
EXEC sp_Blitz @CheckUserDatabaseObjects = 1, @CheckServerInfo = 1, @OutputDatabaseName = 'ChangeMe', @OutputSchemaName = 'dbo', @OutputTableName = 'Blitz'
55

6+
EXEC sp_Blitz @CheckUserDatabaseObjects = 1, @CheckServerInfo = 1, @Debug = 1
7+
8+
EXEC sp_Blitz @CheckUserDatabaseObjects = 1, @CheckServerInfo = 1, @Debug = 2
9+
610
/*BlitzFirst*/
711
EXEC sp_BlitzFirst @Seconds = 5, @ExpertMode = 1
812

@@ -36,3 +40,9 @@ EXEC sp_BlitzCache @SortOrder = 'all avg'
3640
EXEC sp_BlitzCache @MinimumExecutionCount = 10
3741

3842
EXEC sp_BlitzCache @OutputDatabaseName = 'ChangeMe', @OutputSchemaName = 'dbo', @OutputTableName = 'BlitzCache'
43+
44+
/*BlitzBackups*/
45+
EXEC sp_BlitzBackups @HoursBack = 1000000
46+
47+
/*sp_AllNightLog_Setup*/
48+
EXEC master.dbo.sp_AllNightLog_Setup @RPOSeconds = 30, @RTOSeconds = 30, @BackupPath = 'D:\Backup', @RestorePath = 'D:\Backup', @RunSetup = 1

Documentation/sp_Blitz Checks by Priority.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ If you want to change anything about a check - the priority, finding, URL, or ID
5555
| 50 | Reliability | Remote Admin Connections Disabled | https://www.BrentOzar.com/go/dac | 100 |
5656
| 50 | Reliability | TempDB File Error | https://www.BrentOzar.com/go/tempdboops | 191 |
5757
| 50 | Reliability | Transaction Log Larger than Data File | https://www.BrentOzar.com/go/biglog | 75 |
58+
| 50 | Reliability | Default Trace File Error | https://BrentOzar.com/go/defaulttrace | 199 |
5859
| 100 | In-Memory OLTP (Hekaton) | Transaction Errors | https://www.BrentOzar.com/go/hekaton | 147 |
5960
| 100 | Features | Missing Features | https://www.BrentOzar.com/ | 189 |
6061
| 100 | Performance | Change Tracking Enabled | https://www.BrentOzar.com/go/tracking | 112 |

0 commit comments

Comments
 (0)