Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
yread
· 4y ago · 0 comments
Sometimes SCAN is faster than SEARCH. For example if the query returns a significant percentage of all values.
Comments
[–]
didgetmaster
4y ago
I am aware of that, but in this case the query returns less than 5% of the total rows and I think the database should choose to ignore the index if a scan is faster.