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 #19604

Merged
merged 10 commits into from
Dec 9, 2024
6 changes: 6 additions & 0 deletions releases/release-7.4.0.md
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,12 @@ Quick access: [Quick start](https://docs.pingcap.com/tidb/v7.4/quick-start-with-

For more information, see [documentation](/system-variables.md#tidb_opt_enable_hash_join-new-in-v656-v712-and-v740).

* Memory control on statistics cache is generally available [#45367](https://github.com/pingcap/tidb/issues/45367) @[hawkingrei](https://github.com/hawkingrei)

TiDB instances cache table statistics to accelerate execution plan generation, in order to improve SQL performance. Starting from v7.4.0, memory control on statistics cache becomes generally avaiable. By configuring system variable [`tidb_stats_cache_mem_quota`](/system-variables.md#tidb_stats_cache_mem_quota-new-in-v610), TiDB is able to limit the memory usage of the statistics cache. When the cache reaches the upper bound, TiDB automatically evicts inactive cache entries, helping to control instance memory usage and improve stability.
hfxsd marked this conversation as resolved.
Show resolved Hide resolved

For more information, see [documentation](/system-variables.md#tidb_stats_cache_mem_quota-new-in-v610).

### SQL

* TiDB supports partition type management [#42728](https://github.com/pingcap/tidb/issues/42728) @[mjonss](https://github.com/mjonss)
Expand Down
Loading