QuestionQ105

VerifiedAnalyzing Queries

A data analyst must improve performance for a daily sales report that aggregates data from a large transactions table. The report runs multiple times each day, but the underlying data changes only once per day.

Which approach should the analyst use to improve performance while minimizing redundant computation?

Explanation

A materialized view persists the precomputed daily sales aggregation and refreshes it as the underlying transactions data changes. Repeated report executions can query the stored results instead of recalculating the aggregation each time.

Community Discussion

No comments yet. Be the first to start the discussion!