Improve Memory Management #17479
Labels
epic/memory-management
feature/accepted
This feature request is accepted by product managers
priority/P0
The issue has P0 priority.
sig/execution
SIG execution
type/feature-request
Categorizes issue or PR as related to a new feature.
Milestone
Description
Since TiDB 2.1, we have supported memory tracking to track the memory usage of a query. In the recent releases, we have supported canceling a query which consumes too much memory or spilling the intermediate result to disk for a query to reduce the memory usage.
But there's still lots of improvements related to memory management, for example:
See issues labeled with
epic/memory-management
for details.P0 Task List
Category
Performance
Value
Lots of users have reported memory issues, such as can not cancel the query consumes too much memory, which is caused by the memory of some components are tracked. (priority/P1)
In the DBaaS environment, the memory usually is not that rich, reducing the memory usage without spilling disk or enable more operators to spill disk can greatly improve the usability. (priority/P1)
Usually, there's a lot of tables on a cluster(more than 1 million tables), reducing the statistics cache can heavily reduce the overall memory consumption of the tidb process, which further reduces the OOM risk. (priority/P0)
Workload Estimation
Time
GanttStart: 2020-07-01
GanttDue: 2020-09-30
GanttProgress: 50%
The text was updated successfully, but these errors were encountered: