Skip to content

Commit

Permalink
Merge pull request #4633 from sqlcollaborative/development
Browse files Browse the repository at this point in the history
0.9.521
  • Loading branch information
potatoqualitee committed Nov 22, 2018
2 parents 1ffbbbb + 821036b commit d921170
Show file tree
Hide file tree
Showing 72 changed files with 43 additions and 19 deletions.
@@ -1,7 +1,7 @@

-- SQL Server 2008 R2 Diagnostic Information Queries
-- Glenn Berry
-- Last Modified: July 10, 2018
-- Last Modified: November 11, 2018
-- https://www.sqlserverperformance.wordpress.com/
-- https://www.sqlskills.com/blogs/glenn/
-- Twitter: GlennAlanBerry
Expand Down Expand Up @@ -252,7 +252,9 @@ WHERE node_state_desc <> N'ONLINE DAC' OPTION (RECOMPILE);
SELECT cpu_count AS [Logical CPU Count], hyperthread_ratio AS [Hyperthread Ratio],
cpu_count/hyperthread_ratio AS [Physical CPU Count],
physical_memory_in_bytes/1048576 AS [Physical Memory (MB)],
sqlserver_start_time, affinity_type_desc
sqlserver_start_time,
DATEDIFF(hour, sqlserver_start_time, GETDATE()) AS [SQL Server Up Time (hrs)],
affinity_type_desc
FROM sys.dm_os_sys_info WITH (NOLOCK) OPTION (RECOMPILE);
------

Expand Down
@@ -1,7 +1,7 @@

-- SQL Server 2008 Diagnostic Information Queries
-- Glenn Berry
-- Last Modified: July 5, 2018
-- Last Modified: November 11, 2018
-- https://sqlserverperformance.wordpress.com/
-- https://www.sqlskills.com/blogs/glenn/
-- Twitter: GlennAlanBerry
Expand Down Expand Up @@ -213,7 +213,9 @@ WHERE node_state_desc <> N'ONLINE DAC' OPTION (RECOMPILE);
-- (Cannot distinguish between HT and multi-core)
SELECT cpu_count AS [Logical CPU Count], hyperthread_ratio AS [Hyperthread Ratio],
cpu_count/hyperthread_ratio AS [Physical CPU Count],
physical_memory_in_bytes/1048576 AS [Physical Memory (MB)], sqlserver_start_time
physical_memory_in_bytes/1048576 AS [Physical Memory (MB)],
sqlserver_start_time,
DATEDIFF(hour, sqlserver_start_time, GETDATE()) AS [SQL Server Up Time (hrs)]
FROM sys.dm_os_sys_info WITH (NOLOCK) OPTION (RECOMPILE);
------

Expand Down
@@ -1,7 +1,7 @@

-- SQL Server 2012 Diagnostic Information Queries
-- Glenn Berry
-- Last Modified: October 24, 2018
-- Last Modified: November 11, 2018
-- https://www.sqlskills.com/blogs/glenn/
-- http://sqlserverperformance.wordpress.com/
-- Twitter: GlennAlanBerry
Expand Down Expand Up @@ -478,7 +478,8 @@ SELECT cpu_count AS [Logical CPU Count], scheduler_count,
committed_target_kb/1024 AS [Committed Target Memory (MB)],
max_workers_count AS [Max Workers Count],
affinity_type_desc AS [Affinity Type],
sqlserver_start_time AS [SQL Server Start Time],
sqlserver_start_time AS [SQL Server Start Time],
DATEDIFF(hour, sqlserver_start_time, GETDATE()) AS [SQL Server Up Time (hrs)],
virtual_machine_type_desc AS [Virtual Machine Type]
FROM sys.dm_os_sys_info WITH (NOLOCK) OPTION (RECOMPILE);
------
Expand Down
@@ -1,7 +1,7 @@

-- SQL Server 2014 Diagnostic Information Queries
-- Glenn Berry
-- Last Modified: October 31, 2018
-- Last Modified: November 14, 2018
-- https://www.sqlskills.com/blogs/glenn/
-- http://sqlserverperformance.wordpress.com/
-- Twitter: GlennAlanBerry
Expand Down Expand Up @@ -482,7 +482,8 @@ SELECT cpu_count AS [Logical CPU Count], scheduler_count,
committed_target_kb/1024 AS [Committed Target Memory (MB)],
max_workers_count AS [Max Workers Count],
affinity_type_desc AS [Affinity Type],
sqlserver_start_time AS [SQL Server Start Time],
sqlserver_start_time AS [SQL Server Start Time],
DATEDIFF(hour, sqlserver_start_time, GETDATE()) AS [SQL Server Up Time (hrs)],
virtual_machine_type_desc AS [Virtual Machine Type]
FROM sys.dm_os_sys_info WITH (NOLOCK) OPTION (RECOMPILE);
------
Expand Down
@@ -1,7 +1,7 @@

-- SQL Server 2016 SP2 Diagnostic Information Queries
-- Glenn Berry
-- Last Modified: October 24, 2018
-- Last Modified: November 14, 2018
-- https://www.sqlskills.com/blogs/glenn/
-- http://sqlserverperformance.wordpress.com/
-- Twitter: GlennAlanBerry
Expand Down Expand Up @@ -67,7 +67,8 @@ SELECT @@SERVERNAME AS [Server Name], @@VERSION AS [SQL Server and OS Version In
-- 13.0.5026.0 SP2 RTM 4/24/2018 https://bit.ly/2FEvN2q
-- 13.0.5149.0 SP2 CU1 5/30/2018 https://support.microsoft.com/en-us/help/4135048/cumulative-update-1-for-sql-server-2016-sp2
-- 13.0.5153.0 SP2 CU2 7/16/2018 https://support.microsoft.com/en-us/help/4340355
-- 13.0.5216.0 SP2 CU3 9/20/2018 https://support.microsoft.com/en-us/help/4458871
-- 13.0.5216.0 SP2 CU3 9/20/2018 https://support.microsoft.com/en-us/help/4458871
-- 13.0.5233.0 SP2 CU4 11/13/2018 https://support.microsoft.com/en-us/help/4464106/cumulative-update-4-for-sql-server-2016-sp2



Expand Down Expand Up @@ -453,7 +454,8 @@ SELECT cpu_count AS [Logical CPU Count], scheduler_count,
physical_memory_kb/1024 AS [Physical Memory (MB)],
max_workers_count AS [Max Workers Count],
affinity_type_desc AS [Affinity Type],
sqlserver_start_time AS [SQL Server Start Time],
sqlserver_start_time AS [SQL Server Start Time],
DATEDIFF(hour, sqlserver_start_time, GETDATE()) AS [SQL Server Up Time (hrs)],
virtual_machine_type_desc AS [Virtual Machine Type],
softnuma_configuration_desc AS [Soft NUMA Configuration],
sql_memory_model_desc
Expand Down Expand Up @@ -1093,7 +1095,7 @@ ON t1.lock_owner_address = t2.resource_address OPTION (RECOMPILE);



-- Get CPU Utilization History for last 256 minutes (in one minute intervals) (Query 44) (CPU Utilization History)
-- Get CPU Utilization History for last 256 minutes (in one minute intervals) (Query 45) (CPU Utilization History)
DECLARE @ts_now bigint = (SELECT cpu_ticks/(cpu_ticks/ms_ticks) FROM sys.dm_os_sys_info WITH (NOLOCK));

SELECT TOP(256) SQLProcessUtilization AS [SQL Server Process CPU Utilization],
Expand Down
@@ -1,7 +1,7 @@

-- SQL Server 2016 Diagnostic Information Queries
-- Glenn Berry
-- Last Modified: October 24, 2018
-- Last Modified: November 14, 2018
-- https://www.sqlskills.com/blogs/glenn/
-- http://sqlserverperformance.wordpress.com/
-- Twitter: GlennAlanBerry
Expand Down Expand Up @@ -86,6 +86,7 @@ SELECT @@SERVERNAME AS [Server Name], @@VERSION AS [SQL Server and OS Version In
-- 13.0.4502.0 SP1 CU9 5/30/2018 ----> 13.0.5149.0 SP2 CU1 5/30/2018
-- 13.0.4514.0 SP1 CU10 7/16/2018 ----> 13.0.5153.0 SP2 CU2 7/16/2018
-- 13.0.4528.0 SP1 CU11 9/17/2018 ----> 13.0.5216.0 SP2 CU3 9/20/2018
-- 13.0.4541.0 SP1 CU12 11/13/2018 ---_> 13.0.5233.0 SP2 CU4 11/13/2018


-- How to determine the version, edition and update level of SQL Server and its components
Expand Down Expand Up @@ -483,7 +484,8 @@ SELECT cpu_count AS [Logical CPU Count], scheduler_count,
committed_target_kb/1024 AS [Committed Target Memory (MB)],
max_workers_count AS [Max Workers Count],
affinity_type_desc AS [Affinity Type],
sqlserver_start_time AS [SQL Server Start Time],
sqlserver_start_time AS [SQL Server Start Time],
DATEDIFF(hour, sqlserver_start_time, GETDATE()) AS [SQL Server Up Time (hrs)],
virtual_machine_type_desc AS [Virtual Machine Type],
softnuma_configuration_desc AS [Soft NUMA Configuration],
sql_memory_model_desc -- New in SQL Server 2016
Expand Down
@@ -1,7 +1,7 @@

-- SQL Server 2017 Diagnostic Information Queries
-- Glenn Berry
-- Last Modified: October 24, 2018
-- Last Modified: November 20, 2018
-- https://www.sqlskills.com/blogs/glenn/
-- http://sqlserverperformance.wordpress.com/
-- Twitter: GlennAlanBerry
Expand Down Expand Up @@ -467,7 +467,8 @@ SELECT cpu_count AS [Logical CPU Count], scheduler_count,
physical_memory_kb/1024 AS [Physical Memory (MB)],
max_workers_count AS [Max Workers Count],
affinity_type_desc AS [Affinity Type],
sqlserver_start_time AS [SQL Server Start Time],
sqlserver_start_time AS [SQL Server Start Time],
DATEDIFF(hour, sqlserver_start_time, GETDATE()) AS [SQL Server Up Time (hrs)],
virtual_machine_type_desc AS [Virtual Machine Type],
softnuma_configuration_desc AS [Soft NUMA Configuration],
sql_memory_model_desc, process_physical_affinity -- New in SQL Server 2017
Expand Down Expand Up @@ -2032,7 +2033,8 @@ AND es.session_id <> @@SPID OPTION (RECOMPILE);

-- Get any resumable index rebuild operation information (Query 87) (Resumable Index Rebuild)
SELECT OBJECT_NAME(iro.object_id) AS [Object Name], iro.index_id, iro.name AS [Index Name],
iro.sql_text, iro.last_max_dop_used, iro.partition_number, iro.state_desc, iro.start_time, iro.percent_complete
iro.sql_text, iro.last_max_dop_used, iro.partition_number, iro.state_desc,
iro.start_time, iro.percent_complete
FROM sys.index_resumable_operations AS iro WITH (NOLOCK)
OPTION (RECOMPILE);
------
Expand Down
Binary file removed bin/smo/EnvDTE.dll
Binary file not shown.
Binary file removed bin/smo/Microsoft.SQLServer.DTSRuntimeWrap.dll
Binary file not shown.
Binary file removed bin/smo/Microsoft.SqlServer.ADONETSrc.dll
Binary file not shown.
Binary file removed bin/smo/Microsoft.SqlServer.ASTasks.dll
Binary file not shown.
Binary file removed bin/smo/Microsoft.SqlServer.CustomControls.dll
Binary file not shown.
Binary file removed bin/smo/Microsoft.SqlServer.DMQueryTask.dll
Binary file not shown.
Binary file removed bin/smo/Microsoft.SqlServer.DTEnum.dll
Binary file not shown.
Binary file removed bin/smo/Microsoft.SqlServer.DTSPipelineWrap.dll
Binary file not shown.
Binary file removed bin/smo/Microsoft.SqlServer.DTSUtilities.dll
Binary file not shown.
Binary file removed bin/smo/Microsoft.SqlServer.DataProfiler.dll
Binary file not shown.
Binary file removed bin/smo/Microsoft.SqlServer.DataProfilingTask.dll
Binary file not shown.
Binary file removed bin/smo/Microsoft.SqlServer.Dmf.Adapters.dll
Binary file not shown.
Binary file removed bin/smo/Microsoft.SqlServer.Dts.Design.dll
Binary file not shown.
Binary file removed bin/smo/Microsoft.SqlServer.Dts.DtsClient.dll
Binary file not shown.
Binary file removed bin/smo/Microsoft.SqlServer.DtsMsg.dll
Binary file not shown.
Binary file removed bin/smo/Microsoft.SqlServer.Edition.dll
Binary file not shown.
Binary file removed bin/smo/Microsoft.SqlServer.ExecProcTask.dll
Binary file not shown.
Binary file removed bin/smo/Microsoft.SqlServer.ExpressionTask.dll
Binary file not shown.
Binary file removed bin/smo/Microsoft.SqlServer.FileSystemTask.dll
Binary file not shown.
Binary file removed bin/smo/Microsoft.SqlServer.ForEachADOEnumerator.dll
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed bin/smo/Microsoft.SqlServer.ForEachSMOEnumerator.dll
Binary file not shown.
Binary file removed bin/smo/Microsoft.SqlServer.FtpTask.dll
Binary file not shown.
Binary file removed bin/smo/Microsoft.SqlServer.GridControl.dll
Binary file not shown.
Binary file removed bin/smo/Microsoft.SqlServer.Instapi.dll
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed bin/smo/Microsoft.SqlServer.MSMQTask.dll
Binary file not shown.
Binary file removed bin/smo/Microsoft.SqlServer.ManagedConnections.dll
Binary file not shown.
Binary file removed bin/smo/Microsoft.SqlServer.ManagedDTS.dll
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed bin/smo/Microsoft.SqlServer.Management.SqlParser.dll
Binary file not shown.
Binary file not shown.
Binary file removed bin/smo/Microsoft.SqlServer.PackageFormatUpdate.dll
Binary file not shown.
Binary file removed bin/smo/Microsoft.SqlServer.PipelineHost.dll
Binary file not shown.
Binary file removed bin/smo/Microsoft.SqlServer.PipelineXML.dll
Binary file not shown.
Binary file removed bin/smo/Microsoft.SqlServer.SQLTask.dll
Binary file not shown.
Binary file not shown.
Binary file removed bin/smo/Microsoft.SqlServer.ScriptTask.dll
Binary file not shown.
Binary file removed bin/smo/Microsoft.SqlServer.SendMailTask.dll
Binary file not shown.
Binary file removed bin/smo/Microsoft.SqlServer.SqlCEDest.dll
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed bin/smo/Microsoft.SqlServer.TransferJobsTask.dll
Binary file not shown.
Binary file removed bin/smo/Microsoft.SqlServer.TransferLoginsTask.dll
Binary file not shown.
Binary file removed bin/smo/Microsoft.SqlServer.TransferObjectsTask.dll
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed bin/smo/Microsoft.SqlServer.TxScript.dll
Binary file not shown.
Binary file removed bin/smo/Microsoft.SqlServer.Types.dll
Binary file not shown.
Binary file removed bin/smo/Microsoft.SqlServer.Types.resources.dll
Binary file not shown.
Binary file removed bin/smo/Microsoft.SqlServer.VSTAScriptingLib.dll
Binary file not shown.
Binary file removed bin/smo/Microsoft.SqlServer.WMIDRTask.dll
Binary file not shown.
Binary file removed bin/smo/Microsoft.SqlServer.WMIEWTask.dll
Binary file not shown.
Binary file removed bin/smo/Microsoft.SqlServer.WebServiceTask.dll
Binary file not shown.
Binary file removed bin/smo/Microsoft.SqlServer.XMLTask.dll
Binary file not shown.
Binary file removed bin/smo/Microsoft.SqlServer.XmlSrc.dll
Binary file not shown.
12 changes: 12 additions & 0 deletions changelog.md
@@ -0,0 +1,12 @@
# Changelog
All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [1.0.0] - 2018-Nov-22
### Added
- This changelog.md! 🎉

### Removed
- Extra DLLs that did not seem necessary
4 changes: 2 additions & 2 deletions dbatools.psd1
Expand Up @@ -11,7 +11,7 @@
RootModule = 'dbatools.psm1'

# Version number of this module.
ModuleVersion = '0.9.520'
ModuleVersion = '0.9.521'

# ID used to uniquely identify this module
GUID = '9d139310-ce45-41ce-8e8b-d76335aa1789'
Expand Down Expand Up @@ -794,7 +794,7 @@
LicenseUri = "https://opensource.org/licenses/MIT"

# Release notes for this particular version of the module
ReleaseNotes = "https://dbatools.io/releases"
ReleaseNotes = "https://dbatools.io/changelog"

# If true, the LicenseUrl points to an end-user license (not just a source license) which requires the user agreement before use.
# RequireLicenseAcceptance = ""
Expand Down

0 comments on commit d921170

Please sign in to comment.