Viewing 15 posts - 1,951 through 1,965 (of 7,619 total)
I don't think there is a single "best" CPU%. But I would be OK with generally 80-90%, as long as there weren't periods where it spiked above 95% and stayed...
SQL DBA,SQL Server MVP(07, 08, 09) "It's a dog-eat-dog world, and I'm wearing Milk-Bone underwear." "Norm", on "Cheers". Also from "Cheers", from "Carla": "You need to know 3 things about Tortelli men: Tortelli men draw women like flies; Tortelli men treat women like flies; Tortelli men's brains are in their flies".
thanks. It was vendor supported application. We are not allowed to change any query though
I'm confused then. When you originally asked:
Any suggestion to tune this query?
Did you expect we...
SQL DBA,SQL Server MVP(07, 08, 09) "It's a dog-eat-dog world, and I'm wearing Milk-Bone underwear." "Norm", on "Cheers". Also from "Cheers", from "Carla": "You need to know 3 things about Tortelli men: Tortelli men draw women like flies; Tortelli men treat women like flies; Tortelli men's brains are in their flies".
You really should not use a temp table for this. It's a lot of overhead copying rows to the temp table, esp. if you then separately build an index afterward. ...
SQL DBA,SQL Server MVP(07, 08, 09) "It's a dog-eat-dog world, and I'm wearing Milk-Bone underwear." "Norm", on "Cheers". Also from "Cheers", from "Carla": "You need to know 3 things about Tortelli men: Tortelli men draw women like flies; Tortelli men treat women like flies; Tortelli men's brains are in their flies".
Viewing 15 posts - 1,951 through 1,965 (of 7,619 total)