top of page


Remodeling - Improving Concurrency
Improving Concurrency: Data Modeling with Vertical Partitioning Reducing locking, blocking, and deadlocks in wide tables by distributing updates across one-to-one related tables Not long ago, I worked with a customer who was experiencing persistent blocking and occasional deadlocks in one of their core systems. The application itself wasn’t new, but over the years it had grown significantly. New features had been added, more processes were interacting with the database, and n
mohammed884
7 hours ago3 min read


סדר העמודות באינדקס
כבר הרבה מאוד שנים שה-execution plans כוללים המלצות לאינדקסים, וכך גם כלים כמו sys.dm_db_missing_index_details, ובימינו התווספו להם כלי AI שאמורים להחליף אותנו או את שיקול דעתנו. הבעייה העיקרית עם כל הנ"ל שהם נותנים המלצות טובות למקרה ספציפי, אבל לנו יש עדיין את שיקול הדעת כיצד להימנע מריבוי אינדקסים, וכיצד לבנות אותם כך שיביאו תועלת גם במקרים אחרים; ובמקרה השני עוסק הפוסט הזה. נכין קודם כל את רשימת החומרים: Use tempdb Go Drop Table If Exists Bad; Select 1 N, * Into Bad F
Geri Reshef
Apr 255 min read


Cascading Foreign Keys: I Was Against Them… Until I Finally Understood Why
For years, I avoided cascading foreign keys without fully understanding why. Then I discovered what SQL Server really does under the hood - escalating locking behavior to guarantee consistency. Combine that with missing indexes, and a simple delete can lock entire tables. Here’s why ON DELETE CASCADE deserves more respect than we give it.
Guy Glantser
Mar 243 min read


When Statistics Stay Empty Forever: A Hidden Edge Case with Empty Tables
Many SQL Server DBAs rely on automated statistics maintenance solutions, but they might be unaware of a corner case that can cause statistics to remain empty forever.
Guy Glantser
Mar 53 min read


Change X-Axis values based on slicer user selection
Want your Power-BI visual to automatically switch between different hierarchies based on slicer selection – without drill mode or extra clicks? In this post, I’ll show a simple DAX pattern that makes your X-axis dynamic and user-friendly.
Alon Ohayon
Mar 24 min read


שימושים מורכבים ב-Join
אני מניח שכל מי שקורא את הפוסט יודע מה ההבדל בין Inner Join ל-Left Join, והכוונה שלי היא לטפל במקרה יותר מורכב. נניח שיש לנו 3 טבלאות:...
Geri Reshef
Sep 24, 20257 min read
bottom of page
