Materialize
A materialized view stores the query result on disk. Reads are fast, but it is stale until refreshed. Build the orders-per-day summary.
task
Make materialized view mv_day(d, c) with the order count per day.
Run a query to see rows here.
Run EXPLAIN on the statement under the cursor: Plan tab, button Explain.
No tables yet.
A materialized view stores the query result on disk. Reads are fast, but it is stale until refreshed. Build the orders-per-day summary.
Make materialized view mv_day(d, c) with the order count per day.