Skip to content

Commit

Permalink
Updates.
Browse files Browse the repository at this point in the history
  • Loading branch information
lucia-vargas-a committed Jun 18, 2024
1 parent adb0a80 commit 2dabf6c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/cookbooks/data_modeling/using_aggregates.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ This doc is about when to use different options to aggregate data, their limitat
- All types of aggregates require a backfill when the source data changes:
- BigQuery aggregate tables are backfilled using the managed-backfill process.
- Materialized views cannot be backfilled, instead a materialized view needs to be re-created. Schema changes in base tables invalidate the view and requires it to be re-created. Materialized views scan all historical data of their referenced base tables by default, so **ensure to set a date filter to reduce the amount of data to be scanned**.
- Add a date filter to materialized views to limit the amount of data to be scanned when these views get deployed initially. Otherwise they will scan the entire data in referenced base tables.
- Looker PDTs require following a [protocol to backfill](https://mozilla.udemy.com/course/looker-training-for-developers/learn/lecture/35440216/).
- Using indices, partition and clustering is allowed for all cases. Looker requires that they are defined in the base table.
- There is a limit of 20 materialized views per table.
Expand Down

0 comments on commit 2dabf6c

Please sign in to comment.