Running a statement that uses a local #temp table seems to run a lot slower when user activity picks up. I have an equivalent statement that was rewritten to use a CTE that runs much faster. How can I tell where the bottleneck is with tempdb?
↧
Running a statement that uses a local #temp table seems to run a lot slower when user activity picks up. I have an equivalent statement that was rewritten to use a CTE that runs much faster. How can I tell where the bottleneck is with tempdb?