I am having same tables in two servers(S1 And S2). One is having approximately 1(S1) crore records and another one 3(S2) crore records when I am executing a query its using the index in S1 and its not using index instead of that its going for full table scan in S2 any idea why its happening like that. I attached the execution plan for the tables both are same only the rows are different.
Any help is appreciated.