Wait Stats
David Alcock provides an introduction to wait stats and why they’re useful for performance tuning: So here are two different ways that we can use SQL Servers wait statistics for troubleshooting...
View ArticleLocks In Sp_configure
Kendra Little discusses the locks entry in sp_configure: Each lock uses 96 bytes of memory. On the instance in question, 25,000 locks = 2,400,000 bytes. That’s only 2.3 MB of memory devoted to locks....
View ArticleNOLOCK, No Problem?
Arun Sirpal explains that NOLOCK not only takes locks, but also lets you read invalid data: A Sch-S (schema stability) lock is taken. This is a lightweight lock; the only lock that can conflict with...
View ArticleOptimistic Locking Via HTTP ETags
Kevin Sookocheff diagrams how to implement optimistic concurrency for a server which uses HTTP requests to handle resources like files: A conditional request is a request that may be executed...
View ArticleSolving Blocking Without Sysadmin
Michael Swart has a story on blocking due to an edge case scenario: SQL Server was struggling to compile the procedure in time and the application wouldn’t let it catch its breath. The query optimizer...
View Article