Quantcast
Viewing all articles
Browse latest Browse all 23857

A statement that uses local temp tables is running slow - tempdb database the issue?

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?


Viewing all articles
Browse latest Browse all 23857

Trending Articles