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
SELECT * FROM `Table`
WHERE IndexedColumn = 2
LIMIT 1
Even if there is a secondary index built on IndexedColumn plan with fullscan is done sequentially. Thus it's more optimal. At least in simple cases automatics should choose an alternative with limit.
The text was updated successfully, but these errors were encountered:
Example:
Even if there is a secondary index built on
IndexedColumn
plan with fullscan is done sequentially. Thus it's more optimal. At least in simple cases automatics should choose an alternative with limit.The text was updated successfully, but these errors were encountered: