The SP is timing out after addition of 2 new filters of state and City
I have this stored proc, which is timing out after two new filters of state and city were added.
We have tried to avoid the key lookups by adding adding required column to the existing NC index being used as mentioned below.
Also, we see lot of warning on SELECT into operator, not sure the reason for it, but this proc was working fine, little slow but was not timing out before the addition of two new filters of state and city.
Also, what i can notice is that the Actual no of executions varying a difference of larger number as compared to the estimated executions for the key look up operator. Could this be because of Implicit conversation being done or is something else.
Any help is greatly appreciated. Thanks
Edit: I have attached the plan ran from Plan explorer for the SP. As per comments i have added Monthly total column to NC IX mentioned, but plan looks the same with query getting timed out