Skip to content
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

Announce GA of memory control on stats cache #19226

Merged
merged 10 commits into from
Dec 9, 2024
8 changes: 8 additions & 0 deletions releases/release-7.4.0.md
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,14 @@ TiDB 版本:7.4.0

更多信息,请参考[用户文档](/system-variables.md#tidb_opt_enable_hash_join-从-v656v712-和-v740-版本开始引入)。

* 控制统计信息缓存成为正式功能 (GA) [#45367](https://github.com/pingcap/tidb/issues/45367) @[hawkingrei](https://github.com/hawkingrei)

从 v6.1.0 开始,引入了系统变量 [`tidb_stats_cache_mem_quota`](/system-variables.md#tidb_stats_cache_mem_quota-从-v610-版本开始引入),用于控制 TiDB 实例缓存表的统计信息,加速执行计划的生成,提升 SQL 执行性能。你可以通过设置该变量,控制统计信息缓存占用的内存上限。当统计信息缓存达到限额时,TiDB 会自动驱逐不活跃的缓存,从而控制实例内存使用,提升稳定性。
hfxsd marked this conversation as resolved.
Show resolved Hide resolved

从 v7.4.0 开始,控制统计信息缓存大小的功能成为正式功能 (GA)。
hfxsd marked this conversation as resolved.
Show resolved Hide resolved

更多信息,请参考[用户文档](/system-variables.md#tidb_stats_cache_mem_quota-从-v610-版本开始引入)。

### SQL 功能

* TiDB 支持完整的分区类型管理功能 [#42728](https://github.com/pingcap/tidb/issues/42728) @[mjonss](https://github.com/mjonss)
Expand Down
Loading