Placing data and log files on different drives is not the whole story. Here are my tips for working with files inside SQL Server as a DBA.
SQL SERVER – How Do We Find Deadlocks? – Notes from the Field #086
To Find Deadlocks, I collect the graph of competing sessions and resources. The cycle distinguishes a deadlock from ordinary blocking.
SQL SERVER – PowerShell to Count Number of VLFs in SQL Server
Too many VLFs can hurt performance. Here is a simple PowerShell script that counts the VLFs in every database on one or many SQL Server instances.
SQL SERVER – Using PowerShell and Native Client to run queries in SQL Server
A friend wanted PowerShell and Native Client, not SQL PowerShell, to run queries against SQL Server. Here is the small sample script I wrote for it.
SQL SERVER – Database Snapshots and Replica Causing Write Delays
Do database snapshots slow down writes? With copy on write, each snapshot adds work to every page change. Here is how they can cause write delays.







