Sunday, November 8, 2015

FACT TABLES IN DIMENSIONAL MODELING

A fact table is the primary table in a dimensional model where the numerical performance measurements of the business are stored. We use the term fact to represent a business measure. A measurement is taken at the intersection of all the dimensions. This list of dimensions defines the grain of the fact table and tells us what the scope of the measurement is.

Fact tables can grow very large, with millions or even billions of rows. It is important to identify the lowest level of facts that makes sense to analyze for your business this is often referred to as fact table “grain”. For instance, for a healthcare billing company it might be sufficient to track revenues by month; daily and hourly data might not exist or might not be relevant. On the other hand, the assembly line warehouse analysts might be very concerned in number of defective goods that were manufactured each hour. Similarly a marketing data warehouse might be concerned by the activity of a consumer group with a specific income-level rather than purchases made by each individual.

No comments:

Post a Comment