diff --git a/releases/release-8.5.0.md b/releases/release-8.5.0.md
new file mode 100644
index 0000000000000..862cb6a3b06de
--- /dev/null
+++ b/releases/release-8.5.0.md
@@ -0,0 +1,405 @@
+---
+title: TiDB 8.5.0 Release Notes
+summary: Learn about the new features, compatibility changes, improvements, and bug fixes in TiDB 8.5.0.
+---
+
+# TiDB 8.5.0 Release Notes
+
+
Category | +Feature/Enhancement | +Description | +
---|---|---|
Scalability and Performance | +Reduce data processing latency in multiple dimensions **tw@qiancai** | +TiDB continuously refines data processing to improve performance, effectively meeting the low-latency SQL processing requirements in financial scenarios. Key updates include:
+ |
+
Use Active PD Followers to enhance PD's Region information query service (GA in v8.5.0) **tw@Oreoxmt 2015** | +TiDB v7.6.0 introduces an experimental feature "Active PD Follower", which allows PD followers to provide Region information query services. This feature improves the capability of the PD cluster to handle GetRegion and ScanRegions requests in clusters with a large number of TiDB nodes and Regions, thereby reducing the CPU pressure on PD leaders. In v8.5.0, this feature becomes generally available (GA). |
+ |
Instance-level execution plan cache (experimental, introduced in v8.4.0) | +Instance-level plan cache allows all sessions within the same TiDB instance to share the plan cache. Compared with session-level plan cache, this feature reduces SQL compilation time by caching more execution plans in memory, decreasing overall SQL execution time. It improves OLTP performance and throughput while providing better control over memory usage and enhancing database stability. | +|
Global indexes for partitioned tables (GA in v8.4.0) | +Global indexes can effectively improve the efficiency of retrieving non-partitioned columns, and remove the restriction that a unique key must contain the partition key. This feature extends the usage scenarios of TiDB partitioned tables, and avoids some of the application modification work required for data migration. | +|
Default pushdown of the Projection operator to the storage engine (introduced in v8.3.0) |
+ Pushing the Projection operator down to the storage engine can distribute the load across storage nodes while reducing data transfer between nodes. This optimization helps to reduce the execution time for certain SQL queries and improves the overall database performance. |
+ |
Ignoring unnecessary columns when collecting statistics (introduced in v8.3.0) | +Under the premise of ensuring that the optimizer can obtain the necessary information, TiDB speeds up statistics collection, improves the timeliness of statistics, and thus ensures that the optimal execution plan is selected, improving the performance of the cluster. Meanwhile, TiDB also reduces the system overhead and improves the resource utilization. | +|
Reliability and availability | +Improve the stability of large-scale clusters **tw@hfxsd 1976** | +Companies that use TiDB to run multi-tenant or SaaS applications often need to store a large number of tables. In v8.5.0, TiDB significantly enhances the stability of large-scale clusters. Schema cache control and setting the memory quota for the TiDB statistics cache are generally available (GA), reducing stability issues caused by excessive memory consumption. PD introduces Active Follower to handle the pressure brought by numerous Regions, and gradually decouples the services handled by PD for independent deployment. You can increase concurrency and reduce the number of collected objects to improve the efficiency of statistics collection and loading, ensuring the stability of execution plans in large clusters. | +
Support more triggers for runaway queries, and support switching resource groups (introduced in v8.4.0) | +Runaway Queries offer an effective way to mitigate the impact of unexpected SQL performance issues on systems. TiDB v8.4.0 introduces the number of keys processed by the Coprocessor (PROCESSED_KEYS ) and request units (RU ) as identifying conditions, and puts identified queries into the specified resource group for more precise identification and control of runaway queries. |
+ |
Support setting the maximum limit on resource usage for background tasks of resource control (experimental, introduced in v8.4.0) | +By setting a maximum percentage limit on background tasks of resource control, you can control their resource consumption based on the needs of different application systems. This keeps background task consumption at a low level and ensures the quality of online services. | +|
Enhance and expand TiProxy use cases **tw@Oreoxmt** | +As a crucial component of the high availability of TiDB, TiProxy extends its capabilities beyond SQL traffic access and forwarding to support cluster change evaluation. Key features include:
+ |
+ |
The parallel HashAgg algorithm of TiDB supports disk spill (GA in v8.2.0) | +HashAgg is a widely used aggregation operator in TiDB for efficiently aggregating rows with the same field values. TiDB v8.0.0 introduces parallel HashAgg as an experimental feature to further enhance processing speed. When memory resources are insufficient, parallel HashAgg spills temporary sorted data to disk, avoiding potential OOM risks caused by excessive memory usage. This improves query performance while maintaining node stability. In v8.2.0, this feature becomes generally available (GA) and is enabled by default, enabling you to safely configure the concurrency of parallel HashAgg using tidb_executor_concurrency . |
+ |
SQL | +Foreign key (GA in v8.5.0) **tw@lilin90 1894** | +Foreign keys are constraints in a database that establish relationships between tables, ensuring data consistency and integrity. They ensure that the data referenced in a child table exist in the parent table, preventing the insertion of invalid data. Foreign keys also support cascading operations (such as automatic synchronization during deletion or update), simplifying business logic implementation and reducing the complexity of manually maintaining data relationships. | +
Vector search (experimental, introduced in v8.4.0) | +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. | +|
DB Operations and Observability | +Display TiKV and TiDB CPU times in memory tables (introduced in v8.4.0) | +The CPU time is now integrated into a system table, displayed alongside other metrics for sessions or SQL, letting you observe high CPU consumption operations from multiple perspectives, and improving diagnostic efficiency. This is especially useful for diagnosing scenarios such as CPU spikes in instances or read/write hotspots in clusters. | +
Support viewing aggregated TiKV CPU time by table or database (introduced in v8.4.0) | +When hotspot issues are not caused by individual SQL statements, using the aggregated CPU time by table or database level in Top SQL can help you quickly identify the tables or applications responsible for the hotspots, significantly improving the efficiency of diagnosing hotspot and CPU consumption issues. | +|
Support backing up TiKV instances with IMDSv2 service enabled (introduced in v8.4.0) | +AWS EC2 now uses IMDSv2 as the default metadata service. TiDB supports backing up data from TiKV instances that have IMDSv2 enabled, helping you run TiDB clusters more effectively in public cloud services. | +|
Security | +Client-side encryption of snapshot backup data and log backup data (GA in v8.5.0)**tw@qiancai 1998** | +Before uploading backup data to your backup storage, you can encrypt the backup data to ensure its security during storage and transmission. | +