Skip to content

Announce GA of memory control on stats cache (#19604) #19626

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

Merged
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update releases/release-7.4.0.md
  • Loading branch information
hfxsd authored and ti-chi-bot committed Dec 9, 2024
commit 573ec1ab38d7efde7ab39aff851409ad08c165c7
2 changes: 1 addition & 1 deletion releases/release-7.4.0.md
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ Quick access: [Quick start](https://docs.pingcap.com/tidb/v7.4/quick-start-with-

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

Starting from v6.1.0, TiDB introduces the system variable [`tidb_stats_cache_mem_quota`](https://github.com/system-variables.md#tidb_stats_cache_mem_quota-new-in-v610), allowing TiDB instances to cache table statistics for faster execution plan generation and improved SQL performance. By configuring the system variable, 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.
TiDB instances can cache table statistics for faster execution plan generation and improved SQL performance. Starting from v6.1.0, TiDB introduces the system variable [`tidb_stats_cache_mem_quota`](https://github.com/system-variables.md#tidb_stats_cache_mem_quota-new-in-v610). By configuring the system variable, 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.

Starting from v7.4.0, this feature becomes generally available (GA).

Expand Down