Quantcast
Channel: Fighting Bad Data Modeling » Statistics
Browsing latest articles
Browse All 6 View Live

Image may be NSFW.
Clik here to view.

The Ascending Key Problem in Fact Tables– Part one: Pain!

Time for another deep dive into SQL Server. In the last couple of days, I have been having coffee with Joe Chang in the afternoon, who some of you may know. He is visiting Sweden a lot by the way, so...

View Article



Image may be NSFW.
Clik here to view.

The Ascending Key Problem in Fact Tables –Part two: Stat Job!

In my last post I described a common problem with statistics in data warehouses. I also directed you to a trace flag that partially solves the problem. There is an issue with this trace flag: at the...

View Article

Image may be NSFW.
Clik here to view.

When Database Statistics are not Enough – Search Patterns

Co-author: Lasse Nedergaard Yesterday, Lasse ran into an issues with a query pattern in the large database that he is responsible for. Based on our conversation, we wrote up this blog and created a...

View Article

Image may be NSFW.
Clik here to view.

Why “Date BETWEEN FromDate AND ToDate” is a dangerous join criteria

I have been meaning to write this blog post for some time and the discussion about Data Vault finally prompted me to do it. Sometimes, you find yourself in situations where you have to join a table...

View Article

Image may be NSFW.
Clik here to view.

What is the Best Sort Order for a Column Store?

As hinted at in my post about how column stores work, the compression you achieve will depend on how many repetitions (or “runs”) exist in the data for the sort order that is used when the index is...

View Article


Trace Flag 4136

This week, I have been tuning a Dynamics C5 database. What a horrible mess that is. However, I ran into something that might come in handy in a lot of situations. I have long known about Trace flag...

View Article
Browsing latest articles
Browse All 6 View Live




Latest Images