Hash join: Execution Engine Part 12: Here we tried to explain the operator in SQL Server as you can see it starts by hashing based on the matching join predicate #SQLServer #HashJoin #ExecutionPlan #SQLTips #TSQL #Database #SQLFamily
1
116
After it finishes probing, it gets whatever in memory, then once they are done, it starts getting the other buckets from tempdb, and outputs them
1
81
Now while joining it might consider different way of granting memory for more details on that and the demos check out suleymanessa.com/hash-join-e…
68
Just posted a new blog on Merge Join in SQL Server! Dive into how this operator works, its requirements, and see practical examples. Part 11 of our execution engine series. Check it out: suleymanessa.com/merge-join-… #SQLServer #MergeJoin #ExecutionPlan #SQLTips #TSQL
1
78
As you can see, it looks through the sort,for each row, and discards the least if there is no match, and since the sort is there, it guarantees that there is no lost information, if there are no duplicates
This is a one to many join
1
56
Nested loop joins in SQL: great for small datasets with indexes, but slow for large queries without optimization. Essential for SQL performance tuning. Read more: suleymanessa.com/nested-loop… #SQL #SQLServer #Database #SQLTips #SQLFamily
84
Just posted a new blog on logical joins in SQL Server! Learn about inner joins, outer joins, cross apply, semi-joins, and anti-semi-joins. Check it out: suleymanessa.com/intro-to-lo… #SQLServer #Joins #SQLTips #TSQL
63
Süleyman Essa retweeted
New article: How to Survive a Rollback (when logging)
How to ensure log messages are always written to the database, even when a containing transaction rolls back.
sql.kiwi/2025/04/survive-rol…
Hi everyone, new blog on #StorageEngine! I use sys.tables & schemas to uncover wide/non-unique clustered indexes & untrusted foreign keys. Check it out: suleymanessa.com/tuning-inde… #SQLServer #DBA #Performanceo3
42
Süleyman Essa retweeted
New SQL Server article: Deleting in Batches using an API Cursor
API cursors are quite different from T-SQL cursors. They can operate on more than one row at a time, which makes them particularly suited to batched operations, even on an unindexed heap.
sql.kiwi/2025/03/batch-delet…
Süleyman Essa retweeted
Follow-up article showing how to use this technique with updates:
Updating in Batches using an API Cursor
sql.kiwi/2025/03/batch-updat…
"New blog: Learn to monitor fragmentation with PerfMon's 'Page Splits/sec', persist counters, compare indexes using DMOs, and find solutions. #PerformanceTuning #SQLServerInternals #StorageEngine #SQL #DatabasePerformance #IndexTuning suleymanessa.com/tuning-inde…"
48








