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 (GA) [#45367](https://github.com/pingcap/tidb/issues/45367) @[hawkingrei](https://github.com/hawkingrei)
hfxsd marked this conversation as resolved.
Show resolved Hide resolved

TiDB instances cache table statistics to speed up execution plan generation and improve SQL performance. Starting from v7.4.0, memory control for the statistics cache becomes generally available (GA). By configuring the system variable [tidb_stats_cache_mem_quota](https://github.com/system-variables.md#tidb_stats_cache_mem_quota-new-in-v610), you can limit memory usage for the statistics cache. When the cache reaches its limit, TiDB automatically evicts inactive entries, helping 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