Skip to content

[WIP] add release notes v9.0.0 #20035

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

Open
wants to merge 51 commits into
base: preview-release-notes
Choose a base branch
from

Conversation

hfxsd
Copy link
Collaborator

@hfxsd hfxsd commented Mar 12, 2025

First-time contributors' checklist

What is changed, added or deleted? (Required)

Which TiDB version(s) do your changes apply to? (Required)

Tips for choosing the affected version(s):

By default, CHOOSE MASTER ONLY so your changes will be applied to the next TiDB major or minor releases. If your PR involves a product feature behavior change or a compatibility change, CHOOSE THE AFFECTED RELEASE BRANCH(ES) AND MASTER.

For details, see tips for choosing the affected versions (in Chinese).

  • master (the latest development version)
  • v9.0 (TiDB 9.0 versions)
  • v8.5 (TiDB 8.5 versions)
  • v8.4 (TiDB 8.4 versions)
  • v8.3 (TiDB 8.3 versions)
  • v8.1 (TiDB 8.1 versions)
  • v7.5 (TiDB 7.5 versions)
  • v7.1 (TiDB 7.1 versions)
  • v6.5 (TiDB 6.5 versions)
  • v6.1 (TiDB 6.1 versions)
  • v5.4 (TiDB 5.4 versions)

What is the related PR or file link(s)?

  • This PR is translated from:
  • Other reference link(s):

Do your changes match any of the following descriptions?

  • Delete files
  • Change aliases
  • Need modification after applied to another branch
  • Might cause conflicts after applied to another branch

@hfxsd hfxsd self-assigned this Mar 12, 2025
@ti-chi-bot ti-chi-bot bot added the contribution This PR is from a community contributor. label Mar 12, 2025
@ti-chi-bot ti-chi-bot bot added missing-translation-status This PR does not have translation status info. size/L Denotes a PR that changes 100-499 lines, ignoring generated files. labels Mar 12, 2025
@hfxsd hfxsd added translation/doing This PR’s assignee is translating this PR. and removed contribution This PR is from a community contributor. size/L Denotes a PR that changes 100-499 lines, ignoring generated files. labels Mar 12, 2025
@ti-chi-bot ti-chi-bot bot removed the missing-translation-status This PR does not have translation status info. label Mar 12, 2025
@hfxsd hfxsd added do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. v9.0-beta.1 This PR/issue applies to TiDB v9.0-beta.1. labels Mar 12, 2025
@ti-chi-bot ti-chi-bot bot added the size/L Denotes a PR that changes 100-499 lines, ignoring generated files. label Mar 18, 2025
@ti-chi-bot ti-chi-bot bot added size/XL Denotes a PR that changes 500-999 lines, ignoring generated files. and removed size/L Denotes a PR that changes 100-499 lines, ignoring generated files. labels Mar 19, 2025
@Oreoxmt
Copy link
Collaborator

Oreoxmt commented Mar 21, 2025

/cc @Oreoxmt

@ti-chi-bot ti-chi-bot bot requested a review from Oreoxmt March 21, 2025 03:46
Copy link

ti-chi-bot bot commented Apr 8, 2025

@hfxsd: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
pull-verify a11e76c link true /test pull-verify

Full PR test history. Your PR dashboard.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.

Copy link

ti-chi-bot bot commented Apr 9, 2025

@songrijie: adding LGTM is restricted to approvers and reviewers in OWNERS files.

In response to this:

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

@hfxsd hfxsd changed the base branch from master to preview-release-notes April 11, 2025 03:17
Copy link

ti-chi-bot bot commented Apr 14, 2025

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
Once this PR has been reviewed and has the lgtm label, please ask for approval from hfxsd, ensuring that each of them provides their approval before proceeding. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

Oreoxmt and others added 2 commits April 15, 2025 14:53
Co-authored-by: Grace Cai <qqzczy@126.com>
Co-authored-by: Grace Cai <qqzczy@126.com>
Comment on lines +56 to +60
* `MAX`
* `MIN`
* `COUNT`
* `SUM`
* `AVG`
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
* `MAX`
* `MIN`
* `COUNT`
* `SUM`
* `AVG`
* `MAX()`
* `MIN()`
* `COUNT()`
* `SUM()`
* `AVG()`

Comment on lines +78 to +79
- 如果升级前未指定过 [`format_version`](/tiflash/tiflash-configuration.md#format_version),升级后 TiFlash 默认采用新的存储格式。
- 如果升级前指定过 [`format_version`](/tiflash/tiflash-configuration.md#format_version),升级后 `format_version` 的值保持不变, TiFlash 会继续使用 `format_version` 指定的存储格式。此时如需启用新的存储格式,请在 TiFlash 配置文件中将 `format_version` 设置为 `8`。配置生效后,新写入 TiFlash 的数据将采用新的存储格式,而现有数据的存储格式则不受影响。
Copy link
Collaborator

@Oreoxmt Oreoxmt Apr 16, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
- 如果升级前未指定过 [`format_version`](/tiflash/tiflash-configuration.md#format_version),升级后 TiFlash 默认采用新的存储格式。
- 如果升级前指定过 [`format_version`](/tiflash/tiflash-configuration.md#format_version),升级后 `format_version` 的值保持不变, TiFlash 会继续使用 `format_version` 指定的存储格式。此时如需启用新的存储格式,请在 TiFlash 配置文件中将 `format_version` 设置为 `8`。配置生效后,新写入 TiFlash 的数据将采用新的存储格式,而现有数据的存储格式则不受影响。
- 如果升级前未指定过 [`format_version`](/tiflash/tiflash-configuration.md#format_version),升级后 TiFlash 默认采用新的存储格式。
- 如果升级前指定过 [`format_version`](/tiflash/tiflash-configuration.md#format_version),升级后 `format_version` 的值保持不变,TiFlash 会继续使用 `format_version` 指定的存储格式。此时如需启用新的存储格式,请在 TiFlash 配置文件中将 `format_version` 设置为 `8`。配置生效后,新写入 TiFlash 的数据将采用新的存储格式,而现有数据的存储格式则不受影响。


* TiFlash 支持新的存储格式以提升字符串类型扫描效率 [#9673](https://github.com/pingcap/tiflash/issues/9673) @[JinheLin](https://github.com/JinheLin) **tw@qiancai**<!--2066-->

在 v9.0.0 版本之前,TiFlash 存储字符串类型数据的格式在扫描时需要逐行读取,因此对于长度较小的字符串数据,扫描效率不高。在 v9.0.0 中,TiFlash 引入了新的存储格式,针对字符串格式数据的存储进行了优化,提升了长度小于 64 字节的字符串数据扫描效率,且不会影响其他数据的存储和扫描性能。
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
在 v9.0.0 版本之前,TiFlash 存储字符串类型数据的格式在扫描时需要逐行读取,因此对于长度较小的字符串数据,扫描效率不高。在 v9.0.0 中,TiFlash 引入了新的存储格式,针对字符串格式数据的存储进行了优化,提升了长度小于 64 字节的字符串数据扫描效率,且不会影响其他数据的存储和扫描性能。
在 v9.0.0 版本之前,TiFlash 存储字符串类型数据的格式在扫描时需要逐行读取,导致短字符串的扫描效率较低。在 v9.0.0 中,TiFlash 引入了新的存储格式,针对字符串格式数据的存储进行了优化,提升了长度小于 64 字节的字符串数据的扫描效率,且不会影响其他数据的存储和扫描性能。


* 支持对分区表的非唯一列创建全局索引 [#58650](https://github.com/pingcap/tidb/issues/58650) @[Defined2014](https://github.com/Defined2014) @[mjonss](https://github.com/mjonss) **tw@qiancai**<!--2057-->

从 v8.3.0 开始,TiDB 支持用户在分区表的唯一列上创建全局索引以提高查询性能,但不支持在非唯一列上创建全局索引。从 v9.0 版本起,TiDB 取消了这一限制,允许用户在分区表的非唯一列上创建全局索引,提升了全局索引的易用性。
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
从 v8.3.0 开始,TiDB 支持用户在分区表的唯一列上创建全局索引以提高查询性能,但不支持在非唯一列上创建全局索引。从 v9.0 版本起,TiDB 取消了这一限制,允许用户在分区表的非唯一列上创建全局索引,提升了全局索引的易用性。
从 v8.3.0 开始,TiDB 支持用户在分区表的唯一列上创建全局索引以提高查询性能,但不支持在非唯一列上创建全局索引。从 v9.0.0 起,TiDB 取消了这一限制,允许用户在分区表的非唯一列上创建全局索引,提升了全局索引的易用性。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. size/XL Denotes a PR that changes 500-999 lines, ignoring generated files. translation/doing This PR’s assignee is translating this PR. v9.0-beta.1 This PR/issue applies to TiDB v9.0-beta.1.
Projects
None yet
Development

Successfully merging this pull request may close these issues.