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






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 SQLServerPerformance
March 10, 2022

Get The TEQ (Top Expensive Queries)
by BF (Principal Consultant; Architecture; Engineering)
sys.dm_exec_query_stats
Read More
Tags SQLServerPerformance
August 26, 2019

Microsoft SQL Server - Database Compression Estimator (PAGE and ROW)
by BF (Principal Consultant; Architecture; Engineering)
sp_estimate_data_compression_savings
Read More
Tags SQLServerPerformance
January 10, 2019

Restore a SQL Server Database Faster
by BF (Principal Consultant; Architecture; Engineering)
MAXTRANSFERSIZE, BUFFERCOUNT
Read More
Tags SQLServerPerformance
December 6, 2018

T-SQL Monitor TempDB Usage
by BF (Principal Consultant; Architecture; Engineering)
sys.database_files, sys.dm_os_performance_counters, sys.dm_db_file_space_usage
Read More
Tags SQLServerPerformance
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 SQLServerPerformance
June 13, 2018

Find the root cause of a TEMPDB LOG growth issue
by BF (Principal Consultant; Architecture; Engineering)
Extended Events, DBCC OPENTRAN, INPUTBUFFER & SYSPROCESSES
Read More
Tags SQLServerPerformance
May 18, 2018

Automate DBCC UpdateStats per select list of databases
by BF (Principal Consultant; Architecture; Engineering)
Exec sp_updatestats
Read More
Tags SQLServerPerformance
April 29, 2018

Running SQL Server Post-Installation Checks
by BF (Principal Consultant; Architecture; Engineering)
Builds
Read More
Tags SQLServerPerformance
April 28, 2018

Automate SQL Server Database Data & Log File Growth Sizes
by BF (Principal Consultant; Architecture; Engineering)
sys.master_files, sys.databases, sysaltfiles
Read More
Tags SQLServerPerformance
April 28, 2018

Check Allocation Unit Size for Disks in a SQL Server System
by BF (Principal Consultant; Architecture; Engineering)
DISKPART
Read More
Tags SQLServerPerformance
April 21, 2018

Monitor real-time query progress using sys.dm_exec_query_profiles DMV
by BF (Principal Consultant; Architecture; Engineering)
Use this DMV to determine which part of the query is running slow.
Read More
Tags SQLServerPerformance
April 17, 2018

Disk Performance on Azure Virtual Machine - storflt driver
by BF (Principal Consultant; Architecture; Engineering)
Virtual machines (VMs) that are running Windows Server 2012 R2
Read More
Tags SQLServerPerformance
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 SQLServerPerformance
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 SQLServerPerformance
January 22, 2018

The request limit for the database is 400 and has been reached
by BF (Principal Consultant; Architecture; Engineering)
Azure SQL Database resource limits
Read More
Tags SQLServerPerformance
November 8, 2017

T-SQL - Check Statistics Last Updated and Update All Statistics
by BF (Principal Consultant; Architecture; Engineering)
sys.stats, sys.stats_columns, sys.columns, sys.partitions, sys.objects
Read More
Tags SQLServerPerformance
November 8, 2017

T-SQL - Find Missing Indexes - incl. Improvement Measure and Avg User Impact
by BF (Principal Consultant; Architecture; Engineering)
sys.dm_db_missing_index_group, sys.dm_db_missing_index_group_stats, sys.dm_db_missing_index_details
Read More
Tags SQLServerPerformance
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 SQLServerPerformance
July 21, 2017

T-SQL Get Database Backups Throughput
by BF (Principal Consultant; Architecture; Engineering)
msdb.dbo.backupset, msdb.dbo.backupmediafamily
Read More
Tags SQLServerPerformance
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 SQLServerPerformance
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 SQLServerPerformance
April 11, 2017

T-SQL - Constants vs Parameters vs Local Variables - Execution Plans, Statistics, Assumptions
by BF (Principal Consultant; Architecture; Engineering)
Procedure Cache, Parameter Sniffing, SSMS Compare Execution Plans Tool, SSMS Live Execution Plan Tool
Read More
Tags SQLServerPerformance
February 27, 2017

SQL Server High Availability - Monitor AlwaysON Availability Groups using Powershell, DMVs and TSQL
by BF (Principal Consultant; Architecture; Engineering)
Enter Short Description Here
Read More
Tags SQLServerPerformance
February 21, 2017

Use Microsoft Message Analyzer to capture TDS Packets
by BF (Principal Consultant; Architecture; Engineering)
The Tabular Data Stream (TDS) protocol is an application layer request/response protocol that...
Read More
Tags SQLServerPerformance
June 22, 2016

Capture Slow Stored Procedure Calls in Microsoft SQL Server using Extended Events
by BF (Principal Consultant; Architecture; Engineering)
sqlserver.rpc_completed
Read More
Tags SQLServerPerformance
June 10, 2016

TechDevOps.com shared a Session - "SQL Server Index Internals: A Deep Dive (Tim Chapman; Microsoft)"
by BF (Principal Consultant; Architecture; Engineering)
PASS
Read More
Tags SQLServerPerformance
June 1, 2016

SQL Server Management Studio - Include Client Statistics
by BF (Principal Consultant; Architecture; Engineering)
Measure Round-Trip Client-to-Server Time
Read More
Tags SQLServerPerformance
May 16, 2016

SQL Server Deadlock Detection & Logging
by BF (Principal Consultant; Architecture; Engineering)
Trace Flag, DMV
Read More
Tags SQLServerPerformance
April 13, 2016

Rebuild Indexes based on Fragmentation Percent
by BF (Principal Consultant; Architecture; Engineering)
T-SQL, Alter Index
Read More
Tags SQLServerPerformance
February 5, 2016

T-SQL Query Tuning - Statistics, Histogram, Density, Selectivity & Cardinality
by BF (Principal Consultant; Architecture; Engineering)
DBCC Show_Statistics, Set Statistics Profile, Set Statistics IO, Set Statistics Time, sp_updatestats, DBCC dropcleanbuffers, DBCC freeproccache
Read More
Tags SQLServerPerformance
January 27, 2016

Rebuild or Reorganize Index
by BF (Principal Consultant; Architecture; Engineering)
Recommendations, Information, Examples
Read More
Tags SQLServerPerformance
November 2, 2015

Create an Extended Events session - Azure SQL Database
by BF (Principal Consultant; Architecture; Engineering)
sqlserver.sql_batch_completed, ring_buffer
Read More
Tags SQLServerPerformance
November 2, 2015

Create an Extended Events session - On-Prem
by BF (Principal Consultant; Architecture; Engineering)
sqlserver.rpc_completed, sqlserver.sql_batch_completed, ring_buffer
Read More
Tags SQLServerPerformance
November 1, 2015

Microsoft SQL Server Query Testing Tool
by BF (Principal Consultant; Architecture; Engineering)
SQLQueryStress by http://www.datamanipulation.net/
Read More
Tags SQLServerPerformance
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 SQLServerPerformance
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 SQLServerPerformance
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
WindowsFailoverCluster
SQLServerAgent
SQLServerManagementStudio
SQLServerTransactionLog
DMVs
AzureStorage
SQLServer2017
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