Same query, different execution plans

Posted by A.. on Stack Overflow See other posts from Stack Overflow or by A..
Published on 2010-05-25T11:45:41Z Indexed on 2010/05/25 11:51 UTC
Read the original article Hit count: 308

Hi,

I am trying to find a solution for a problem that is driving me mad...

I have a query which runs very fast in a QA Server but it is very slow in production. I realised that they have different execution plans... so I have try recompiling, cleanning the cache for the execution plans, update statistics, check the type of collation... but I still can't find what's going on...

The databases where the query is running are exactly the same and the SQL Servers have also the same configuration.

Any new ideas would be much appreciated.

Thanks, A.

© Stack Overflow or respective owner

Related posts about sql

Related posts about server