Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 General SQL Server Forums
 New to SQL Server Administration
 Database performance

Author  Topic 

hannah00
Starting Member

31 Posts

Posted - 2012-08-06 : 11:51:45
Hi all,

I have an application when when it run the batch job, it took way too slow and I wonder how can I tackle to run performance analysis. I had turned on SQL Profiler and got about 10 trace files, I then used SQL Tuning Advisor to run against those trace files and it can't find any missing indexes, partitioning. What else do I have to do?

thx

tkizer
Almighty SQL Goddess

38200 Posts

Posted - 2012-08-06 : 13:07:54
Show us the code. You'll need to analyze the execution plan, set statistics io and time, PerfMon, wait stats, and lots of other things. Let's start with the code and the execution plan though.

Tara Kizer
Microsoft MVP for Windows Server System - SQL Server
http://weblogs.sqlteam.com/tarad/

Subscribe to my blog
Go to Top of Page

hannah00
Starting Member

31 Posts

Posted - 2012-08-06 : 13:52:19
sorry, could you please give me some steps of how to do that?

Thanks
Go to Top of Page

tkizer
Almighty SQL Goddess

38200 Posts

Posted - 2012-08-06 : 13:59:00
I would be typing for days. Please post the code, and let's get started there.

Tara Kizer
Microsoft MVP for Windows Server System - SQL Server
http://weblogs.sqlteam.com/tarad/

Subscribe to my blog
Go to Top of Page
   

- Advertisement -