Data modeling for OLAP
It is usual to in a data warehouse to have a big table that constantly receives new data. That table contains information about business transactions, measurements, or events that are the object of analysis. Such table is usually called the fact table. The HTTP access log that we discussed in the previous section, Loading data into a data warehouse, plays the role of a fact table in those examples.
In many cases, it doesn't make too much sense to perform analytical queries on the fact table only. Grouping the data by car_id without knowing what the values in the car_id field actually mean is useless. Therefore, the car table should also be available in the data warehouse. The difference between this table and the fact ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access