Index FMSketch takes up too much TiDB memory #42052
Labels
affects-5.1
This bug affects 5.1.x versions.
affects-5.2
This bug affects 5.2.x versions.
affects-5.3
This bug affects 5.3.x versions.
affects-5.4
This bug affects the 5.4.x(LTS) versions.
affects-6.0
affects-6.1
This bug affects the 6.1.x(LTS) versions.
affects-6.2
affects-6.3
affects-6.4
affects-6.5
This bug affects the 6.5.x(LTS) versions.
affects-6.6
component/statistics
severity/major
sig/planner
SIG: Planner
type/bug
The issue is confirmed as a bug.
Bug Report
Please answer these questions before submitting your issue. Thanks!
1. Minimal reproduce step (Required)
Create many tables(> 1000) and collect their statistics. Observe the memory profiling result.
2. What did you expect to see? (Required)
Index FMSketch would not be directly used by optimizer. Hence, we should not load it into memory.
3. What did you see instead (Required)
Index FMSketch takes up too much TiDB memory.
4. What is your TiDB version? (Required)
v6.5.0(master also has the problem)
The text was updated successfully, but these errors were encountered: