Query on sql2000 fast, same one on 2005 slow
we've had query running in production several years on sql2000 takes 2 minutes run. long query (in lines) i'll grant that. when upgraded sql2005 same database w/ same indexes , same query takes 1 hour complete.
we have 1 section of query 'where not in [set of items] ' - may it. however, again worked fine in sql2000. rather post query (which do), there way can debug this? i've used queryanalyzer , not suggest additional indexes. can point me tools or utils help? tia
we have 1 section of query 'where not in [set of items] ' - may it. however, again worked fine in sql2000. rather post query (which do), there way can debug this? i've used queryanalyzer , not suggest additional indexes. can point me tools or utils help? tia
although there queries slower in 2005 2000, not norm.
i have experienced long query times in 2005 self reverencing views, , extremely long in lists (over 300 items). reducing size of in list little fixed problem. reported on ms connect, have not seen fix posted.
i have experienced long query times in 2005 self reverencing views, , extremely long in lists (over 300 items). reducing size of in list little fixed problem. reported on ms connect, have not seen fix posted.
SQL Server > SQL Server Database Engine
Comments
Post a Comment