Most Popular Databases

About the SQL Server Tempdb

The tempdb is the “scratch” database for SQL Server; it’s a temporary data store used by both applications and internal operations. It is does have some unique characteristics that affect how you use and manage it.

Read More

SQL Server Latch Waits

Some SQL Server latches can come into contention with one another. This is intended and necessary as part of the need to serialize access. However, as with locking, this does raise the prospect of blocking, and consequently latch waiting.

Read More

SQL Server Latch Types

There are hundreds of different types of SQL Server latches. Latch waits will occasionally show up in sys.dm_os_wait_stats, but you have to actively search for them.

Read More

SQL Server Deadlocks

Ideally, despite locks, your database system will allow a lot of users at once, and each transaction will get in, make the change needed, and get out ; but locks mean blocking, and when transactions need to do multiple operations, this can lead to deadlocks.

Read More

SQL Server Lock Escalation

When more than 5,000 locks are taken out on the rows or pages of a particular table within a single T-SQL statement, lock escalation is triggered. Understanding lock escalation can help you in performance tuning.

Read More

SQL Server Concurrency–Dirty Reads

Database concurrency ensures that when multiple operations are occurring at once, the final result is still in agreement. Dirty reads can happen when multiple sessions are occurring at once in your SQL Server database instance.

Read More