I am looking for some assistance please. I have a query that is running against a fairly big table (2 million records).
I have been trying to get the indexes working efficiently. There are a few other queries against this table, but this is by far the most frequent one. I am seriously struggling to get it to execute in under 1second1 second, and often see it running in 3 to 5 seconds using profiler.
It might be as fast as can be, but iI would appreciate some input to confirm/deny that please.
Just
Just a note : Dev wont change the query or schema at all. Only optimizationsOptimizations can be made in the database only, and no schema changes.
Table Data snapshot :
[
[![enter image description here][1]][1][screenshot of sample data][1]][1]