AlgoViz

OLAP

medium 26 min

OLAP (online analytical processing) answers big questions about a lot of history: totals, trends and comparisons.

Where it shows up

The same pattern appears across everyday software.

  • Business intelligence

    Executive dashboards, sales tracking, revenue forecasts and key figures, through tools such as Tableau, Power BI or Looker.

  • Financial reporting

    Quarterly reports, budget against actuals and cost centres. Auditors want the same question to give the same answer later, so the raw copy and the history are kept.

  • Customer analytics

    Segments, cohorts, churn and lifetime value: average spend by customer segment over two years.

  • Machine learning

    Features and training data come from history. The same tables are used to judge A/B tests.

  • Snowflake micro-partitions

    Snowflake's documentation says tables are divided into micro-partitions of 50 to 500 MB before compression, stored by column, and that queries prune the ones they do not need.

  • BigQuery partition pruning

    BigQuery's documentation says that a filter on the partitioning column lets it scan the matching partitions and skip the rest, and that the cost can be estimated before the query runs.