Dear-Sql-Dba

Tag: dear-sql-dba

Why is My Transaction Log Growing in My Availability Group? (Dear SQL DBA Episode 36)

Why is My Transaction Log Growing in My Availability Group? (Dear SQL DBA Episode 36)

A database transaction log is expanding, even though the DBA is running log backups and doesn’t see an open transaction? What’s going on with this Availability Group?

Continue reading

When SQL Server Does NOT Use Write Ahead Logging (Dear SQL DBA Episode 35)

When SQL Server Does NOT Use Write Ahead Logging (Dear SQL DBA Episode 35)

on March 23, 2017

A few episodes ago, I talked about how learning about Write Ahead Logging was a light bulb moment for me, and helped me learn tons of concepts about backups and recovery.

This week, we talk about when SQL Server turns things upside down and doesn’t use write ahead logging: and what it has to do for recovery in these special cases.

Continue reading

Using a Tail Log Backup in a SQL Server Migration (Dear SQL DBA Episode 34)

Using a Tail Log Backup in a SQL Server Migration (Dear SQL DBA Episode 34)

on March 16, 2017

When you migrate a database, it can be useful to prove that you moved all the data and didn’t miss any transactions. Learn how to use a tail log backup in a migration scenario.

Continue reading

Stack Dumps in SQL Server (Dear SQL DBA Episode 33)

Stack Dumps in SQL Server (Dear SQL DBA Episode 33)

on March 9, 2017

Learn what a Stack Dump is in SQL Server and watch a demo where I cause a stack dump against a test SQL Server instance under load. Learn how to find information about stack dumps on your SQL Server, and how to escalate them when required.

Continue reading

WAL: The concept that makes recovery models & backups make sense (Dear SQL DBA Episode 32)

WAL: The concept that makes recovery models & backups make sense (Dear SQL DBA Episode 32)

When you’re a Junior DBA, it’s really hard to take in all the information out there.

Learn about write ahead logging: the concept that can help you make sense of recovery models and backup strategies in SQL Server. This is a foundational concept that helps you understand how SQL Server works.

Continue reading

Will the Cloud Eat My DBA Job? (Dear SQL DBA Episode 31)

Will the Cloud Eat My DBA Job? (Dear SQL DBA Episode 31)

Will cloud services render DBAs obsolete? Does the cloud mean that developers will use less of SQL Server? In this post I talkΒ about the future of database administration and give tips on strategizing your career.

Continue reading

Confused by sp_who2 (Dear SQL DBA Episode 30)

Confused by sp_who2 (Dear SQL DBA Episode 30)

This week’s ‘Dear SQL DBA’ question gets us down to the essentials: how to I tell if a transaction is hanging?

Continue reading