You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please answer these questions before submitting your issue. Thanks!
1. Minimal reproduce step (Required)
Currently, we use the formula N*row-size*mem-factor to estimate the memory cost of TopN, but actually, min(N, total_rows)*row-size*mem-factor is better.
Bug Report
Please answer these questions before submitting your issue. Thanks!
1. Minimal reproduce step (Required)
Currently, we use the formula
N*row-size*mem-factor
to estimate the memory cost of TopN, but actually,min(N, total_rows)*row-size*mem-factor
is better.2. What did you expect to see? (Required)
3. What did you see instead (Required)
4. What is your TiDB version? (Required)
The text was updated successfully, but these errors were encountered: