- I have a very large table.
- I have an index on columns col1.
- I would like to get the data ordered by col1.
- From the query plan I can say it doesn't use the index.
- When I add "LIMIT", it starts to use the index
- For large value for "LIMIT", it stops using the index.
Any clue?
P.S. I would like to get the data clustered by values of col1 (not necessarily sorted), any suggestions other than "ORDER BY".
THANKS !!