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
Currently, when doing row count estimation for the index/table scan in a SQL with LIMIT, we'll adjust the row count according to the LIMIT number and the correlation from statistics. This is a good strategy but sometimes it makes the planner choose TableScan when it should choose IndexScan, and the SQL execution becomes very slow. We'll try to fix it.
The text was updated successfully, but these errors were encountered:
Enhancement
Currently, when doing row count estimation for the index/table scan in a SQL with LIMIT, we'll adjust the row count according to the LIMIT number and the correlation from statistics. This is a good strategy but sometimes it makes the planner choose
TableScan
when it should chooseIndexScan
, and the SQL execution becomes very slow. We'll try to fix it.The text was updated successfully, but these errors were encountered: