Tag: SQL Server Replication
-
SQL Server Replication Monitoring Scripts
This is the set I reach for when replication starts acting up. Latency creeping, agents stuck, or subscribers falling behind, these queries cut through the noise fast. I’ve used them in production environments for years. What’s Inside If you run transactional replication, keep these handy. They save time when things go sideways. For the full…
Written by
-
How to Add Columns to Tables in SQL Server
Adding a column is one line of T-SQL, and on most tables it finishes at once. The incidents come from two places: an ALTER TABLE that waits for a schema lock and blocks every query that arrives behind it, and a default value that makes SQL Server rewrite every row. This post covers the safe…
Written by
Major pillars
Quick scripts
Patch week
Health check & AI
Script areas
Latest posts
- Tune a Slow Query With Copilot in SSMS
- xp_readerrorlog: Read the SQL Server Error Log with T-SQL
- Cannot Drop Database Because It Is Currently in Use (Error 3702)
- Could Not Drop Login Because the User Is Currently Logged In (Error 15434)
- Set a Maximum Database File Size in SQL Server (MAXSIZE)
- SQL Server Activity Monitor in SSMS (and the Performance Dashboard)
Browse by topic
- Backups & Recovery (18)
- DBA Scripts (154)
- High Availability (HA) (13)
- Installation & Configuration (60)
- Maintenance (25)
- Migration & Upgrades (14)
- Monitoring (10)
- Performance Tuning (38)
- Security (Encryption & Permissions) (25)
- Storage & Capacity (18)
- T-SQL Fundamentals (17)
- Troubleshooting (108)
- Wait Types (236)