The role of discrete observations
One question that might come to concern us is the purpose of the first table we created in this chapter: status_update_views. As we observed, this table isn't very useful for answering any aggregate questions about our usage data, so why store it at all?
As it turns out, we probably won't interact directly with status_update_views when exploring our analytics observations on a day-to-day basis. However, status_update_views stores the raw material for all of the aggregate tables. If, in a few months, we decide that we'd like to aggregate data on a previously unforeseen dimension, we can backfill our aggregates using the raw observations in status_update_views. Keeping the raw data around gives us some flexibility ...
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