List of questions
Related questions
Question 320 - Professional Data Engineer discussion
You have a table that contains millions of rows of sales data, partitioned by date Various applications and users query this data many times a minute. The query requires aggregating values by using avg. max. and sum, and does not require joining to other tables. The required aggregations are only computed over the past year of data, though you need to retain full historical data in the base tables You want to ensure that the query results always include the latest data from the tables, while also reducing computation cost, maintenance overhead, and duration. What should you do?
A.
Create a materialized view to aggregate the base table data Configure a partition expiration on the base table to retain only the last one year of partitions.
B.
Create a materialized view to aggregate the base table data include a filter clause to specify the last one year of partitions.
C.
Create a new table that aggregates the base table data include a filter clause to specify the last year of partitions. Set up a scheduled query to recreate the new table every hour.
D.
Create a view to aggregate the base table data Include a filter clause to specify the last year of partitions.
Your answer:
0 comments
Sorted by
Leave a comment first