A Data Model Fix for Suboptimal Semi-Join and Anti-Join Cardinality Estimates
Analysis of dataset properties leading to a bad performance problem with a simple fix. Continue Reading
Analysis of dataset properties leading to a bad performance problem with a simple fix. Continue Reading
If your data model forsees storing “current” and “historical” rows in the same table, there is a chance that there will be queries doing self-joins drived by the “current” rows. This model can give rise to wrong join cardinality estimates applied on skewed data distributions. The more emphasized the skew is, the larger is the error. Table partitioning turns out to be a good solution in such cases. Continue Reading