Skip to content

Commit 1e18b91

Browse files
lilin90ti-chi-bot
authored andcommitted
This is an automated cherry-pick of pingcap#19893
Signed-off-by: ti-chi-bot <[email protected]>
1 parent 03be437 commit 1e18b91

25 files changed

+178
-104
lines changed

TOC-tidb-cloud.md

+16-16
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
- [Roadmap](/tidb-cloud/tidb-cloud-roadmap.md)
1111
- Get Started
1212
- [Try Out TiDB Cloud](/tidb-cloud/tidb-cloud-quickstart.md)
13-
- [Try Out TiDB + AI](/vector-search-get-started-using-python.md)
13+
- [Try Out TiDB + AI](/vector-search/vector-search-get-started-using-python.md)
1414
- [Try Out HTAP](/tidb-cloud/tidb-cloud-htap-quickstart.md)
1515
- [Try Out TiDB Cloud CLI](/tidb-cloud/get-started-with-cli.md)
1616
- [Perform a PoC](/tidb-cloud/tidb-cloud-poc.md)
@@ -241,27 +241,27 @@
241241
- Explore Data
242242
- [Chat2Query (Beta) in SQL Editor](/tidb-cloud/explore-data-with-chat2query.md)
243243
- Vector Search (Beta)
244-
- [Overview](/vector-search-overview.md)
244+
- [Overview](/vector-search/vector-search-overview.md)
245245
- Get Started
246-
- [Get Started with SQL](/vector-search-get-started-using-sql.md)
247-
- [Get Started with Python](/vector-search-get-started-using-python.md)
246+
- [Get Started with SQL](/vector-search/vector-search-get-started-using-sql.md)
247+
- [Get Started with Python](/vector-search/vector-search-get-started-using-python.md)
248248
- Integrations
249-
- [Overview](/vector-search-integration-overview.md)
249+
- [Overview](/vector-search/vector-search-integration-overview.md)
250250
- AI Frameworks
251-
- [LlamaIndex](/vector-search-integrate-with-llamaindex.md)
252-
- [Langchain](/vector-search-integrate-with-langchain.md)
251+
- [LlamaIndex](/vector-search/vector-search-integrate-with-llamaindex.md)
252+
- [Langchain](/vector-search/vector-search-integrate-with-langchain.md)
253253
- Embedding Models/Services
254-
- [Jina AI](/vector-search-integrate-with-jinaai-embedding.md)
254+
- [Jina AI](/vector-search/vector-search-integrate-with-jinaai-embedding.md)
255255
- ORM Libraries
256-
- [SQLAlchemy](/vector-search-integrate-with-sqlalchemy.md)
257-
- [peewee](/vector-search-integrate-with-peewee.md)
258-
- [Django ORM](/vector-search-integrate-with-django-orm.md)
256+
- [SQLAlchemy](/vector-search/vector-search-integrate-with-sqlalchemy.md)
257+
- [peewee](/vector-search/vector-search-integrate-with-peewee.md)
258+
- [Django ORM](/vector-search/vector-search-integrate-with-django-orm.md)
259259
- Reference
260-
- [Vector Data Types](/vector-search-data-types.md)
261-
- [Vector Functions and Operators](/vector-search-functions-and-operators.md)
262-
- [Vector Index](/vector-search-index.md)
263-
- [Improve Performance](/vector-search-improve-performance.md)
264-
- [Limitations](/vector-search-limitations.md)
260+
- [Vector Data Types](/vector-search/vector-search-data-types.md)
261+
- [Vector Functions and Operators](/vector-search/vector-search-functions-and-operators.md)
262+
- [Vector Index](/vector-search/vector-search-index.md)
263+
- [Improve Performance](/vector-search/vector-search-improve-performance.md)
264+
- [Limitations](/vector-search/vector-search-limitations.md)
265265
- [Changelogs](/tidb-cloud/vector-search-changelogs.md)
266266
- Data Service (Beta)
267267
- [Overview](/tidb-cloud/data-service-overview.md)

TOC.md

+15-15
Original file line numberDiff line numberDiff line change
@@ -82,23 +82,23 @@
8282
- [Stale Read](/develop/dev-guide-use-stale-read.md)
8383
- [HTAP Queries](/develop/dev-guide-hybrid-oltp-and-olap-queries.md)
8484
- Vector Search
85-
- [Overview](/vector-search-overview.md)
85+
- [Overview](/vector-search/vector-search-overview.md)
8686
- Get Started
87-
- [Get Started with SQL](/vector-search-get-started-using-sql.md)
88-
- [Get Started with Python](/vector-search-get-started-using-python.md)
87+
- [Get Started with SQL](/vector-search/vector-search-get-started-using-sql.md)
88+
- [Get Started with Python](/vector-search/vector-search-get-started-using-python.md)
8989
- Integrations
90-
- [Overview](/vector-search-integration-overview.md)
90+
- [Overview](/vector-search/vector-search-integration-overview.md)
9191
- AI Frameworks
92-
- [LlamaIndex](/vector-search-integrate-with-llamaindex.md)
93-
- [Langchain](/vector-search-integrate-with-langchain.md)
92+
- [LlamaIndex](/vector-search/vector-search-integrate-with-llamaindex.md)
93+
- [Langchain](/vector-search/vector-search-integrate-with-langchain.md)
9494
- Embedding Models/Services
95-
- [Jina AI](/vector-search-integrate-with-jinaai-embedding.md)
95+
- [Jina AI](/vector-search/vector-search-integrate-with-jinaai-embedding.md)
9696
- ORM Libraries
97-
- [SQLAlchemy](/vector-search-integrate-with-sqlalchemy.md)
98-
- [peewee](/vector-search-integrate-with-peewee.md)
99-
- [Django](/vector-search-integrate-with-django-orm.md)
100-
- [Improve Performance](/vector-search-improve-performance.md)
101-
- [Limitations](/vector-search-limitations.md)
97+
- [SQLAlchemy](/vector-search/vector-search-integrate-with-sqlalchemy.md)
98+
- [peewee](/vector-search/vector-search-integrate-with-peewee.md)
99+
- [Django](/vector-search/vector-search-integrate-with-django-orm.md)
100+
- [Improve Performance](/vector-search/vector-search-improve-performance.md)
101+
- [Limitations](/vector-search/vector-search-limitations.md)
102102
- Transaction
103103
- [Overview](/develop/dev-guide-transaction-overview.md)
104104
- [Optimistic and Pessimistic Transactions](/develop/dev-guide-optimistic-and-pessimistic-transaction.md)
@@ -890,7 +890,7 @@
890890
- [Date and Time Types](/data-type-date-and-time.md)
891891
- [String Types](/data-type-string.md)
892892
- [JSON Type](/data-type-json.md)
893-
- [Vector Types](/vector-search-data-types.md)
893+
- [Vector Types](/vector-search/vector-search-data-types.md)
894894
- Functions and Operators
895895
- [Overview](/functions-and-operators/functions-and-operators-overview.md)
896896
- [Type Conversion in Expression Evaluation](/functions-and-operators/type-conversion-in-expression-evaluation.md)
@@ -904,7 +904,7 @@
904904
- [Encryption and Compression Functions](/functions-and-operators/encryption-and-compression-functions.md)
905905
- [Locking Functions](/functions-and-operators/locking-functions.md)
906906
- [Information Functions](/functions-and-operators/information-functions.md)
907-
- [Vector Functions and Operators](/vector-search-functions-and-operators.md)
907+
- [Vector Functions and Operators](/vector-search/vector-search-functions-and-operators.md)
908908
- JSON Functions
909909
- [Overview](/functions-and-operators/json-functions.md)
910910
- [Functions That Create JSON](/functions-and-operators/json-functions/json-functions-create.md)
@@ -925,7 +925,7 @@
925925
- [TiDB Specific Functions](/functions-and-operators/tidb-functions.md)
926926
- [Comparisons between Functions and Syntax of Oracle and TiDB](/oracle-functions-to-tidb.md)
927927
- [Clustered Indexes](/clustered-indexes.md)
928-
- [Vector Index](/vector-search-index.md)
928+
- [Vector Index](/vector-search/vector-search-index.md)
929929
- [Constraints](/constraints.md)
930930
- [Generated Columns](/generated-columns.md)
931931
- [SQL Mode](/sql-mode.md)

basic-features.md

+74
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ You can try out TiDB features on [TiDB Playground](https://play.tidbcloud.com/?u
2121
2222
## Data types, functions, and operators
2323

24+
<<<<<<< HEAD
2425
| Data types, functions, and operators | 8.4 | 8.3 | 8.2 | 8.1 | 7.5 | 7.1 | 6.5 | 6.1 | 5.4 | 5.3 | 5.2 | 5.1 |
2526
|---|:---:|:---:|:---:|:---:|:---:|:---:|:---:|:---:|:---:|:---:|:---:|:---:|
2627
| [Numeric types](/data-type-numeric.md) | Y | Y | Y | Y | Y | Y | Y | Y | Y | Y | Y | Y |
@@ -67,6 +68,54 @@ You can try out TiDB features on [TiDB Playground](https://play.tidbcloud.com/?u
6768
| [TiFlash late materialization](/tiflash/tiflash-late-materialization.md) | Y | Y | Y | Y | Y | Y | N | N | N | N | N | N |
6869
| [Global index](/partitioned-table.md#global-indexes) | Y | E | N | N | N | N | N | N | N | N | N | N |
6970
| [Vector index](/vector-search-index.md) | E | N | N | N | N | N | N | N | N | N | N | N |
71+
=======
72+
| Data types, functions, and operators | 8.5 | 8.1 | 7.5 | 7.1 | 6.5 | 6.1 | 5.4 | 5.3 | 5.2 | 5.1 |
73+
|---|:---:|:---:|:---:|:---:|:---:|:---:|:---:|:---:|:---:|:---:|
74+
| [Numeric types](/data-type-numeric.md) | Y | Y | Y | Y | Y | Y | Y | Y | Y | Y |
75+
| [Date and time types](/data-type-date-and-time.md) | Y | Y | Y | Y | Y | Y | Y | Y | Y | Y |
76+
| [String types](/data-type-string.md) | Y | Y | Y | Y | Y | Y | Y | Y | Y | Y |
77+
| [JSON type](/data-type-json.md) | Y | Y | Y | Y | Y | E | E | E | E | E |
78+
| [Vectort types](/vector-search/vector-search-data-types.md) | E | N | N | N | N | N | N | N | N | N |
79+
| [Control flow functions](/functions-and-operators/control-flow-functions.md) | Y | Y | Y | Y | Y | Y | Y | Y | Y | Y |
80+
| [String functions](/functions-and-operators/string-functions.md) | Y | Y | Y | Y | Y | Y | Y | Y | Y | Y |
81+
| [Numeric functions and operators](/functions-and-operators/numeric-functions-and-operators.md) | Y | Y | Y | Y | Y | Y | Y | Y | Y | Y |
82+
| [Date and time functions](/functions-and-operators/date-and-time-functions.md) | Y | Y | Y | Y | Y | Y | Y | Y | Y | Y |
83+
| [Bit functions and operators](/functions-and-operators/bit-functions-and-operators.md) | Y | Y | Y | Y | Y | Y | Y | Y | Y | Y |
84+
| [Cast functions and operators](/functions-and-operators/cast-functions-and-operators.md) | Y | Y | Y | Y | Y | Y | Y | Y | Y | Y |
85+
| [Encryption and compression functions](/functions-and-operators/encryption-and-compression-functions.md) | Y | Y | Y | Y | Y | Y | Y | Y | Y | Y |
86+
| [Vector functions and operators](/vector-search/vector-search-functions-and-operators.md) | E | N | N | N | N | N | N | N | N | N |
87+
| [Information functions](/functions-and-operators/information-functions.md) | Y | Y | Y | Y | Y | Y | Y | Y | Y | Y |
88+
| [JSON functions](/functions-and-operators/json-functions.md) | Y | Y | Y | Y | Y | E | E | E | E | E |
89+
| [Aggregation functions](/functions-and-operators/aggregate-group-by-functions.md) | Y | Y | Y | Y | Y | Y | Y | Y | Y | Y |
90+
| [Window functions](/functions-and-operators/window-functions.md) | Y | Y | Y | Y | Y | Y | Y | Y | Y | Y |
91+
| [Miscellaneous functions](/functions-and-operators/miscellaneous-functions.md) | Y | Y | Y | Y | Y | Y | Y | Y | Y | Y |
92+
| [Operators](/functions-and-operators/operators.md) | Y | Y | Y | Y | Y | Y | Y | Y | Y | Y |
93+
| [Character sets and collations](/character-set-and-collation.md) [^1] | Y | Y | Y | Y | Y | Y | Y | Y | Y | Y |
94+
| [User-level lock](/functions-and-operators/locking-functions.md) | Y | Y | Y | Y | Y | Y | N | N | N | N |
95+
96+
## Indexing and constraints
97+
98+
| Indexing and constraints | 8.5 | 8.1 | 7.5 | 7.1 | 6.5 | 6.1 | 5.4 | 5.3 | 5.2 | 5.1 |
99+
|---|:---:|:---:|:---:|:---:|:---:|:---:|:---:|:---:|:---:|:---:|
100+
| [Expression indexes](/sql-statements/sql-statement-create-index.md#expression-index) [^2] | Y | Y | Y | Y | Y | E | E | E | E | E |
101+
| [Columnar storage (TiFlash)](/tiflash/tiflash-overview.md) | Y | Y | Y | Y | Y | Y | Y | Y | Y | Y |
102+
| [Use FastScan to accelerate queries in OLAP scenarios](/tiflash/use-fastscan.md) | Y | Y | Y | Y | E | N | N | N | N | N |
103+
| [RocksDB engine](/storage-engine/rocksdb-overview.md) | Y | Y | Y | Y | Y | Y | Y | Y | Y | Y |
104+
| [Titan plugin](/storage-engine/titan-overview.md) | Y | Y | Y | Y | Y | Y | Y | Y | Y | Y |
105+
| [Titan Level Merge](/storage-engine/titan-configuration.md#level-merge-experimental) | E | E | E | E | E | E | E | E | E | E |
106+
| [Use buckets to improve scan concurrency](/tune-region-performance.md#use-bucket-to-increase-concurrency) | E | E | E | E | E | E | N | N | N | N |
107+
| [Invisible indexes](/sql-statements/sql-statement-create-index.md#invisible-index) | Y | Y | Y | Y | Y | Y | Y | Y | Y | Y |
108+
| [Composite `PRIMARY KEY`](/constraints.md) | Y | Y | Y | Y | Y | Y | Y | Y | Y | Y |
109+
| [`CHECK` constraints](/constraints.md#check) | Y | Y | Y | N | N | N | N | N | N | N |
110+
| [Unique indexes](/constraints.md) | Y | Y | Y | Y | Y | Y | Y | Y | Y | Y |
111+
| [Clustered index on integer `PRIMARY KEY`](/clustered-indexes.md) | Y | Y | Y | Y | Y | Y | Y | Y | Y | Y |
112+
| [Clustered index on composite or non-integer key](/clustered-indexes.md) | Y | Y | Y | Y | Y | Y | Y | Y | Y | Y |
113+
| [Multi-valued indexes](/sql-statements/sql-statement-create-index.md#multi-valued-indexes) | Y | Y | Y | Y | N | N | N | N | N | N |
114+
| [Foreign key](/foreign-key.md) | Y | E | E | E | N | N | N | N | N | N |
115+
| [TiFlash late materialization](/tiflash/tiflash-late-materialization.md) | Y | Y | Y | Y | N | N | N | N | N | N |
116+
| [Global index](/partitioned-table.md#global-indexes) | Y | N | N | N | N | N | N | N | N | N |
117+
| [Vector index](/vector-search/vector-search-index.md) | E | N | N | N | N | N | N | N | N | N |
118+
>>>>>>> 90b3b375f3 (*: add a vector-search directory and update links (#19893))
70119
71120
## SQL statements
72121

@@ -95,6 +144,7 @@ You can try out TiDB features on [TiDB Playground](https://play.tidbcloud.com/?u
95144

96145
## Advanced SQL features
97146

147+
<<<<<<< HEAD
98148
| Advanced SQL features | 8.4 | 8.3 | 8.2 | 8.1 | 7.5 | 7.1 | 6.5 | 6.1 | 5.4 | 5.3 | 5.2 | 5.1 |
99149
|---|:---:|:---:|:---:|:---:|:---:|:---:|:---:|:---:|:---:|:---:|:---:|:---:|
100150
| [Vector search](/vector-search-overview.md) | E | N | N | N | N | N | N | N | N | N | N | N |
@@ -117,6 +167,30 @@ You can try out TiDB features on [TiDB Playground](https://play.tidbcloud.com/?u
117167
| [Placement Rules in SQL](/placement-rules-in-sql.md) | Y | Y | Y | Y | Y | Y | Y | Y | E | E | N | N |
118168
| [Cascades Planner](/system-variables.md#tidb_enable_cascades_planner) | E | E | E | E | E | E | E | E | E | E | E | E |
119169
| [Runtime Filter](/runtime-filter.md) | Y | Y | Y | Y | Y | N | N | N | N | N | N | N |
170+
=======
171+
| Advanced SQL features | 8.5 | 8.1 | 7.5 | 7.1 | 6.5 | 6.1 | 5.4 | 5.3 | 5.2 | 5.1 |
172+
|---|:---:|:---:|:---:|:---:|:---:|:---:|:---:|:---:|:---:|:---:|
173+
| [Vector search](/vector-search/vector-search-overview.md) | E | N | N | N | N | N | N | N | N | N |
174+
| [Prepared statement cache](/sql-prepared-plan-cache.md) | Y | Y | Y | Y | Y | Y | Y | Y | E | E |
175+
| [Non-prepared statement cache](/sql-non-prepared-plan-cache.md) | Y | Y | Y | E | N | N | N | N | N | N |
176+
| [Instance-level execution plan cache](/system-variables.md#tidb_enable_instance_plan_cache-new-in-v840) | E | N | N | N | N | N | N | N | N | N |
177+
| [SQL binding](/sql-plan-management.md#sql-binding) | Y | Y | Y | Y | Y | Y | Y | Y | Y | Y |
178+
| [Cross-database binding](/sql-plan-management.md#cross-database-binding) | Y | Y | N | N | N | N | N | N | N | N |
179+
| [Create bindings according to historical execution plans](/sql-plan-management.md#create-a-binding-according-to-a-historical-execution-plan) | Y | Y | Y | Y | E | N | N | N | N | N |
180+
| [Coprocessor cache](/coprocessor-cache.md) | Y | Y | Y | Y | Y | Y | Y | Y | Y | Y |
181+
| [Stale Read](/stale-read.md) | Y | Y | Y | Y | Y | Y | Y | Y | Y | Y |
182+
| [Follower reads](/follower-read.md) | Y | Y | Y | Y | Y | Y | Y | Y | Y | Y |
183+
| [Read historical data (tidb_snapshot)](/read-historical-data.md) | Y | Y | Y | Y | Y | Y | Y | Y | Y | Y |
184+
| [Optimizer hints](/optimizer-hints.md) | Y | Y | Y | Y | Y | Y | Y | Y | Y | Y |
185+
| [MPP execution engine](/explain-mpp.md) | Y | Y | Y | Y | Y | Y | Y | Y | Y | Y |
186+
| [MPP execution engine - compression exchange](/explain-mpp.md#mpp-version-and-exchange-data-compression) | Y | Y | Y | Y | N | N | N | N | N | N |
187+
| [TiFlash Pipeline Model](/tiflash/tiflash-pipeline-model.md) | Y | Y | Y | N | N | N | N | N | N | N |
188+
| [TiFlash replica selection strategy](/system-variables.md#tiflash_replica_read-new-in-v730) | Y | Y | Y | N | N | N | N | N | N | N |
189+
| [Index Merge](/explain-index-merge.md) | Y | Y | Y | Y | Y | Y | Y | E | E | E |
190+
| [Placement Rules in SQL](/placement-rules-in-sql.md) | Y | Y | Y | Y | Y | Y | E | E | N | N |
191+
| [Cascades Planner](/system-variables.md#tidb_enable_cascades_planner) | E | E | E | E | E | E | E | E | E | E |
192+
| [Runtime Filter](/runtime-filter.md) | Y | Y | Y | N | N | N | N | N | N | N |
193+
>>>>>>> 90b3b375f3 (*: add a vector-search directory and update links (#19893))
120194
121195
## Data definition language (DDL)
122196

br/backup-and-restore-overview.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ Backup and restore might go wrong when some TiDB features are enabled or disable
117117
| Global temporary tables | | Make sure that you are using v5.3.0 or a later version of BR to back up and restore data. Otherwise, an error occurs in the definition of the backed global temporary tables. |
118118
| TiDB Lightning Physical Import| | If the upstream database uses the physical import mode of TiDB Lightning, data cannot be backed up in log backup. It is recommended to perform a full backup after the data import. For more information, see [When the upstream database imports data using TiDB Lightning in the physical import mode, the log backup feature becomes unavailable. Why?](/faq/backup-and-restore-faq.md#when-the-upstream-database-imports-data-using-tidb-lightning-in-the-physical-import-mode-the-log-backup-feature-becomes-unavailable-why).|
119119
| TiCDC | | BR v8.2.0 and later: if the target cluster to be restored has a changefeed and the changefeed [CheckpointTS](/ticdc/ticdc-architecture.md#checkpointts) is earlier than the BackupTS, BR does not perform the restoration. BR versions before v8.2.0: if the target cluster to be restored has any active TiCDC changefeeds, BR does not perform the restoration. |
120-
| Vector search | | Make sure that you are using v8.4.0 or a later version of BR to back up and restore data. Restoring tables with [vector data types](/vector-search-data-types.md) to TiDB clusters earlier than v8.4.0 is not supported. |
120+
| Vector search | | Make sure that you are using v8.4.0 or a later version of BR to back up and restore data. Restoring tables with [vector data types](/vector-search/vector-search-data-types.md) to TiDB clusters earlier than v8.4.0 is not supported. |
121121

122122
### Version compatibility
123123

releases/release-8.4.0.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -200,13 +200,13 @@ Quick access: [Quick start](https://docs.pingcap.com/tidb/v8.4/quick-start-with-
200200

201201
Vector search is a search method based on data semantics, which provides more relevant search results. As one of the core functions of AI and large language models (LLMs), vector search can be used in various scenarios such as Retrieval-Augmented Generation (RAG), semantic search, and recommendation systems.
202202

203-
Starting from v8.4.0, TiDB supports [vector data types](/vector-search-data-types.md) and [vector search indexes](/vector-search-index.md), offering powerful vector search capabilities. TiDB vector data types support up to 16,383 dimensions and support various [distance functions](/vector-search-functions-and-operators.md#vector-functions), including L2 distance (Euclidean distance), cosine distance, negative inner product, and L1 distance (Manhattan distance).
203+
Starting from v8.4.0, TiDB supports [vector data types](/vector-search/vector-search-data-types.md) and [vector search indexes](/vector-search/vector-search-index.md), offering powerful vector search capabilities. TiDB vector data types support up to 16,383 dimensions and support various [distance functions](/vector-search/vector-search-functions-and-operators.md#vector-functions), including L2 distance (Euclidean distance), cosine distance, negative inner product, and L1 distance (Manhattan distance).
204204

205205
To start vector search, you only need to create a table with vector data types, insert vector data, and then perform a query of vector data. You can also perform mixed queries of vector data and traditional relational data.
206206

207-
To enhance the performance of vector search, you can create and use [vector search indexes](/vector-search-index.md). Note that TiDB vector search indexes rely on TiFlash. Before using vector search indexes, make sure that TiFlash nodes are deployed in your TiDB cluster.
207+
To enhance the performance of vector search, you can create and use [vector search indexes](/vector-search/vector-search-index.md). Note that TiDB vector search indexes rely on TiFlash. Before using vector search indexes, make sure that TiFlash nodes are deployed in your TiDB cluster.
208208

209-
For more information, see [documentation](/vector-search-overview.md).
209+
For more information, see [documentation](/vector-search/vector-search-overview.md).
210210

211211
### DB operations
212212

0 commit comments

Comments
 (0)