-
Notifications
You must be signed in to change notification settings - Fork 680
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
releases: add release notes for v8.4.0 #18829
Merged
Merged
Changes from 4 commits
Commits
Show all changes
109 commits
Select commit
Hold shift + click to select a range
e74c805
releases: add release notes for v8.4.0
Oreoxmt 248c152
Update release-8.4.0.md
benmeadowcroft d05fef6
update client-side log backup, BR reduces requires storage permission…
Oreoxmt e6766c3
Update releases/release-8.4.0.md
hfxsd fd38263
Update releases/release-8.4.0.md
hfxsd d433b0c
Apply suggestions from code review
hfxsd 95b7f2e
Apply suggestions from code review
hfxsd c38c9e4
update TiProxy traffic replay
Oreoxmt 842af14
Update releases/release-8.4.0.md
hfxsd 2ada230
add Instance-level execution plan cache
Oreoxmt 31cb7fa
Update release-8.4.0.md
benmeadowcroft f0bbf31
update TiCDC and removal of TiDB Binlog
Oreoxmt 6707391
Apply suggestions from code review
hfxsd d246991
Update feature highlights
lilin90 e5331ec
Update release-8.4.0.md
lilin90 55fcebc
Update release-8.4.0.md
lilin90 c9afc5f
update BR reduces storage permission for restores, TiCDC Claim-Check,…
Oreoxmt 1f997f4
Apply suggestions from code review
qiancai 07b9178
add link for highlights and update improvements
Oreoxmt aeb29e4
fix HTML table
Oreoxmt 6a313f9
fix HTML table
Oreoxmt 2bea170
Add more descriptions
lilin90 c7bc219
add translation of new features
qiancai d7e16a3
add translation for BR highlights
qiancai 6be2f6d
Update TiDB Binlog removal
lilin90 0793443
add GitHub issue link for automatic statistics collection
Oreoxmt 858595f
Remove foreign key GA
lilin90 bcf3e86
wording updates
qiancai 3675a62
Apply suggestions from code review
hfxsd a7cb901
Apply suggestions from code review
hfxsd ee4b865
Update wording
lilin90 424e941
Apply suggestions from code review
lilin90 10a6495
Apply suggestions from code review
lilin90 cdcd682
Update releases/release-8.4.0.md
qiancai cac1db3
Refine descriptions
lilin90 21d5e7a
Update rowspan to fix format
lilin90 d16fab5
Add one highlight
lilin90 9516711
add a contributor for vector search
Oreoxmt afd91e4
align with Chinese
Oreoxmt 3f64d28
Update releases/release-8.4.0.md
qiancai 7675436
Apply suggestions from code review
qiancai 3b5e9ec
Apply suggestions from code review
Oreoxmt d60d449
fix Checksum V2
Oreoxmt e1d2129
Apply suggestions from code review
Oreoxmt 3653bd5
Apply suggestions from code review
qiancai 2677e3b
Remove description for gb18030
lilin90 cd8dec1
compatibility changes: tidb_enable_inl_join_inner_multi_pattern, tidb…
Oreoxmt c12d361
Add more removed system variables and parameters
lilin90 c9423d7
Update wording
lilin90 4704aa7
Add parameter "logical-import-prep-stmt"
lilin90 be80d65
add improvement and bug fix
Oreoxmt b2d6296
update removed and deprecated features
Oreoxmt 140d4a9
Apply suggestions from code review
qiancai f05c933
update descriptions of tidb_tso_client_rpc_mode
qiancai f2c867b
Update releases/release-8.4.0.md
qiancai f5f7ba1
add compatibility changes for tidb_tso_client_rpc_mode
qiancai d00d204
add compatibility changes for BR log backup
qiancai 3e387b5
Update releases/release-8.4.0.md
qiancai a01a7fa
Add binary changes
lilin90 838ebbc
update the description for storage.format_version
qiancai a751e1a
add compatibility changes for cert-allowed-cn
qiancai d674189
Apply suggestions from code review
hfxsd 1fdba45
Apply suggestions from code review
hfxsd 00590e0
Apply suggestions from code review
hfxsd a3e86de
translate TiKV, PD, and TiFlash improvements + TiFlash bug fixes
qiancai 8c87871
Apply suggestions from code review
hfxsd ae80887
compatibility changes: sort lines
Oreoxmt 4646f3a
update improvements > TiDB and bug fixes > BR, TiDB Lightning
Oreoxmt 4956ce6
Apply suggestions from code review
hfxsd 1931bd6
Update bug fixes
lilin90 2613ae6
Update format
lilin90 8f1d082
releases: add 13 bug fixes
lilin90 7d83563
Apply suggestions from code review
lilin90 1e822ee
Apply suggestions from code review
qiancai ad81810
Apply suggestions from code review
lilin90 7b7a1f1
Apply suggestions from code review
Oreoxmt 4205b14
Apply suggestions from code review
hfxsd 0b101bb
Update links
lilin90 79410d4
remove empty notes
Oreoxmt bfc839f
Merge branch 'master' into v8.4.0/release-notes
Oreoxmt 067a8b8
remove Behavior changes and deprecated features in v8.4.0
Oreoxmt 4aa2fb5
update dup for improvements and bug fixes
Oreoxmt 65c08e5
Merge branch 'master' into v8.4.0/release-notes
Oreoxmt b216201
add Contributors
Oreoxmt 5679df2
Update wording and parameter order
lilin90 a3217bf
fix a broken link
Oreoxmt 9420ec5
make ci happy
Oreoxmt ee9dd3a
make ci happy
Oreoxmt e98e2f1
move vector search improvements to new features section
Oreoxmt e2038e5
update instance-level plan cache
Oreoxmt 2b33262
- update TSO RPC mode
Oreoxmt cd8d355
update release date, fix format
Oreoxmt 95c16f7
release notes: remove comments
Oreoxmt 8d20cd5
update TOC.md, release-timeline.md, release-notes.md, README.md
Oreoxmt 3bf9042
Apply suggestions from code review
hfxsd d663eaa
Update releases/release-8.4.0.md
hfxsd 7a749c2
update release date
Oreoxmt 35f5ff4
update release date
Oreoxmt 35e47b1
Merge branch 'v8.4.0/release-notes' into remove-comments-in-release-n…
Oreoxmt 5779aa1
Merge pull request #7 from Oreoxmt/remove-comments-in-release-notes
Oreoxmt 48672bb
Apply suggestions from code review
Oreoxmt 9641249
fix format
Oreoxmt f15c0f9
fix the format of deprecated features
Oreoxmt a1fb1d7
fix typo "tiproxyctrl"
Oreoxmt 03db660
remove duplicated "the"
Oreoxmt ece425d
highlight: fix format
Oreoxmt 5e32654
remove empty list
Oreoxmt acdb8e0
Apply suggestions from code review
Oreoxmt 0db0413
Update wording
lilin90 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,230 @@ | ||
--- | ||
title: TiDB 8.4.0 Release Notes | ||
summary: Learn about the new features, compatibility changes, improvements, and bug fixes in TiDB 8.4.0. | ||
--- | ||
|
||
# TiDB 8.4.0 Release Notes | ||
|
||
Release date: xx xx, 2024 | ||
|
||
TiDB version: 8.4.0 | ||
|
||
Quick access: [Quick start](https://docs.pingcap.com/tidb/v8.4/quick-start-with-tidb) | ||
|
||
8.4.0 introduces the following key features and improvements: | ||
|
||
hfxsd marked this conversation as resolved.
Show resolved
Hide resolved
|
||
## Feature details | ||
|
||
### Scalability | ||
|
||
* Feature summary [#issue-number](issue-link) @[pr-auorthor-id](author-link) | ||
|
||
Feature descriptions (including what the feature is, why it is valuable for users, and how to use this feature generally) | ||
|
||
For more information, see [documentation](doc-link). | ||
|
||
### Performance | ||
|
||
* Feature summary [#issue-number](issue-link) @[pr-auorthor-id](author-link) | ||
|
||
Feature descriptions (including what the feature is, why it is valuable for users, and how to use this feature generally) | ||
|
||
For more information, see [documentation](doc-link). | ||
|
||
hfxsd marked this conversation as resolved.
Show resolved
Hide resolved
qiancai marked this conversation as resolved.
Show resolved
Hide resolved
|
||
* The performance of batch user creation and password changes has been improved by hundreds of times [#55604](https://github.com/pingcap/tidb/pull/55604) @[wjhuang2016](https://github.com/wjhuang2016) **tw@hfxsd** <!--1941--> | ||
|
||
In SaaS scenarios, you might need to batch-create a large number of users, rotate passwords periodically, and complete these tasks within a specific time window. Starting from v8.4.0, the performance of batch user creation and password rotation has been significantly improved. Additionally, you can further enhance performance by increasing concurrency through a higher number of session connections, which greatly reduces execution time for these operations. | ||
Check warning on line 36 in releases/release-8.4.0.md GitHub Actions / vale
|
||
hfxsd marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
||
* Partitioned tables support global indexes (GA) [#45133](https://github.com/pingcap/tidb/issues/45133) @[mjonss](https://github.com/mjonss) @[Defined2014](https://github.com/Defined2014) @[jiyfhust](https://github.com/jiyfhust) @[L-maple](https://github.com/L-maple) | ||
hfxsd marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
||
In previous versions of partitioned tables, some limitations exist because global indexes are not supported. For example, the unique key must use every column in the table's partitioning expression. If the query condition does not use the partitioning key, the query will scan all partitions, resulting in poor performance. Starting from v7.6.0, the system variable [`tidb_enable_global_index`](/system-variables.md#tidb_enable_global_index-new-in-v760) is introduced to enable the global index feature. But this feature was under development at that time and it is not recommended to enable it. | ||
hfxsd marked this conversation as resolved.
Show resolved
Hide resolved
lilin90 marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
||
Starting with v8.3.0, the global index feature is released as an experimental feature. You can explicitly create a global index for a partitioned table with the keyword `Global` to remove the restriction that the unique key must use every column in the table's partitioning expression, to meet flexible business needs. Global indexes also enhance the performance of queries that do not include partition keys. | ||
lilin90 marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
||
In v8.4.0, this feature becomes generally available (GA). | ||
hfxsd marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
||
For more information, see [documentation](/partitioned-table.md#global-indexes). | ||
|
||
* Optimize query performance for cached tables in some scenarios [#43249](https://github.com/pingcap/tidb/issues/43249) @[tiancaiamao](https://github.com/tiancaiamao) **tw@hfxsd** <!--1965--> | ||
|
||
Optimize query performance on cached tables by up to 5. 4 times when using `IndexLookup` to execute `SELECT ... LIMIT 1` with `IndexLookup`. Improve the performance of `IndexLookupReader` in full table scan and primary key query scenarios. | ||
hfxsd marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
||
### Reliability | ||
|
||
* Feature summary [#issue-number](issue-link) @[pr-auorthor-id](author-link) | ||
|
||
Feature descriptions (including what the feature is, why it is valuable for users, and how to use this feature generally) | ||
|
||
For more information, see [documentation](doc-link). | ||
|
||
hfxsd marked this conversation as resolved.
Show resolved
Hide resolved
|
||
### Availability | ||
|
||
* Feature summary [#issue-number](issue-link) @[pr-auorthor-id](author-link) | ||
|
||
Feature descriptions (including what the feature is, why it is valuable for users, and how to use this feature generally) | ||
|
||
For more information, see [documentation](doc-link). | ||
|
||
### SQL | ||
|
||
* Feature summary [#issue-number](issue-link) @[pr-auorthor-id](author-link) | ||
|
||
Feature descriptions (including what the feature is, why it is valuable for users, and how to use this feature generally) | ||
|
||
For more information, see [documentation](doc-link). | ||
|
||
qiancai marked this conversation as resolved.
Show resolved
Hide resolved
|
||
### DB operations | ||
|
||
* PITR adds client-side log backup data encryption support (experimental) [55834](https://github.com/pingcap/tidb/issues/55834) @[Tristan1900](https://github.com/Tristan1900) **tw@qiancai** <!--1920--> | ||
|
||
Previously only the data from a snapshot based backup could be encrypted (on the client side) with a data key provided by the user. With this feature, log backups may now also be encrypted, ensuring that the confidentiality of information within the backup data is secured. | ||
|
||
For more information, see [documentation](doc-link). | ||
qiancai marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
||
* BR reduces requires storage permissions for restores [#55870](https://github.com/pingcap/tidb/issues/55870) @[Leavrth](https://github.com/Leavrth) **tw@Oreoxmt** <!--1943--> | ||
|
||
Previously, when BR was restoring data, checkpoint information about the progress of the restore was recorded in the location hosting the backup data. These restore checkpoints enabled restoration to be quickly resumed if it was interrupted. With this feature, the restore checkpoints are now stored in the target TiDB cluster. This means that BR only requires read access to the backup dataset location for restores. | ||
|
||
For more information, see [documentation](doc-link). | ||
|
||
* Feature summary [#issue-number](issue-link) @[pr-auorthor-id](author-link) | ||
|
||
Feature descriptions (including what the feature is, why it is valuable for users, and how to use this feature generally) | ||
|
||
For more information, see [documentation](doc-link). | ||
|
||
### Observability | ||
|
||
* Feature summary [#issue-number](issue-link) @[pr-auorthor-id](author-link) | ||
|
||
Feature descriptions (including what the feature is, why it is valuable for users, and how to use this feature generally) | ||
|
||
For more information, see [documentation](doc-link). | ||
hfxsd marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
||
### Security | ||
|
||
* TiDB BR Supports AWS IMDSv2 [#16443](https://github.com/tikv/tikv/issues/16443) @[pingyu](https://github.com/pingyu) **tw@hfxsd** <!--1945--> | ||
|
||
TiDB BR now supports AWS's Instance Metadata Service Version 2 (IMDSv2) when deployed on AWS EC2. This enables users to configure the newer session-oriented method on their EC2 instances, and for BR to be able to successfully use the IAM Role associated with the instance to access AWS S3 with the appropriate privileges. | ||
|
||
For more information, see [documentation](/backup-and-restore-storages#authentication). | ||
hfxsd marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
||
* Feature summary [#issue-number](issue-link) @[pr-auorthor-id](author-link) | ||
|
||
Feature descriptions (including what the feature is, why it is valuable for users, and how to use this feature generally) | ||
|
||
For more information, see [documentation](doc-link). | ||
|
||
### Data migration | ||
|
||
* Feature summary [#issue-number](issue-link) @[pr-auorthor-id](author-link) | ||
|
||
Feature descriptions (including what the feature is, why it is valuable for users, and how to use this feature generally) | ||
|
||
For more information, see [documentation](doc-link). | ||
|
||
## Compatibility changes | ||
|
||
> **Note:** | ||
> | ||
> This section provides compatibility changes you need to know when you upgrade from v8.3.0 to the current version (v8.4.0). If you are upgrading from v8.2.0 or earlier versions to the current version, you might also need to check the compatibility changes introduced in intermediate versions. | ||
|
||
Oreoxmt marked this conversation as resolved.
Show resolved
Hide resolved
Oreoxmt marked this conversation as resolved.
Show resolved
Hide resolved
|
||
### Behavior changes | ||
|
||
* Behavior change | ||
|
||
### System variables | ||
|
||
| Variable name | Change type | Description | | ||
|--------|------------------------------|------| | ||
| | | | | ||
hfxsd marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| | | | | ||
hfxsd marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| | | | | ||
hfxsd marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| | | | | ||
|
||
### Configuration file parameters | ||
|
||
| Configuration file | Configuration parameter | Change type | Description | | ||
| -------- | -------- | -------- | -------- | | ||
hfxsd marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| | | | | | ||
| | | | | | ||
| | | | | | ||
| | | | | | ||
|
||
qiancai marked this conversation as resolved.
Show resolved
Hide resolved
|
||
### System tables | ||
|
||
## Offline package changes | ||
|
||
## Deprecated features | ||
|
||
* The following features are deprecated starting from v8.4.0: | ||
|
||
* Deprecated feature | ||
|
||
* The following features are planned for deprecation in future versions: | ||
|
||
* TiDB introduces the system variable [`tidb_enable_auto_analyze_priority_queue`](/system-variables.md#tidb_enable_auto_analyze_priority_queue-new-in-v800), which controls whether priority queues are enabled to optimize the ordering of tasks that automatically collect statistics. In future releases, the priority queue will be the only way to order tasks for automatically collecting statistics, so this system variable will be deprecated. | ||
* TiDB introduces the system variable [`tidb_enable_async_merge_global_stats`](/system-variables.md#tidb_enable_async_merge_global_stats-new-in-v750) in v7.5.0. You can use it to set TiDB to use asynchronous merging of partition statistics to avoid OOM issues. In future releases, partition statistics will be merged asynchronously, so this system variable will be deprecated. | ||
* It is planned to redesign [the automatic evolution of execution plan bindings](/sql-plan-management.md#baseline-evolution) in subsequent releases, and the related variables and behavior will change. | ||
* In v8.0.0, TiDB introduces the [`tidb_enable_parallel_hashagg_spill`](/system-variables.md#tidb_enable_parallel_hashagg_spill-new-in-v800) system variable to control whether TiDB supports disk spill for the concurrent HashAgg algorithm. In future versions, the [`tidb_enable_parallel_hashagg_spill`](/system-variables.md#tidb_enable_parallel_hashagg_spill-new-in-v800) system variable will be deprecated. | ||
* The TiDB Lightning parameter [`conflict.max-record-rows`](/tidb-lightning/tidb-lightning-configuration.md#tidb-lightning-task) is planned for deprecation in a future release and will be subsequently removed. This parameter will be replaced by [`conflict.threshold`](/tidb-lightning/tidb-lightning-configuration.md#tidb-lightning-task), which means that the maximum number of conflicting records is consistent with the maximum number of conflicting records that can be tolerated in a single import task. | ||
|
||
hfxsd marked this conversation as resolved.
Show resolved
Hide resolved
|
||
* The following features are planned for removal in future versions: | ||
|
||
* Starting from v8.0.0, TiDB Lightning deprecates the [old version of conflict detection](/tidb-lightning/tidb-lightning-physical-import-mode-usage.md#the-old-version-of-conflict-detection-deprecated-in-v800) strategy for the physical import mode, and enables you to control the conflict detection strategy for both logical and physical import modes via the [`conflict.strategy`](/tidb-lightning/tidb-lightning-configuration.md#tidb-lightning-task) parameter. The [`duplicate-resolution`](/tidb-lightning/tidb-lightning-configuration.md) parameter for the old version of conflict detection will be removed in a future release. | ||
|
||
## Improvements | ||
|
||
+ TiDB | ||
|
||
hfxsd marked this conversation as resolved.
Show resolved
Hide resolved
|
||
+ TiKV | ||
|
||
hfxsd marked this conversation as resolved.
Show resolved
Hide resolved
|
||
+ PD | ||
|
||
qiancai marked this conversation as resolved.
Show resolved
Hide resolved
|
||
+ TiFlash | ||
|
||
+ Tools | ||
|
||
+ Backup & Restore (BR) | ||
|
||
+ TiCDC | ||
|
||
+ TiDB Data Migration (DM) | ||
|
||
+ TiDB Lightning | ||
|
||
+ Dumpling | ||
|
||
+ TiUP | ||
|
||
+ TiDB Binlog | ||
|
||
## Bug fixes | ||
|
||
+ TiDB | ||
|
||
+ TiKV | ||
|
||
+ PD | ||
|
||
+ TiFlash | ||
|
||
+ Tools | ||
|
||
+ Backup & Restore (BR) | ||
|
||
+ TiCDC | ||
|
||
+ TiDB Data Migration (DM) | ||
|
||
+ TiDB Lightning | ||
|
||
+ Dumpling | ||
|
||
+ TiUP | ||
|
||
+ TiDB Binlog | ||
|
||
## Contributors | ||
|
||
We would like to thank the following contributors from the TiDB community: |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
preview: https://pingcap-docsite-preview-git-v84-preview-oreoxmts-projects.vercel.app/tidb/dev/release-8.4.0