Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions docs/en/guides/54-query/03-optimization/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -171,10 +171,10 @@ LIMIT 10;

## Advanced Optimization

### Materialized Views
### Aggregating Indexes
```sql
-- Pre-compute expensive aggregations
CREATE MATERIALIZED VIEW daily_sales AS
-- Pre-compute expensive aggregations using Databend's aggregating indexes
CREATE AGGREGATING INDEX daily_sales_agg AS
SELECT
DATE(order_time) as order_date,
product_id,
Expand Down
Loading