GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - vanterx/sqlserver-dba-scripts: 🚀 A curated collection of SQL Server DBA scripts for monitoring, performance tuning, backup/restore, Always On AG, security, and troubleshooting, plus links to essential community tools.

BranchesTags
Open more actions menu

Latest commit

 

History

40 Commits
40 Commits

Folders and files

NameName
Last commit message
Last commit date
.claude
.claude
 
 
docs
docs
 
 
ps
ps
 
 
sql
sql
 
 
.gitattributes
.gitattributes
 
 
.gitignore
.gitignore
 
 
AGENTS.md
AGENTS.md
 
 
CLAUDE.md
CLAUDE.md
 
 
README.md
README.md
 
 
execute_as_sa.md
execute_as_sa.md
 
 
ms_sp_check_bp_servers.sql
ms_sp_check_bp_servers.sql
 
 
ola_hallengren_backup.sql
ola_hallengren_backup.sql
 
 
powershell_monitor.md
powershell_monitor.md
 
 
resources_links.log
resources_links.log
 
 
script_index.md
script_index.md
 
 
sqlcmd_monitor.md
sqlcmd_monitor.md
 
 
who_is_active.sql
who_is_active.sql
 
 
windows_commands.md
windows_commands.md
 
 

Repository files navigation

Essential DBA Tools & Resources

Community Tools

  • DBATools - sqlcollaborative
  • MSSQL Performance Skills - Performance tuning resources
  • sp_whoisactive - Adam Machanic
  • SQL Server Maintenance - Ola Hallengren
  • sp_blitz* - Brent Ozar Unlimited
  • Dynamic Management Views - Glenn Berry
  • sp_pressure_detector - Erik Darling
  • sp_RestoreScriptGenie - Paul Brewer
  • How's My Plan? - Daniel Janik
  • Statistics Parser - Richie Rump
  • sp_srvpermissions & sp_dbpermissions - Kenneth Fisher
  • Blocking_Alert - Andy M Mallon

Microsoft Tools

  • MissingMsi
  • SqlNexus
  • tigertoolbox
  • SQLServerTiger Blog
  • Reporting-Services
  • DiagManager
  • kerberos configuration manager
  • sp_help_revlogin

Additional Tools

  • CurrPorts
  • SqlMax - SQL Max Memory Calculator
  • NetSPI_PS - MSSQL Credentials
  • dba-multitool
  • WorkloadTools
  • ThreadJob - PowerShell parallel processing (PS 5.1+)
  • PoshRSJob - Runspace-based parallel jobs

Performance Monitoring

Key SQL Server Performance Counters

Memory - Available MBytes
Physical Disk - Avg. Disk sec/Read
Physical Disk - Avg. Disk sec/Write
Physical Disk - Disk Reads/sec
Physical Disk - Disk Writes/sec
Processor - % Processor Time
SQLServer: General Statistics - User Connections
SQLServer: Memory Manager - Memory Grants Pending
SQLServer: SQL Statistics - Batch Requests/sec
SQLServer: SQL Statistics - Compilations/sec
SQLServer: SQL Statistics - Recompilations/sec
System - Processor Queue Length

Performance Data Collection Commands

# Create performance counter log
logman.exe create counter Perf-Log -o "C:\PerfLogs\Admin\Perf-Log" -f bincirc -v mmddhhmm -max 500 -c "\Memory\Available MBytes" "\PhysicalDisk(*)\Avg. Disk sec/Read" "\PhysicalDisk(*)\Avg. Disk sec/Write" "\PhysicalDisk(*)\Disk Reads/sec" "\PhysicalDisk(*)\Disk Writes/sec" "\Processor(_Total)\% Processor Time" "\SQLServer:General Statistics\User Connections" "\SQLServer:Memory Manager\Memory Grants Pending" "\SQLServer:SQL Statistics\Batch Requests/sec" "\SQLServer:SQL Statistics\SQL Compilations/sec" "\SQLServer:SQL Statistics\SQL Re-Compilations/sec" "\System\Processor Queue Length"  -si 00:00:01

# Start performance logging
logman start Perf-Log

# Stop performance logging
logman stop Perf-Log

# Convert binary log to CSV
relog C:\PerfLogs\Admin\Perf-Log_000001.blg /o C:\Perflogs\Admin\Reduced_Log_000001.csv /f csv

About

🚀 A curated collection of SQL Server DBA scripts for monitoring, performance tuning, backup/restore, Always On AG, security, and troubleshooting, plus links to essential community tools.

Topics

always-ondatabase-administrationdbadbatoolsmonitoringperformance-tuningpowershellsql-scriptssql-servertsql

Resources

Readme
Activity

Stars

4 stars

Watchers

1 watching

Forks

0 forks
Report repository

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.