info@techdevops.com | 437-991-3573 | Data Engineering Services
TechDevOps.com
Resources Tools
Experts in Microsoft SQL Server on Windows, Linux, Containers | Clusters, Always On, FCI | Migrations, Cloud, Performance






July 23, 2023

Microsoft SQL Server Database Files Space Report
by BF (Principal Consultant; Architecture; Engineering)
sys.database_files, sys.filegroups
Read More
Tags SQLServerHealthCheck
December 4, 2022

Get Disk Database Files Mount Points
by BF (Principal Consultant; Architecture; Engineering)
sys.dm_os_volume_stats
Read More
Tags SQLServerHealthCheck
October 8, 2022

High CPU Pressure
by BF (Principal Consultant; Architecture; Engineering)
Signal Wait Time
Read More
Tags SQLServerHealthCheck
July 6, 2022

Check TDE progress
by BF (Principal Consultant; Architecture; Engineering)
sys.dm_database_encryption_keys
Read More
Tags SQLServerHealthCheck
May 20, 2022

Always On Synch Lag
by BF (Principal Consultant; Architecture; Engineering)
sys.dm_hadr_database_replica_states, sys.availability_replicas, sys.dm_hadr_availability_replica_states
Read More
Tags SQLServerHealthCheck
May 8, 2022

Get CPU Usage Information
by BF (Principal Consultant; Architecture; Engineering)
sys.dm_os_ring_buffers, sys.dm_exec_requests, sys.dm_exec_query_stats
Read More
Tags SQLServerHealthCheck
March 10, 2022

Get The TEQ (Top Expensive Queries)
by BF (Principal Consultant; Architecture; Engineering)
sys.dm_exec_query_stats
Read More
Tags SQLServerHealthCheck
June 17, 2018

Fing Queries using Parallelism
by BF (Principal Consultant; Architecture; Engineering)
sys.dm_exec_query_stats, sys.dm_exec_sql_text, sys.dm_exec_cached_plans, sys.dm_exec_query_plan, sys.dm_os_tasks, sys.dm_os_workers, sys.dm_os_waiting_tasks
Read More
Tags SQLServerHealthCheck
May 20, 2018

SQL Server Audit
by BF (Principal Consultant; Architecture; Engineering)
Create Server Audit, Create Server Audit Specification
Read More
Tags SQLServerHealthCheck
March 10, 2018

Using Extended Events to capture Stored Procedure calls, Log & Extract Duration Buckets of % and/or #
by BF (Principal Consultant; Architecture; Engineering)
CREATE EVENT SESSION, ADD EVENT, ADD TARGET
Read More
Tags SQLServerHealthCheck
March 7, 2018

Find out which Connections are using the highest network bandwidth from SQL Server
by BF (Principal Consultant; Architecture; Engineering)
DMVs
Read More
Tags SQLServerHealthCheck
February 11, 2018

Hitting the 16 Terabytes Data File Limit
by BF (Principal Consultant; Architecture; Engineering)
Maximum Capacity Specifications for SQL Server
Read More
Tags SQLServerHealthCheck
December 12, 2017

Find Long Running Queries in SQL Server, Queries with High Execution Counts, Query Cache Analysis
by BF (Principal Consultant; Architecture; Engineering)
Max Worker Time, Max Elapsed Time, Execution Counts, Last Elapsed Time
Read More
Tags SQLServerHealthCheck
December 11, 2017

Huge Transaction Log File with Always-ON Availability Group Database in SQL Server 2016 STD
by BF (Principal Consultant; Architecture; Engineering)
log_reuse_wait_desc, DBCC sqlperf(logspace), DBCC LogInfo
Read More
Tags SQLServerHealthCheck
November 30, 2017

Automate DBCC CHECKDB Per Instance
by BF (Principal Consultant; Architecture; Engineering)
Execute against each Database in the Instance + Log Results + Check for any errors + RaiseError(Alert)
Read More
Tags SQLServerHealthCheck
September 9, 2017

SQL Replication Monitor
by BF (Principal Consultant; Architecture; Engineering)
Captures, Logs, Alerts & Reports for Microsoft SQL Server Transaction Replication Distribution Metrics.
Read More
Tags SQLServerHealthCheck
August 29, 2017

Speeding up SQL Server Database Restores
by BF (Principal Consultant; Architecture; Engineering)
Multi-Threaded Approach, Database Instant File Initialization, Azure VM SSDs
Read More
Tags SQLServerHealthCheck
August 28, 2017

List SQL Server Non-Default Configuration Options
by BF (Principal Consultant; Architecture; Engineering)
Server Dashboard Report
Read More
Tags SQLServerHealthCheck
August 25, 2017

T-SQL Get SQL Server Transaction Log Backup Size (or Database Backup Size)
by BF (Principal Consultant; Architecture; Engineering)
MSDB..backupset
Read More
Tags SQLServerHealthCheck
July 31, 2017

Create a Microsoft SQL Server Audit Report using Powershell
by BF (Principal Consultant; Architecture; Engineering)
Microsoft.SqlServer.SMO, HTML Report, Email Delivery
Read More
Tags SQLServerHealthCheck
July 30, 2017

T-SQL - Get Logins Connect Permissions
by BF (Principal Consultant; Architecture; Engineering)
sys.server_principals, sys.server_permissions, sys.sql_logins
Read More
Tags SQLServerHealthCheck
July 26, 2017

T-SQL - Get list of Indexes with Fillfactor less than 90 (incl: #Pages, #Rows, % Fillfactor, % Fragmentation)
by BF (Principal Consultant; Architecture; Engineering)
sys.dm_db_index_physical_stats, sys.indexes
Read More
Tags SQLServerHealthCheck
July 24, 2017

T-SQL - Get Tables, Fields & Data Types
by BF (Principal Consultant; Architecture; Engineering)
sys.columns, sys.objects, sys.types
Read More
Tags SQLServerHealthCheck
July 21, 2017

T-SQL Get Database Backups Throughput
by BF (Principal Consultant; Architecture; Engineering)
msdb.dbo.backupset, msdb.dbo.backupmediafamily
Read More
Tags SQLServerHealthCheck
July 12, 2017

SQL Space Monitor - Version 2
by BF (Principal Consultant; Architecture; Engineering)
sys.database, sys.master_files, sys.data_spaces, sys.dm_os_volume_stats, sp_send_dbmail
Read More
Tags SQLServerHealthCheck
July 8, 2017

SQL Space Monitor - Version 1
by BF (Principal Consultant; Architecture; Engineering)
sys.database, sys.master_files, sys.data_spaces, sys.dm_os_volume_stats
Read More
Tags SQLServerHealthCheck
June 30, 2017

High Memory Pressure
by BF (Principal Consultant; Architecture; Engineering)
sys.objects, sys.partitions, sys.allocation_units, sys.indexes, sys.dm_os_buffer_descriptors
Read More
Tags SQLServerHealthCheck
June 7, 2017

sp_server_diagnostics
by BF (Principal Consultant; Architecture; Engineering)
Captures diagnostic data and health information about SQL Server to detect potential failures. The procedure runs in repeat mode and sends results periodically.
Read More
Tags SQLServerHealthCheck
June 7, 2017

Transactional Replication Monitoring - SQL Job Perspective - Last Run Time and Run Status
by BF (Principal Consultant; Architecture; Engineering)
This query returns all Replication SQL Jobs and reports on it's Last Run Time and Run Status...
Read More
Tags SQLServerHealthCheck
June 5, 2017

Capture Microsoft SQL Server Waits Stats
by BF (Principal Consultant; Architecture; Engineering)
sys.dm_os_wait_stats - Returns information about all the waits encountered by threads that executed. Use this aggregated view to diagnose performance issues with SQL Server and also with specific queries and batches.
Read More
Tags SQLServerHealthCheck
March 30, 2017

SQL Server - File IO - Sizes, Usage, Stats - Write(Insert) vs Read(Select)
by BF (Principal Consultant; Architecture; Engineering)
SSMS, Process Monitor
Read More
Tags SQLServerHealthCheck
November 29, 2016

Microsoft SQL Server Replication - Log Reader Agent - History, Status & Configuration
by BF (Principal Consultant; Architecture; Engineering)
MSlogreader_history, MSlogreader_agents, sp_replcmds
Read More
Tags SQLServerHealthCheck
July 20, 2016

SQL Server Replication Get Undistributed Commands
by BF (Principal Consultant; Architecture; Engineering)
Distribution.sys.sp_MSget_repl_commands
Read More
Tags SQLServerHealthCheck
June 20, 2016

Cross-Database Queries in Azure SQL Databases
by BF (Principal Consultant; Architecture; Engineering)
Extension in the DDL for external data sources and external tables
Read More
Tags SQLServerHealthCheck
March 18, 2016

Microsoft SQL Server Replication - Distribution Agent - History, Status, Stats, Errors
by BF (Principal Consultant; Architecture; Engineering)
MSdistribution_history, MSdistribution_agents, MSrepl_commands
Read More
Tags SQLServerHealthCheck
August 5, 2015

SQL Server Connections - Schedulers, Threads, Workers, Tasks, Requests, Sessions, Connections, Users
by BF (Principal Consultant; Architecture; Engineering)
Along with sys.messages & other resources
Read More
Tags SQLServerHealthCheck
June 28, 2015

T-SQL - Find Lead Blocking SPID
by BF (Principal Consultant; Architecture; Engineering)
Use T-SQL to find the lead blocking SPID and it's INPUTBUFFER contents.
Read More
Tags SQLServerHealthCheck
Future Events
DevIntersection
Microsoft Ignite
PASS Summitt
Popular Tags
SQLServer
TSQL
CloudComputing
Azure
SQLServerReplication
SQLServerPerformance
SQLServerHealthCheck
Powershell
AzureSQLDatabase
SQLServerAlwaysOn
DataMigration
SQLServerReplicationMonitor
AzureVirtualMachine
SQLServer2016
ExtendedEvents
Metrics
QueryTuning
ReportingServices
SQLServerAgent
WindowsFailoverCluster
SQLServerManagementStudio
SQLServerTransactionLog
SQLServerArchitecture
DMVs
AzureStorage
Pinned Posts
Microsoft SQL Server Always On Availability Groups Architecture Design
Create a Microsoft SQL Server Audit Report using Powershell
SQL Space Monitor - Version 2
T-SQL - Constants vs Parameters vs Local Variables - Execution Plans, Statistics, Assumptions
SQL Server - File IO - Sizes, Usage, Stats - Write(Insert) vs Read(Select)
Azure Virtual Machines running SQL Server 2016 STD AlwaysON Availability Groups w/ Transactional Replication
T-SQL Transform Row Data into Columns using PIVOT
List all SQL Server Reporting Services Subscriptions
Calculate RTO(Recovery Time Objective) in AlwaysON Availability Groups
T-SQL Get Maximum Value from a list of Columns Values
SQL Server 2016 Compress() & Decompress()
JSON in SQL Server 2016
Temporal Tables in SQL Server 2016
T-SQL Merge
T-SQL Pivot Data


©2015 www.TechDevOps.com