I am working on a SQL Job which involves processing around 75000 records.
Now, the job works fine for 10000/20000 records with speed of around 500/min. After around 20000 records, execution just dies. It loads around 3000 records every 30 mins and stays at similar speed.
I asked a similar question yesterday and got few good suggestions on procedure changes. Here's the link: http://stackoverflow.com/questions/1521692/sql-server-procedure-inconsistent-performance
I am still not sure how to find the real issue here. Here are few of the questions I have:
- If problem is tempdb, how can I monitor activities on tempdb?
- How can I check if it's the network being the bottleneck?
- Are there any other ways to find what is different between when job is running fast and when it slows down?