Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit e611a82

Browse files
Merge branch 'development' into pr/3892
2 parents d799705 + e5e583a commit e611a82

File tree

347 files changed

+18910
-12520
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

347 files changed

+18910
-12520
lines changed

‎.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,3 +20,6 @@ msbuild.log
2020
# Local constant file
2121
tests/constants.local.ps1
2222

23+
# For those that want to use Docker images for testing
24+
# Integration with Docker requires the docker compose file to exist within the project folder
25+
docker-compose.yml

‎allcommands.ps1

Lines changed: 7260 additions & 5570 deletions
Large diffs are not rendered by default.

‎appveyor.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,11 @@ environment:
2424
environment: development
2525
version: 0.9.$(appveyor_build_number)
2626
#appveyor_rdp_password: 2odCuiKmYiem
27-
27+
azurepasswd:
28+
secure: ZnF3fWSDfHraMCWlHaekvWrXf3sDqY5M28HMK4236PBbNSoqP29wEhsWMQioSSYGomzgIp9vuiwR8Fc9ViNLoqq0bVcErxEojBFTaPMEzOg2ZwO9OnOTiuUEc5JkoLBv6rEBBWef/DvkFfhr1r0K0xQu6OAPYHVTCRajTZbBRNfCTUM2X2o41t+cSa7681rtnJQnB/8cAfVVnPtJ+97s8w==
29+
azurelegacypasswd:
30+
secure: ud4yZN6kPf+VWhgpgJhbEMCoUJKHTiH9uvv71ybTlu+45+V12M+B07YjysoXGC1qnGBwVy4DDGJfh2VkPWxamK0IpsEimsRS/CCEZlb6unYC4dqEm980QwP4/zwcTSK1
31+
2832
matrix:
2933
- scenario: 2008R2
3034
main_instance: localhost\SQL2008R2SP2

‎bin/dbatools-buildref-index.json

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"LastUpdated": "2018-06-22T00:00:00",
2+
"LastUpdated": "2018-07-20T00:00:00",
33
"Data": [
44
{
55
"Version": "8.0.47",
@@ -3789,6 +3789,11 @@
37893789
"Version": "13.0.4502",
37903790
"KBList": "4100997"
37913791
},
3792+
{
3793+
"CU": "CU10",
3794+
"Version": "13.0.4514",
3795+
"KBList": "4341569"
3796+
},
37923797
{
37933798
"SP": [
37943799
"SP2",
@@ -3803,6 +3808,11 @@
38033808
"Version": "13.0.5149",
38043809
"KBList": "4135048"
38053810
},
3811+
{
3812+
"CU": "CU2",
3813+
"Version": "13.0.5153",
3814+
"KBList": "4340355"
3815+
},
38063816
{
38073817
"Version": "14.0.1",
38083818
"Name": "2017"
@@ -3878,6 +3888,11 @@
38783888
"CU": "CU8",
38793889
"Version": "14.0.3029",
38803890
"KBList": "4338363"
3891+
},
3892+
{
3893+
"CU": "CU9",
3894+
"Version": "14.0.3030",
3895+
"KBList": "4341265"
38813896
}
38823897
]
38833898
}

‎bin/dbatools-index.json

Lines changed: 68 additions & 38 deletions
Large diffs are not rendered by default.

‎bin/dbatools.dll

17 KB
Binary file not shown.

‎bin/dbatools.pdb

36 KB
Binary file not shown.

‎bin/dbatools.xml

Lines changed: 1167 additions & 403 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎bin/diagnosticquery/SQLServerDiagnosticQueries_2005_201805.sql renamed to ‎bin/diagnosticquery/SQLServerDiagnosticQueries_2005_201807.sql

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11

22
-- SQL Server 2005 Diagnostic Information Queries
33
-- Glenn Berry
4-
-- Last Modified: May 2, 2018
4+
-- Last Modified: July 5, 2018
55
-- https://www.sqlserverperformance.wordpress.com/
66
-- https://www.sqlskills.com/blogs/glenn/
77
-- Twitter: GlennAlanBerry
@@ -672,7 +672,7 @@ AND counter_name = N'Page life expectancy' OPTION (RECOMPILE);
672672
-- Higher PLE is better. Watch the trend over time, not the absolute value.
673673
-- This will only return one row for non-NUMA systems.
674674

675-
-- Page Life Expectancy isnt what you think
675+
-- Page Life Expectancy isn’t what you think…
676676
-- https://www.sqlskills.com/blogs/paul/page-life-expectancy-isnt-what-you-think/
677677

678678

@@ -705,13 +705,15 @@ ORDER BY SUM(single_pages_kb) DESC OPTION (RECOMPILE);
705705

706706

707707
-- Find single-use, ad-hoc queries that are bloating the plan cache (Query 30) (Ad hoc Queries)
708-
SELECT TOP(50) [text] AS [QueryText], cp.cacheobjtype, cp.objtype, cp.size_in_bytes/1024 AS [Plan Size in KB]
708+
SELECT TOP(50) DB_NAME(t.[dbid]) AS [Database Name], t.[text] AS [Query Text],
709+
cp.objtype AS [Object Type], cp.cacheobjtype AS [Cache Object Type],
710+
cp.size_in_bytes/1024 AS [Plan Size in KB]
709711
FROM sys.dm_exec_cached_plans AS cp WITH (NOLOCK)
710-
CROSS APPLY sys.dm_exec_sql_text(plan_handle)
712+
CROSS APPLY sys.dm_exec_sql_text(plan_handle) AS t
711713
WHERE cp.cacheobjtype = N'Compiled Plan'
712714
AND cp.objtype IN (N'Adhoc', N'Prepared')
713715
AND cp.usecounts = 1
714-
ORDER BY cp.size_in_bytes DESC OPTION (RECOMPILE);
716+
ORDER BY cp.size_in_bytes DESC, DB_NAME(t.[dbid]) OPTION (RECOMPILE);
715717
------
716718

717719
-- Gives you the text and size of single-use ad-hoc queries that waste space in plan cache
@@ -1144,13 +1146,13 @@ ORDER BY bs.backup_finish_date DESC OPTION (RECOMPILE);
11441146

11451147
-- These three Pluralsight Courses go into more detail about how to run these queries and interpret the results
11461148

1147-
-- SQL Server 2014 DMV Diagnostic Queries Part 1
1149+
-- SQL Server 2014 DMV Diagnostic Queries – Part 1
11481150
-- https://bit.ly/2plxCer
11491151

1150-
-- SQL Server 2014 DMV Diagnostic Queries Part 2
1152+
-- SQL Server 2014 DMV Diagnostic Queries – Part 2
11511153
-- https://bit.ly/2IuJpzI
11521154

1153-
-- SQL Server 2014 DMV Diagnostic Queries Part 3
1155+
-- SQL Server 2014 DMV Diagnostic Queries – Part 3
11541156
-- https://bit.ly/2FIlCPb
11551157

11561158

‎bin/diagnosticquery/SQLServerDiagnosticQueries_2008R2_201805.sql renamed to ‎bin/diagnosticquery/SQLServerDiagnosticQueries_2008R2_201807.sql

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11

22
-- SQL Server 2008 R2 Diagnostic Information Queries
33
-- Glenn Berry
4-
-- Last Modified: June 5, 2018
4+
-- Last Modified: July 10, 2018
55
-- https://www.sqlserverperformance.wordpress.com/
66
-- https://www.sqlskills.com/blogs/glenn/
77
-- Twitter: GlennAlanBerry
@@ -832,7 +832,7 @@ AND counter_name = N'Page life expectancy' OPTION (RECOMPILE);
832832
-- Higher PLE is better. Watch the trend over time, not the absolute value.
833833
-- This will only return one row for non-NUMA systems.
834834

835-
-- Page Life Expectancy isnt what you think
835+
-- Page Life Expectancy isn’t what you think…
836836
-- https://www.sqlskills.com/blogs/paul/page-life-expectancy-isnt-what-you-think/
837837

838838

@@ -865,13 +865,15 @@ ORDER BY SUM(single_pages_kb) DESC OPTION (RECOMPILE);
865865

866866

867867
-- Find single-use, ad-hoc and prepared queries that are bloating the plan cache (Query 39) (Ad hoc Queries)
868-
SELECT TOP(50) [text] AS [QueryText], cp.cacheobjtype, cp.objtype, cp.size_in_bytes/1024 AS [Plan Size in KB]
868+
SELECT TOP(50) DB_NAME(t.[dbid]) AS [Database Name], t.[text] AS [Query Text],
869+
cp.objtype AS [Object Type], cp.cacheobjtype AS [Cache Object Type],
870+
cp.size_in_bytes/1024 AS [Plan Size in KB]
869871
FROM sys.dm_exec_cached_plans AS cp WITH (NOLOCK)
870-
CROSS APPLY sys.dm_exec_sql_text(plan_handle)
872+
CROSS APPLY sys.dm_exec_sql_text(plan_handle) AS t
871873
WHERE cp.cacheobjtype = N'Compiled Plan'
872874
AND cp.objtype IN (N'Adhoc', N'Prepared')
873875
AND cp.usecounts = 1
874-
ORDER BY cp.size_in_bytes DESC OPTION (RECOMPILE);
876+
ORDER BY cp.size_in_bytes DESC, DB_NAME(t.[dbid]) OPTION (RECOMPILE);
875877
------
876878

877879
-- Gives you the text, type and size of single-use ad-hoc and prepared queries that waste space in the plan cache
@@ -1362,13 +1364,13 @@ ORDER BY bs.backup_finish_date DESC OPTION (RECOMPILE);
13621364

13631365
-- These three Pluralsight Courses go into more detail about how to run these queries and interpret the results
13641366

1365-
-- SQL Server 2014 DMV Diagnostic Queries Part 1
1367+
-- SQL Server 2014 DMV Diagnostic Queries – Part 1
13661368
-- https://bit.ly/2plxCer
13671369

1368-
-- SQL Server 2014 DMV Diagnostic Queries Part 2
1370+
-- SQL Server 2014 DMV Diagnostic Queries – Part 2
13691371
-- https://bit.ly/2IuJpzI
13701372

1371-
-- SQL Server 2014 DMV Diagnostic Queries Part 3
1373+
-- SQL Server 2014 DMV Diagnostic Queries – Part 3
13721374
-- https://bit.ly/2FIlCPb
13731375

13741376

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /