Skip to content

Commit

Permalink
Use case clarification.
Browse files Browse the repository at this point in the history
  • Loading branch information
lucia-vargas-a committed Jun 28, 2024
1 parent 62360f6 commit 38f2d1f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/cookbooks/data_modeling/using_aggregates.md
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ Looker's PDTs and aggregate awareness are _only_ referenced in Looker when at le

#### A Materialized View is suitable when:

- To aggregate data in real-time (for example, for implementing real-time monitoring of certain metrics)
- Your goal is to aggregate data in real-time (for example, for implementing real-time monitoring of certain metrics)
- The results can be based on shredded data (tables with client_id).
- The view will be queried directly or used as a source for other analysis.
- Change control is _not_ required or is already implemented in the base table. This can be verified by looking for the label `change_controlled: true` in the table's metadata.
Expand All @@ -118,6 +118,7 @@ Looker's PDTs and aggregate awareness are _only_ referenced in Looker when at le

#### A Looker PDT is suitable when:

- Your goal is to improve the performance and query response time in Dashboard by pre-aggregating common query patterns and not having to re-create the dashboard when the base table changes.
- The results can be based on shredded data (tables with client_id).
- Change control is not required or is already implemented in the base table. This can be verified by looking for the label `change_controlled: true` in the metadata.
- A scheduled alert on failure is _not_ required. Failures must be monitored in the [PDT Admin Dashboard](https://mozilla.cloud.looker.com/admin/pdts) or in the [Errors and Broken Content Dashboard](https://mozilla.cloud.looker.com/dashboards/system__activity::errors_and_broken_content).
Expand Down

0 comments on commit 38f2d1f

Please sign in to comment.