Query:
select * from dbo.ResultsStored order by SearchSerial desc, PercentMatch desc
Indexes:
CREATE clustered INDEX ClustIndex_Sno
ON ResultsStored (SearchSerial)
create nonclustered index nonclustInd_RowId_Percent
ON ResultsStored(RowId) Include (PercentMatch)
Execution Plan:
As it is resulting into index scan, may be I can manage to get it somehow to index seeks? Can I please get some pointers on this?
The table is going to have data in pretty large amounts , somewhere around 100k rows.Out of all the queries, it is the query with quite bad performance. Is there anything else I can do to improve its performance, please?