From b3d66756d5e36cf2f6afddbd09397db98b0e59fd Mon Sep 17 00:00:00 2001 From: BohuTANG Date: Tue, 4 Nov 2025 20:17:36 +0800 Subject: [PATCH] docs: make advanced indexes available to community --- .../guides/00-products/01-dee/10-enterprise-features.md | 8 +------- docs/cn/guides/55-performance/02-aggregating-index.md | 6 +----- docs/cn/guides/55-performance/03-fulltext-index.md | 7 +------ docs/cn/guides/55-performance/index.md | 6 +++--- docs/cn/guides/55-performance/ngram-index.md | 6 +----- .../00-sql-reference/10-data-types/vector.md | 7 +------ .../07-aggregating-index/create-aggregating-index.md | 6 +----- .../00-ddl/07-aggregating-index/drop-aggregating-index.md | 6 +----- .../10-sql-commands/00-ddl/07-aggregating-index/index.md | 6 +----- .../07-aggregating-index/refresh-aggregating-index.md | 6 +----- .../00-ddl/07-inverted-index/create-inverted-index.md | 6 +----- .../00-ddl/07-inverted-index/drop-inverted-index.md | 4 ---- .../10-sql-commands/00-ddl/07-inverted-index/index.md | 6 +----- .../00-ddl/07-inverted-index/refresh-inverted-index.md | 6 +----- .../00-ddl/07-ngram-index/create-ngram-index.md | 6 +----- .../00-ddl/07-ngram-index/drop-ngram-index.md | 6 +----- .../10-sql-commands/00-ddl/07-ngram-index/index.md | 6 +----- .../00-ddl/07-ngram-index/refresh-ngram-index.md | 6 +----- .../guides/00-products/01-dee/10-enterprise-features.md | 6 ------ docs/en/guides/55-performance/02-aggregating-index.md | 5 ----- docs/en/guides/55-performance/03-fulltext-index.md | 5 ----- docs/en/guides/55-performance/index.md | 6 +++--- docs/en/guides/55-performance/ngram-index.md | 7 +------ .../00-sql-reference/10-data-types/vector.md | 5 ----- .../07-aggregating-index/create-aggregating-index.md | 6 +----- .../00-ddl/07-aggregating-index/drop-aggregating-index.md | 6 +----- .../10-sql-commands/00-ddl/07-aggregating-index/index.md | 6 +----- .../07-aggregating-index/refresh-aggregating-index.md | 6 +----- .../00-ddl/07-inverted-index/create-inverted-index.md | 6 +----- .../00-ddl/07-inverted-index/drop-inverted-index.md | 6 +----- .../10-sql-commands/00-ddl/07-inverted-index/index.md | 6 +----- .../00-ddl/07-inverted-index/refresh-inverted-index.md | 6 +----- .../00-ddl/07-ngram-index/create-ngram-index.md | 4 ---- .../00-ddl/07-ngram-index/drop-ngram-index.md | 6 +----- .../10-sql-commands/00-ddl/07-ngram-index/index.md | 6 +----- .../00-ddl/07-ngram-index/refresh-ngram-index.md | 6 +----- 36 files changed, 34 insertions(+), 180 deletions(-) diff --git a/docs/cn/guides/00-products/01-dee/10-enterprise-features.md b/docs/cn/guides/00-products/01-dee/10-enterprise-features.md index b11673fa04..90107d4b95 100644 --- a/docs/cn/guides/00-products/01-dee/10-enterprise-features.md +++ b/docs/cn/guides/00-products/01-dee/10-enterprise-features.md @@ -15,9 +15,6 @@ import DatabendTable from '@site/src/components/DatabendTable'; | 存储加密 (Storage Encryption) | 安全与合规 | 使用服务托管、KMS 或客户管理密钥对静态数据加密。 | | [BendSave](/guides/data-management/data-recovery#bendsave) | 灾难恢复 | 备份并恢复整个 Databend 集群数据,用于灾难恢复。 | | [故障安全 (Fail-Safe)](/guides/security/fail-safe) | 灾难恢复 | 从 S3 兼容对象存储恢复丢失或误删的数据。 | -| [聚合索引 (Aggregating Index)](/sql/sql-commands/ddl/aggregating-index) | 查询性能 | 通过预计算并索引的聚合加速查询。 | -| [全文索引 (Full-Text Index)](/guides/performance/fulltext-index) | 查询性能 | 利用倒排索引与相关性评分实现极速文本搜索。 | -| [Ngram 索引 (Ngram Index)](/guides/performance/ngram-index) | 查询性能 | 通过通配符搜索加速 LIKE 模式匹配查询。 | | [虚拟列 (Virtual Column)](/sql/sql-commands/ddl/virtual-column) | 查询性能 | 零配置即可自动加速 VARIANT 数据的 JSON 查询。 | | [动态列 (Dynamic Column)](/sql/sql-commands/ddl/table/ddl-create-table#computed-columns) | 查询性能 | 以存储或虚拟计算模式,从标量表达式自动生成列。 | | [Python UDF](/sql/sql-commands/ddl/udf/ddl-create-function-embedded#python) | 高级分析 | 在 SQL 查询中通过内置处理器执行 Python 代码。 | @@ -82,9 +79,6 @@ tbody={[ width={['70%', '15%', '15%']} thead={['功能', 'Databend 社区版', 'Databend 企业版']} tbody={[ -['聚合索引(预计算聚合)', '✕', '✓'], -['全文索引(文本搜索)', '✕', '✓'], -['Ngram 索引(模式匹配)', '✕', '✓'], ['虚拟列(JSON 查询加速)', '✕', '✓'], ['动态列(计算列)', '✕', '✓'], ]} @@ -166,4 +160,4 @@ tbody={[ ['部署与升级', '✕', '✓'], ['运维支持', '✕', '✓'], ]} -/> \ No newline at end of file +/> diff --git a/docs/cn/guides/55-performance/02-aggregating-index.md b/docs/cn/guides/55-performance/02-aggregating-index.md index 00922e14ef..e6bc2555f6 100644 --- a/docs/cn/guides/55-performance/02-aggregating-index.md +++ b/docs/cn/guides/55-performance/02-aggregating-index.md @@ -4,10 +4,6 @@ title: 聚合索引 # 聚合索引:预计算结果实现即时分析 -import EEFeature from '@site/src/components/EEFeature'; - - - 聚合索引通过预计算和存储聚合结果,显著加速分析查询,避免对常见分析操作进行全表扫描。 ## 解决了什么问题? @@ -149,4 +145,4 @@ SET enable_aggregating_index_scan = 0; -- 禁用 --- -*聚合索引对大数据集上的重复分析工作负载效果最佳,建议从高频仪表盘和报表查询开始实施。* \ No newline at end of file +*聚合索引对大数据集上的重复分析工作负载效果最佳,建议从高频仪表盘和报表查询开始实施。* diff --git a/docs/cn/guides/55-performance/03-fulltext-index.md b/docs/cn/guides/55-performance/03-fulltext-index.md index 86140adcf6..7931fb0806 100644 --- a/docs/cn/guides/55-performance/03-fulltext-index.md +++ b/docs/cn/guides/55-performance/03-fulltext-index.md @@ -8,11 +8,6 @@ title: 全文索引(Full-Text Index) # 全文索引(Full-Text Index):自动实现闪电般快速的文本搜索 -import EEFeature from '@site/src/components/EEFeature'; - - - - 全文索引(倒排索引)通过将词条映射到文档,自动在大规模文档集合中实现闪电般快速的文本搜索,彻底告别缓慢的表扫描。 ## 它解决了什么问题? @@ -281,4 +276,4 @@ event_timestamp: 2024-04-08 12:00:00 --- -*全文索引是面向大规模文档集合、需要快速复杂文本搜索能力的应用必备利器。* \ No newline at end of file +*全文索引是面向大规模文档集合、需要快速复杂文本搜索能力的应用必备利器。* diff --git a/docs/cn/guides/55-performance/index.md b/docs/cn/guides/55-performance/index.md index 993c482a5b..c7acaa87f0 100644 --- a/docs/cn/guides/55-performance/index.md +++ b/docs/cn/guides/55-performance/index.md @@ -22,6 +22,6 @@ Databend 主要通过**多种索引技术**加速查询性能,包括数据聚 | Cluster Key | ✅ | ✅ | ✅ | | Query Result Cache | ✅ | ✅ | ✅ | | Virtual Column | ❌ | ✅ | ✅ | -| Aggregating Index | ❌ | ✅ | ✅ | -| Full-Text Index | ❌ | ✅ | ✅ | -| Ngram Index | ❌ | ✅ | ✅ | +| Aggregating Index | ✅ | ✅ | ✅ | +| Full-Text Index | ✅ | ✅ | ✅ | +| Ngram Index | ✅ | ✅ | ✅ | diff --git a/docs/cn/guides/55-performance/ngram-index.md b/docs/cn/guides/55-performance/ngram-index.md index 66f477de50..4df7dd18b5 100644 --- a/docs/cn/guides/55-performance/ngram-index.md +++ b/docs/cn/guides/55-performance/ngram-index.md @@ -4,10 +4,6 @@ title: Ngram 索引 # Ngram 索引(Ngram Index):为 LIKE 查询实现快速模式匹配 -import EEFeature from '@site/src/components/EEFeature'; - - - Ngram 索引(Ngram Index)能够加速使用 `LIKE` 操作符和通配符(`%`)的模式匹配查询,实现快速的子字符串搜索,而无需进行全表扫描。 ## 它解决了什么问题? @@ -186,4 +182,4 @@ TableScan --- -*对于需要在大型文本数据集上使用 `LIKE` 查询进行快速模式匹配的应用,Ngram 索引(Ngram Index)至关重要。* \ No newline at end of file +*对于需要在大型文本数据集上使用 `LIKE` 查询进行快速模式匹配的应用,Ngram 索引(Ngram Index)至关重要。* diff --git a/docs/cn/sql-reference/00-sql-reference/10-data-types/vector.md b/docs/cn/sql-reference/00-sql-reference/10-data-types/vector.md index c2ffa81534..be6f126ae6 100644 --- a/docs/cn/sql-reference/00-sql-reference/10-data-types/vector.md +++ b/docs/cn/sql-reference/00-sql-reference/10-data-types/vector.md @@ -6,11 +6,6 @@ import FunctionDescription from '@site/src/components/FunctionDescription'; -import EEFeature from '@site/src/components/EEFeature'; - - - - VECTOR 数据类型用于存储由 32 位浮点数组成的多维数组,专为机器学习、人工智能应用和相似性搜索操作而设计。每个向量在创建时都指定了固定的维度(长度)。 ## 语法 @@ -142,4 +137,4 @@ FILE_FORMAT = (TYPE = 'PARQUET'); ## 向量函数 -请参阅 [向量函数](/sql/sql-functions/vector-functions/)。 \ No newline at end of file +请参阅 [向量函数](/sql/sql-functions/vector-functions/)。 diff --git a/docs/cn/sql-reference/10-sql-commands/00-ddl/07-aggregating-index/create-aggregating-index.md b/docs/cn/sql-reference/10-sql-commands/00-ddl/07-aggregating-index/create-aggregating-index.md index e8fbae7a52..6b9cdb456e 100644 --- a/docs/cn/sql-reference/10-sql-commands/00-ddl/07-aggregating-index/create-aggregating-index.md +++ b/docs/cn/sql-reference/10-sql-commands/00-ddl/07-aggregating-index/create-aggregating-index.md @@ -7,10 +7,6 @@ import FunctionDescription from '@site/src/components/FunctionDescription'; -import EEFeature from '@site/src/components/EEFeature'; - - - 在 Databend 中创建一个新的聚合索引(Aggregating Index)。 ## 语法 @@ -38,4 +34,4 @@ INSERT INTO agg VALUES (1,1,4), (1,2,1), (1,2,4), (2,2,5); -- 创建一个聚合索引 CREATE AGGREGATING INDEX my_agg_index AS SELECT MIN(a), MAX(c) FROM agg; -``` \ No newline at end of file +``` diff --git a/docs/cn/sql-reference/10-sql-commands/00-ddl/07-aggregating-index/drop-aggregating-index.md b/docs/cn/sql-reference/10-sql-commands/00-ddl/07-aggregating-index/drop-aggregating-index.md index 32df6d5852..902dde4b5a 100644 --- a/docs/cn/sql-reference/10-sql-commands/00-ddl/07-aggregating-index/drop-aggregating-index.md +++ b/docs/cn/sql-reference/10-sql-commands/00-ddl/07-aggregating-index/drop-aggregating-index.md @@ -7,10 +7,6 @@ import FunctionDescription from '@site/src/components/FunctionDescription'; -import EEFeature from '@site/src/components/EEFeature'; - - - 删除已存在的 aggregating index。请注意,删除 aggregating index 不会移除相关的存储块。要同时删除这些块,请使用 [VACUUM TABLE](../01-table/91-vacuum-table.md) 命令。要禁用 aggregating indexing 功能,请将 `enable_aggregating_index_scan` 设置为 0。 ## 语法 @@ -25,4 +21,4 @@ DROP AGGREGATING INDEX ```sql DROP AGGREGATING INDEX my_agg_index; -``` \ No newline at end of file +``` diff --git a/docs/cn/sql-reference/10-sql-commands/00-ddl/07-aggregating-index/index.md b/docs/cn/sql-reference/10-sql-commands/00-ddl/07-aggregating-index/index.md index 5978002b03..23203fec82 100644 --- a/docs/cn/sql-reference/10-sql-commands/00-ddl/07-aggregating-index/index.md +++ b/docs/cn/sql-reference/10-sql-commands/00-ddl/07-aggregating-index/index.md @@ -1,10 +1,6 @@ --- title: 聚合索引(Aggregating Index) --- -import EEFeature from '@site/src/components/EEFeature'; - - - 本页面全面概述了 Databend 中的聚合索引操作,按功能组织以便参考。 ## 聚合索引管理 @@ -21,4 +17,4 @@ import EEFeature from '@site/src/components/EEFeature'; :::note Databend 中的聚合索引通过预计算和存储聚合结果,提高聚合查询的性能。 -::: \ No newline at end of file +::: diff --git a/docs/cn/sql-reference/10-sql-commands/00-ddl/07-aggregating-index/refresh-aggregating-index.md b/docs/cn/sql-reference/10-sql-commands/00-ddl/07-aggregating-index/refresh-aggregating-index.md index 96796edddb..52873d9984 100644 --- a/docs/cn/sql-reference/10-sql-commands/00-ddl/07-aggregating-index/refresh-aggregating-index.md +++ b/docs/cn/sql-reference/10-sql-commands/00-ddl/07-aggregating-index/refresh-aggregating-index.md @@ -7,10 +7,6 @@ import FunctionDescription from '@site/src/components/FunctionDescription'; -import EEFeature from '@site/src/components/EEFeature'; - - - ## 语法 ```sql @@ -41,4 +37,4 @@ INSERT INTO agg VALUES (2,2,5); -- Refresh the aggregating index REFRESH AGGREGATING INDEX my_agg_index; -``` \ No newline at end of file +``` diff --git a/docs/cn/sql-reference/10-sql-commands/00-ddl/07-inverted-index/create-inverted-index.md b/docs/cn/sql-reference/10-sql-commands/00-ddl/07-inverted-index/create-inverted-index.md index c3217a66ad..0b9aaa7fcf 100644 --- a/docs/cn/sql-reference/10-sql-commands/00-ddl/07-inverted-index/create-inverted-index.md +++ b/docs/cn/sql-reference/10-sql-commands/00-ddl/07-inverted-index/create-inverted-index.md @@ -7,10 +7,6 @@ import FunctionDescription from '@site/src/components/FunctionDescription'; -import EEFeature from '@site/src/components/EEFeature'; - - - 在 Databend 中创建一个新的 inverted index。 ## 语法 @@ -83,4 +79,4 @@ SHOW CREATE TABLE customer_feedback; ├───────────────────┼─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┤ │ customer_feedback │ CREATE TABLE customer_feedback (\n comment_title VARCHAR NULL,\n comment_body VARCHAR NULL,\n SYNC INVERTED INDEX customer_feedback_idx (comment_title, comment_body)\n) ENGINE=FUSE │ └─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘ -``` \ No newline at end of file +``` diff --git a/docs/cn/sql-reference/10-sql-commands/00-ddl/07-inverted-index/drop-inverted-index.md b/docs/cn/sql-reference/10-sql-commands/00-ddl/07-inverted-index/drop-inverted-index.md index 93d558249a..72aa2e869a 100644 --- a/docs/cn/sql-reference/10-sql-commands/00-ddl/07-inverted-index/drop-inverted-index.md +++ b/docs/cn/sql-reference/10-sql-commands/00-ddl/07-inverted-index/drop-inverted-index.md @@ -6,10 +6,6 @@ import FunctionDescription from '@site/src/components/FunctionDescription'; -import EEFeature from '@site/src/components/EEFeature'; - - - 删除 Databend 中的倒排索引。 ## 语法 diff --git a/docs/cn/sql-reference/10-sql-commands/00-ddl/07-inverted-index/index.md b/docs/cn/sql-reference/10-sql-commands/00-ddl/07-inverted-index/index.md index 8ca673c1d4..982f72a057 100644 --- a/docs/cn/sql-reference/10-sql-commands/00-ddl/07-inverted-index/index.md +++ b/docs/cn/sql-reference/10-sql-commands/00-ddl/07-inverted-index/index.md @@ -1,10 +1,6 @@ --- title: 倒排索引(Inverted Index) --- -import EEFeature from '@site/src/components/EEFeature'; - - - 本页面按功能分类,全面介绍 Databend 中的倒排索引操作,便于快速查阅。 ## 倒排索引管理 @@ -21,4 +17,4 @@ import EEFeature from '@site/src/components/EEFeature'; :::note Databend 的倒排索引为文本数据实现高效全文搜索功能,支持在大型文本列中快速执行关键词检索。 -::: \ No newline at end of file +::: diff --git a/docs/cn/sql-reference/10-sql-commands/00-ddl/07-inverted-index/refresh-inverted-index.md b/docs/cn/sql-reference/10-sql-commands/00-ddl/07-inverted-index/refresh-inverted-index.md index 37d970bbf5..b4f061865f 100644 --- a/docs/cn/sql-reference/10-sql-commands/00-ddl/07-inverted-index/refresh-inverted-index.md +++ b/docs/cn/sql-reference/10-sql-commands/00-ddl/07-inverted-index/refresh-inverted-index.md @@ -7,10 +7,6 @@ import FunctionDescription from '@site/src/components/FunctionDescription'; -import EEFeature from '@site/src/components/EEFeature'; - - - 刷新 Databend 中的倒排索引。在以下情况下,倒排索引需要刷新: - 当在创建倒排索引之前将数据插入到表中时,创建后需要手动刷新倒排索引,才能有效地索引插入的数据。 @@ -31,4 +27,4 @@ REFRESH INVERTED INDEX ON [.] [LIMIT ] ```sql -- 刷新表 "customer_feedback" 的名为 "customer_feedback_idx" 的倒排索引 REFRESH INVERTED INDEX customer_feedback_idx ON customer_feedback; -``` \ No newline at end of file +``` diff --git a/docs/cn/sql-reference/10-sql-commands/00-ddl/07-ngram-index/create-ngram-index.md b/docs/cn/sql-reference/10-sql-commands/00-ddl/07-ngram-index/create-ngram-index.md index ed7d992d4e..5c13bef9e3 100644 --- a/docs/cn/sql-reference/10-sql-commands/00-ddl/07-ngram-index/create-ngram-index.md +++ b/docs/cn/sql-reference/10-sql-commands/00-ddl/07-ngram-index/create-ngram-index.md @@ -7,10 +7,6 @@ import FunctionDescription from '@site/src/components/FunctionDescription'; -import EEFeature from '@site/src/components/EEFeature'; - - - 为表的某一列创建 Ngram 索引(Index)。 ## 语法 @@ -117,4 +113,4 @@ SELECT * FROM phrases WHERE text LIKE '%banana%'; ```sql DROP NGRAM INDEX idx_text ON phrases; -``` \ No newline at end of file +``` diff --git a/docs/cn/sql-reference/10-sql-commands/00-ddl/07-ngram-index/drop-ngram-index.md b/docs/cn/sql-reference/10-sql-commands/00-ddl/07-ngram-index/drop-ngram-index.md index b933e464e1..e01ddb5a83 100644 --- a/docs/cn/sql-reference/10-sql-commands/00-ddl/07-ngram-index/drop-ngram-index.md +++ b/docs/cn/sql-reference/10-sql-commands/00-ddl/07-ngram-index/drop-ngram-index.md @@ -7,10 +7,6 @@ import FunctionDescription from '@site/src/components/FunctionDescription'; -import EEFeature from '@site/src/components/EEFeature'; - - - 从表中删除现有的 NGRAM 索引。 ## 语法 @@ -26,4 +22,4 @@ ON [.]; ```sql DROP NGRAM INDEX idx1 ON amazon_reviews_ngram; -``` \ No newline at end of file +``` diff --git a/docs/cn/sql-reference/10-sql-commands/00-ddl/07-ngram-index/index.md b/docs/cn/sql-reference/10-sql-commands/00-ddl/07-ngram-index/index.md index 30ae1659ea..94298fffe0 100644 --- a/docs/cn/sql-reference/10-sql-commands/00-ddl/07-ngram-index/index.md +++ b/docs/cn/sql-reference/10-sql-commands/00-ddl/07-ngram-index/index.md @@ -1,10 +1,6 @@ --- title: Ngram 索引 --- -import EEFeature from '@site/src/components/EEFeature'; - - - 本页面全面概述了 Databend 中的 Ngram 索引(Ngram Index)操作,并按功能进行组织,方便参考。 ## Ngram 索引管理 @@ -17,4 +13,4 @@ import EEFeature from '@site/src/components/EEFeature'; :::note Databend 的 Ngram 索引(Ngram Index)支持高效执行文本数据的子字符串和模式匹配搜索,显著提升 LIKE 及类似操作的性能。 -::: \ No newline at end of file +::: diff --git a/docs/cn/sql-reference/10-sql-commands/00-ddl/07-ngram-index/refresh-ngram-index.md b/docs/cn/sql-reference/10-sql-commands/00-ddl/07-ngram-index/refresh-ngram-index.md index 14553e65e8..1e1a7edc54 100644 --- a/docs/cn/sql-reference/10-sql-commands/00-ddl/07-ngram-index/refresh-ngram-index.md +++ b/docs/cn/sql-reference/10-sql-commands/00-ddl/07-ngram-index/refresh-ngram-index.md @@ -7,10 +7,6 @@ import FunctionDescription from '@site/src/components/FunctionDescription'; -import EEFeature from '@site/src/components/EEFeature'; - - - 刷新表上已有的 NGRAM 索引(NGRAM INDEX)。 ## 语法 @@ -26,4 +22,4 @@ ON [.]; ```sql REFRESH NGRAM INDEX idx1 ON amazon_reviews_ngram; -``` \ No newline at end of file +``` diff --git a/docs/en/guides/00-products/01-dee/10-enterprise-features.md b/docs/en/guides/00-products/01-dee/10-enterprise-features.md index 171c09d39f..3bc25f8456 100644 --- a/docs/en/guides/00-products/01-dee/10-enterprise-features.md +++ b/docs/en/guides/00-products/01-dee/10-enterprise-features.md @@ -15,9 +15,6 @@ This page provides an updated list of available enterprise features. To access t | Storage Encryption | Security & Compliance | Encrypt data at rest with service-managed, KMS, or customer-managed keys. | | [BendSave](/guides/data-management/data-recovery#bendsave) | Disaster Recovery | Backup and restore entire Databend cluster data for disaster recovery. | | [Fail-Safe](/guides/security/fail-safe) | Disaster Recovery | Recover lost or accidentally deleted data from S3-compatible object storage. | -| [Aggregating Index](/sql/sql-commands/ddl/aggregating-index) | Query Performance | Speed up queries with precomputed and indexed aggregations. | -| [Full-Text Index](/guides/performance/fulltext-index) | Query Performance | Enable lightning-fast text search with inverted indexes and relevance scoring. | -| [Ngram Index](/guides/performance/ngram-index) | Query Performance | Accelerate LIKE pattern matching queries with wildcard searches. | | [Virtual Column](/sql/sql-commands/ddl/virtual-column) | Query Performance | Automatically accelerate JSON queries with zero-configuration performance optimization for VARIANT data. | | [Dynamic Column](/sql/sql-commands/ddl/table/ddl-create-table#computed-columns) | Query Performance | Generate columns automatically from scalar expressions with stored or virtual calculation modes. | | [Python UDF](/sql/sql-commands/ddl/udf/ddl-create-function-embedded#python) | Advanced Analytics | Execute Python code within SQL queries using built-in handler. | @@ -82,9 +79,6 @@ tbody={[ width={['70%', '15%', '15%']} thead={['Functionality', 'Databend Community', 'Databend Enterprise']} tbody={[ -['Aggregating Index (Precomputed Aggregations)', '✕', '✓'], -['Full-Text Index (Text Search)', '✕', '✓'], -['Ngram Index (Pattern Matching)', '✕', '✓'], ['Virtual Column (JSON Query Acceleration)', '✕', '✓'], ['Dynamic Column (Computed Columns)', '✕', '✓'], ]} diff --git a/docs/en/guides/55-performance/02-aggregating-index.md b/docs/en/guides/55-performance/02-aggregating-index.md index 46434534d1..103ecc1fa8 100644 --- a/docs/en/guides/55-performance/02-aggregating-index.md +++ b/docs/en/guides/55-performance/02-aggregating-index.md @@ -4,11 +4,6 @@ title: Aggregating Index # Aggregating Index: Precomputed Results for Instant Analytics -import EEFeature from '@site/src/components/EEFeature'; - - - - Aggregating indexes dramatically accelerate analytical queries by precomputing and storing aggregation results, eliminating the need to scan entire tables for common analytics operations. ## What Problem Does It Solve? diff --git a/docs/en/guides/55-performance/03-fulltext-index.md b/docs/en/guides/55-performance/03-fulltext-index.md index 66b17e19aa..21d8270bb0 100644 --- a/docs/en/guides/55-performance/03-fulltext-index.md +++ b/docs/en/guides/55-performance/03-fulltext-index.md @@ -8,11 +8,6 @@ Looking for a hands-on walkthrough? See [JSON & Search Guide](/guides/query/json # Full-Text Index: Automatic Lightning-Fast Text Search -import EEFeature from '@site/src/components/EEFeature'; - - - - Full-text indexes (inverted indexes) automatically enable lightning-fast text searches across large document collections by mapping terms to documents, eliminating the need for slow table scans. ## What Problem Does It Solve? diff --git a/docs/en/guides/55-performance/index.md b/docs/en/guides/55-performance/index.md index 03aa110bc9..7cfdda6cb0 100644 --- a/docs/en/guides/55-performance/index.md +++ b/docs/en/guides/55-performance/index.md @@ -22,6 +22,6 @@ Databend primarily accelerates query performance through **various indexing tech | Cluster Key | ✅ | ✅ | ✅ | | Query Result Cache | ✅ | ✅ | ✅ | | Virtual Column | ❌ | ✅ | ✅ | -| Aggregating Index | ❌ | ✅ | ✅ | -| Full-Text Index | ❌ | ✅ | ✅ | -| Ngram Index | ❌ | ✅ | ✅ | +| Aggregating Index | ✅ | ✅ | ✅ | +| Full-Text Index | ✅ | ✅ | ✅ | +| Ngram Index | ✅ | ✅ | ✅ | diff --git a/docs/en/guides/55-performance/ngram-index.md b/docs/en/guides/55-performance/ngram-index.md index e7b92d578b..0eebe4965a 100644 --- a/docs/en/guides/55-performance/ngram-index.md +++ b/docs/en/guides/55-performance/ngram-index.md @@ -4,11 +4,6 @@ title: Ngram Index # Ngram Index: Fast Pattern Matching for LIKE Queries -import EEFeature from '@site/src/components/EEFeature'; - - - - Ngram indexes accelerate pattern matching queries using the `LIKE` operator with wildcards (`%`), enabling fast substring searches without full table scans. ## What Problem Does It Solve? @@ -187,4 +182,4 @@ For complete command reference, see [Ngram Index](/sql/sql-commands/ddl/ngram-in --- -*Ngram indexes are essential for applications requiring fast pattern matching with `LIKE` queries on large text datasets.* \ No newline at end of file +*Ngram indexes are essential for applications requiring fast pattern matching with `LIKE` queries on large text datasets.* diff --git a/docs/en/sql-reference/00-sql-reference/10-data-types/vector.md b/docs/en/sql-reference/00-sql-reference/10-data-types/vector.md index 3bc0137fa0..e5c076313d 100644 --- a/docs/en/sql-reference/00-sql-reference/10-data-types/vector.md +++ b/docs/en/sql-reference/00-sql-reference/10-data-types/vector.md @@ -6,11 +6,6 @@ import FunctionDescription from '@site/src/components/FunctionDescription'; -import EEFeature from '@site/src/components/EEFeature'; - - - - The VECTOR data type stores multi-dimensional arrays of 32-bit floating-point numbers, designed for machine learning, AI applications, and similarity search operations. Each vector has a fixed dimension (length) specified at creation time. ## Syntax diff --git a/docs/en/sql-reference/10-sql-commands/00-ddl/07-aggregating-index/create-aggregating-index.md b/docs/en/sql-reference/10-sql-commands/00-ddl/07-aggregating-index/create-aggregating-index.md index 4c5060a220..47d9759607 100644 --- a/docs/en/sql-reference/10-sql-commands/00-ddl/07-aggregating-index/create-aggregating-index.md +++ b/docs/en/sql-reference/10-sql-commands/00-ddl/07-aggregating-index/create-aggregating-index.md @@ -7,10 +7,6 @@ import FunctionDescription from '@site/src/components/FunctionDescription'; -import EEFeature from '@site/src/components/EEFeature'; - - - Create a new aggregating index in Databend. ## Syntax @@ -38,4 +34,4 @@ INSERT INTO agg VALUES (1,1,4), (1,2,1), (1,2,4), (2,2,5); -- Create an aggregating index CREATE AGGREGATING INDEX my_agg_index AS SELECT MIN(a), MAX(c) FROM agg; -``` \ No newline at end of file +``` diff --git a/docs/en/sql-reference/10-sql-commands/00-ddl/07-aggregating-index/drop-aggregating-index.md b/docs/en/sql-reference/10-sql-commands/00-ddl/07-aggregating-index/drop-aggregating-index.md index acb4e01650..d9d1b12f4a 100644 --- a/docs/en/sql-reference/10-sql-commands/00-ddl/07-aggregating-index/drop-aggregating-index.md +++ b/docs/en/sql-reference/10-sql-commands/00-ddl/07-aggregating-index/drop-aggregating-index.md @@ -7,10 +7,6 @@ import FunctionDescription from '@site/src/components/FunctionDescription'; -import EEFeature from '@site/src/components/EEFeature'; - - - Deletes an existing aggregating index. Please note that deleting an aggregating index does NOT remove the associated storage blocks. To delete the blocks as well, use the [VACUUM TABLE](../01-table/91-vacuum-table.md) command. To disable the aggregating indexing feature, set `enable_aggregating_index_scan` to 0. ## Syntax @@ -25,4 +21,4 @@ This example deleted an aggregating index named *my_agg_index*: ```sql DROP AGGREGATING INDEX my_agg_index; -``` \ No newline at end of file +``` diff --git a/docs/en/sql-reference/10-sql-commands/00-ddl/07-aggregating-index/index.md b/docs/en/sql-reference/10-sql-commands/00-ddl/07-aggregating-index/index.md index 24995e3557..9894b4aa95 100644 --- a/docs/en/sql-reference/10-sql-commands/00-ddl/07-aggregating-index/index.md +++ b/docs/en/sql-reference/10-sql-commands/00-ddl/07-aggregating-index/index.md @@ -1,10 +1,6 @@ --- title: Aggregating Index --- -import EEFeature from '@site/src/components/EEFeature'; - - - This page provides a comprehensive overview of aggregating index operations in Databend, organized by functionality for easy reference. ## Aggregating Index Management @@ -21,4 +17,4 @@ This page provides a comprehensive overview of aggregating index operations in D :::note Aggregating indexes in Databend are used to improve the performance of aggregate queries by pre-computing and storing aggregate results. -::: \ No newline at end of file +::: diff --git a/docs/en/sql-reference/10-sql-commands/00-ddl/07-aggregating-index/refresh-aggregating-index.md b/docs/en/sql-reference/10-sql-commands/00-ddl/07-aggregating-index/refresh-aggregating-index.md index ac6122eee9..feaa49f12e 100644 --- a/docs/en/sql-reference/10-sql-commands/00-ddl/07-aggregating-index/refresh-aggregating-index.md +++ b/docs/en/sql-reference/10-sql-commands/00-ddl/07-aggregating-index/refresh-aggregating-index.md @@ -7,10 +7,6 @@ import FunctionDescription from '@site/src/components/FunctionDescription'; -import EEFeature from '@site/src/components/EEFeature'; - - - ## Syntax ```sql @@ -41,4 +37,4 @@ INSERT INTO agg VALUES (2,2,5); -- Refresh the aggregating index REFRESH AGGREGATING INDEX my_agg_index; -``` \ No newline at end of file +``` diff --git a/docs/en/sql-reference/10-sql-commands/00-ddl/07-inverted-index/create-inverted-index.md b/docs/en/sql-reference/10-sql-commands/00-ddl/07-inverted-index/create-inverted-index.md index c401755987..b355a3b99d 100644 --- a/docs/en/sql-reference/10-sql-commands/00-ddl/07-inverted-index/create-inverted-index.md +++ b/docs/en/sql-reference/10-sql-commands/00-ddl/07-inverted-index/create-inverted-index.md @@ -7,10 +7,6 @@ import FunctionDescription from '@site/src/components/FunctionDescription'; -import EEFeature from '@site/src/components/EEFeature'; - - - Creates a new inverted index in Databend. ## Syntax @@ -83,4 +79,4 @@ SHOW CREATE TABLE customer_feedback; ├───────────────────┼─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┤ │ customer_feedback │ CREATE TABLE customer_feedback (\n comment_title VARCHAR NULL,\n comment_body VARCHAR NULL,\n SYNC INVERTED INDEX customer_feedback_idx (comment_title, comment_body)\n) ENGINE=FUSE │ └─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘ -``` \ No newline at end of file +``` diff --git a/docs/en/sql-reference/10-sql-commands/00-ddl/07-inverted-index/drop-inverted-index.md b/docs/en/sql-reference/10-sql-commands/00-ddl/07-inverted-index/drop-inverted-index.md index 63fafde536..6a107597b8 100644 --- a/docs/en/sql-reference/10-sql-commands/00-ddl/07-inverted-index/drop-inverted-index.md +++ b/docs/en/sql-reference/10-sql-commands/00-ddl/07-inverted-index/drop-inverted-index.md @@ -6,10 +6,6 @@ import FunctionDescription from '@site/src/components/FunctionDescription'; -import EEFeature from '@site/src/components/EEFeature'; - - - Removes an inverted index in Databend. ## Syntax @@ -23,4 +19,4 @@ DROP INVERTED INDEX [IF EXISTS] ON [.]
```sql -- Drop the inverted index 'customer_feedback_idx' on the 'customer_feedback' table DROP INVERTED INDEX customer_feedback_idx ON customer_feedback; -``` \ No newline at end of file +``` diff --git a/docs/en/sql-reference/10-sql-commands/00-ddl/07-inverted-index/index.md b/docs/en/sql-reference/10-sql-commands/00-ddl/07-inverted-index/index.md index e4a1997d09..3765008ea9 100644 --- a/docs/en/sql-reference/10-sql-commands/00-ddl/07-inverted-index/index.md +++ b/docs/en/sql-reference/10-sql-commands/00-ddl/07-inverted-index/index.md @@ -1,10 +1,6 @@ --- title: Inverted Index --- -import EEFeature from '@site/src/components/EEFeature'; - - - This page provides a comprehensive overview of inverted index operations in Databend, organized by functionality for easy reference. ## Inverted Index Management @@ -21,4 +17,4 @@ This page provides a comprehensive overview of inverted index operations in Data :::note Inverted indexes in Databend enable efficient full-text search capabilities for text data, allowing for fast keyword searches across large text columns. -::: \ No newline at end of file +::: diff --git a/docs/en/sql-reference/10-sql-commands/00-ddl/07-inverted-index/refresh-inverted-index.md b/docs/en/sql-reference/10-sql-commands/00-ddl/07-inverted-index/refresh-inverted-index.md index 8202f43bad..7c706dd5ea 100644 --- a/docs/en/sql-reference/10-sql-commands/00-ddl/07-inverted-index/refresh-inverted-index.md +++ b/docs/en/sql-reference/10-sql-commands/00-ddl/07-inverted-index/refresh-inverted-index.md @@ -7,10 +7,6 @@ import FunctionDescription from '@site/src/components/FunctionDescription'; -import EEFeature from '@site/src/components/EEFeature'; - - - Refreshes an inverted index in Databend. An inverted index requires refresh in the following scenarios: - When data is inserted into the table before creating the inverted index, manual refreshing of the inverted index is necessary post-creation to effectively index the inserted data. @@ -31,4 +27,4 @@ REFRESH INVERTED INDEX ON [.]
[LIMIT ] ```sql -- Refresh an inverted index named "customer_feedback_idx" for the table "customer_feedback" REFRESH INVERTED INDEX customer_feedback_idx ON customer_feedback; -``` \ No newline at end of file +``` diff --git a/docs/en/sql-reference/10-sql-commands/00-ddl/07-ngram-index/create-ngram-index.md b/docs/en/sql-reference/10-sql-commands/00-ddl/07-ngram-index/create-ngram-index.md index b7c82702a1..504cbe1c2f 100644 --- a/docs/en/sql-reference/10-sql-commands/00-ddl/07-ngram-index/create-ngram-index.md +++ b/docs/en/sql-reference/10-sql-commands/00-ddl/07-ngram-index/create-ngram-index.md @@ -7,10 +7,6 @@ import FunctionDescription from '@site/src/components/FunctionDescription'; -import EEFeature from '@site/src/components/EEFeature'; - - - Creates an Ngram index on a column for a table. ## Syntax diff --git a/docs/en/sql-reference/10-sql-commands/00-ddl/07-ngram-index/drop-ngram-index.md b/docs/en/sql-reference/10-sql-commands/00-ddl/07-ngram-index/drop-ngram-index.md index f6bc8cc330..3eb9e13b89 100644 --- a/docs/en/sql-reference/10-sql-commands/00-ddl/07-ngram-index/drop-ngram-index.md +++ b/docs/en/sql-reference/10-sql-commands/00-ddl/07-ngram-index/drop-ngram-index.md @@ -7,10 +7,6 @@ import FunctionDescription from '@site/src/components/FunctionDescription'; -import EEFeature from '@site/src/components/EEFeature'; - - - Drops an existing NGRAM index from a table. ## Syntax @@ -26,4 +22,4 @@ The following example drops the `idx1` index from the `amazon_reviews_ngram` tab ```sql DROP NGRAM INDEX idx1 ON amazon_reviews_ngram; -``` \ No newline at end of file +``` diff --git a/docs/en/sql-reference/10-sql-commands/00-ddl/07-ngram-index/index.md b/docs/en/sql-reference/10-sql-commands/00-ddl/07-ngram-index/index.md index 49deb264f5..9a50a510e0 100644 --- a/docs/en/sql-reference/10-sql-commands/00-ddl/07-ngram-index/index.md +++ b/docs/en/sql-reference/10-sql-commands/00-ddl/07-ngram-index/index.md @@ -1,10 +1,6 @@ --- title: Ngram Index --- -import EEFeature from '@site/src/components/EEFeature'; - - - This page provides a comprehensive overview of Ngram index operations in Databend, organized by functionality for easy reference. ## Ngram Index Management @@ -17,4 +13,4 @@ This page provides a comprehensive overview of Ngram index operations in Databen :::note Ngram indexes in Databend enable efficient substring and pattern matching searches within text data, improving performance for LIKE and similar operations. -::: \ No newline at end of file +::: diff --git a/docs/en/sql-reference/10-sql-commands/00-ddl/07-ngram-index/refresh-ngram-index.md b/docs/en/sql-reference/10-sql-commands/00-ddl/07-ngram-index/refresh-ngram-index.md index eb7d698492..79d6a30d44 100644 --- a/docs/en/sql-reference/10-sql-commands/00-ddl/07-ngram-index/refresh-ngram-index.md +++ b/docs/en/sql-reference/10-sql-commands/00-ddl/07-ngram-index/refresh-ngram-index.md @@ -7,10 +7,6 @@ import FunctionDescription from '@site/src/components/FunctionDescription'; -import EEFeature from '@site/src/components/EEFeature'; - - - Refresh an existing NGRAM index from a table. ## Syntax @@ -26,4 +22,4 @@ The following example refreshes the `idx1` index from the `amazon_reviews_ngram` ```sql REFRESH NGRAM INDEX idx1 ON amazon_reviews_ngram; -``` \ No newline at end of file +```