We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1358866 commit 160c2baCopy full SHA for 160c2ba
docs/en/guides/54-query/03-optimization/index.md
@@ -171,10 +171,10 @@ LIMIT 10;
171
172
## Advanced Optimization
173
174
-### Materialized Views
+### Aggregating Indexes
175
```sql
176
--- Pre-compute expensive aggregations
177
-CREATE MATERIALIZED VIEW daily_sales AS
+-- Pre-compute expensive aggregations using Databend's aggregating indexes
+CREATE AGGREGATING INDEX daily_sales_agg AS
178
SELECT
179
DATE(order_time) as order_date,
180
product_id,
0 commit comments