Home Forums SQL Server 2012 SQL Server 2012 - T-SQL Query running slow on prod. RE: Query running slow on prod.
T.Ashish
SSCarpal Tunnel
Points: 4248
More actions
June 17, 2013 at 4:36 am
#1624526
Still not helping.
We are using a filter "where comp.comp_type = 1" in the query.
If I change the filter comp.comp_type = 2 then it is taking only 15 seconds.
We have 3 comp types in table
Comp_type Count
1 1
2 341
3 21374