|
2 | 2 | title: Performance Optimization |
3 | 3 | --- |
4 | 4 |
|
5 | | -Databend provides various optimization features to accelerate query performance across different scenarios. |
| 5 | +Databend primarily accelerates query performance through **various indexing technologies**, including data clustering, result caching, and specialized indexes, helping you significantly improve query response times. |
6 | 6 |
|
7 | 7 | ## Optimization Features |
8 | 8 |
|
9 | | -| Feature | Category | Description | Example Use Case | |
10 | | -|---------|----------|-------------|------------------| |
11 | | -| [**Cluster Key**](00-cluster-key.md) | **Storage** | Automatic data organization for large table queries | `CLUSTER BY (date, region)` for time-series data | |
12 | | -| [**Query Result Cache**](query-result-cache.md) | **Caching** | Automatic caching for repeated queries | Dashboard queries, daily reports | |
13 | | -| [**Virtual Column**](01-virtual-column.md) | **Semi-Structured** | Automatic acceleration for VARIANT data queries | JSON data with frequently accessed nested fields | |
14 | | -| [**Aggregating Index**](02-aggregating-index.md) | **Aggregation** | Automatic indexing for aggregation queries | `SUM(sales) GROUP BY region` queries | |
15 | | -| [**Full-Text Index**](03-fulltext-index.md) | **Text Search** | Automatic indexing for text search queries | `WHERE MATCH(content, 'keyword')` searches | |
16 | | -| [**Ngram Index**](ngram-index.md) | **Pattern Matching** | Automatic indexing for wildcard LIKE queries | `WHERE name LIKE '%john%'` searches | |
| 9 | +| Feature | Purpose | When to Use | |
| 10 | +|---------|---------|------------| |
| 11 | +| [**Cluster Key**](00-cluster-key.md) | Automatically organize data physically for optimal query performance | When you have large tables with frequent filtering on specific columns, especially time-series or categorical data | |
| 12 | +| [**Query Result Cache**](query-result-cache.md) | Automatically store and reuse results of identical queries | When your applications run the same analytical queries repeatedly, such as in dashboards or scheduled reports | |
| 13 | +| [**Virtual Column**](01-virtual-column.md) | Automatically accelerate access to fields within JSON/VARIANT data | When you frequently query specific paths within semi-structured data and need sub-second response times | |
| 14 | +| [**Aggregating Index**](02-aggregating-index.md) | Precompute and store common aggregation results | When your analytical workloads frequently run SUM, COUNT, AVG queries on large datasets | |
| 15 | +| [**Full-Text Index**](03-fulltext-index.md) | Enable lightning-fast semantic text search capabilities | When you need advanced text search functionality like relevance scoring and fuzzy matching | |
| 16 | +| [**Ngram Index**](ngram-index.md) | Accelerate pattern matching with wildcards | When your queries use LIKE operators with wildcards (especially '%keyword%') on large text columns | |
17 | 17 |
|
18 | 18 | ## Feature Availability |
19 | 19 |
|
|
0 commit comments