Table Variable vs Local Variable Cardinality Estimates in SQL Server Going Further If this is the kind of SQL Server stuff you love learning about, you’ll love my training. I’m offering a 75% discount to my blog readers if you click from here. I’m also available for consulting if you just don’t have time for […] The post Table Variable vs Local Variable Cardinality Estimates in SQL Server appeared first on Darling Data.| Darling Data
A Little About *Why* Local Variables Give Weird Cardinality Estimates in SQL Server Going Further If this is the kind of SQL Server stuff you love learning about, you’ll love my training. I’m offering a 75% discount to my blog readers if you click from here. I’m also available for consulting if you just don’t […] The post A Little About *Why* Local Variables Give Weird Cardinality Estimates in SQL Server appeared first on Darling Data.| Darling Data
SQL Server Performance Office Hours Episode 34 Questions: * Why do parallel batch mode sorts only utilize 1 thread? * With all of the recent content frequently mentioning no locks and read uncommitted isolation level, Is there ever a situation that you would recommend using nolock or is it always avoidable? * What’s required for […] The post SQL Server Performance Office Hours Episode 34 appeared first on Darling Data.| Darling Data
Learn T-SQL With Erik: Inline Table Valued Functions Going Further If this is the kind of SQL Server stuff you love learning about, you’ll love my training. I’m offering a 75% discount to my blog readers if you click from here. I’m also available for consulting if you just don’t have time for that, and […] The post Learn T-SQL With Erik: Inline Table Valued Functions appeared first on Darling Data.| Darling Data
Learn T-SQL With Erik: Multi-Statement Functions Going Further If this is the kind of SQL Server stuff you love learning about, you’ll love my training. I’m offering a 75% discount to my blog readers if you click from here. I’m also available for consulting if you just don’t have time for that, and need to […] The post Learn T-SQL With Erik: Multi-Statement Functions appeared first on Darling Data.| Darling Data
SQL Server insights from Erik Darling. Want to get better at performance tuning, indexing, or query tuning? Try one of my online SQL courses.| Darling Data
A Little About ROW_NUMBER Filtering Performance in SQL Server Going Further If this is the kind of SQL Server stuff you love learning about, you’ll love my training. I’m offering a 75% discount to my blog readers if you click from here. I’m also available for consulting if you just don’t have time for that, […] The post A Little About ROW_NUMBER Filtering Performance in SQL Server appeared first on Darling Data.| Darling Data
SQL Server insights from Erik Darling. Want to get better at performance tuning, indexing, or query tuning? Try one of my online SQL courses.| Darling Data
Learn T-SQL With Erik: Bad Trigger Habits Going Further If this is the kind of SQL Server stuff you love learning about, you’ll love my training. I’m offering a 75% discount to my blog readers if you click from here. I’m also available for consulting if you just don’t have time for that, and need […] The post Learn T-SQL With Erik: Bad Trigger Habits appeared first on Darling Data.| Darling Data
SQL Server insights from Erik Darling. Want to get better at performance tuning, indexing, or query tuning? Try one of my online SQL courses.| Darling Data
SQL Server insights from Erik Darling. Want to get better at performance tuning, indexing, or query tuning? Try one of my online SQL courses.| Darling Data
SQL Server insights from Erik Darling. Want to get better at performance tuning, indexing, or query tuning? Try one of my online SQL courses.| Darling Data
What I Learned: Locking a readlock, then locking the write lock on the same lock creates a deadlock. Deadlocks created using locks instead of monitors does not appear in thread dumps (like those created by kill -3 (linux) or Ctrl+Break (windows)). Keep digging and you’ll uncover a nasty incorrect assumption you’ve been making. -XX:+PrintConcurrentLocks detects some deadlocks -XX:+PrintConcurrentLocks does not print reentrant locks on stack traces -XX:+PrintConcurrentLocks does not detect ...| Joseph Mate