mibuso.com

Microsoft Business Solutions online community
It is currently Sat May 25, 2013 10:03 am

All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: Interpret Client Monitor output
PostPosted: Sat Jul 28, 2012 9:34 pm 
Offline

Joined: Sat Jul 28, 2012 9:09 pm
Posts: 20
Country: France (fr)
Hey,

we have a job which has a long runtime and we want to solve this problem. So I used the client monitor to analyse the job and the sql-queries. I have only access to the client monitor and not to the advanced forms of the client monitor. My question is, which tipps and tricks do you have for me to get a good output from the client monitor. I searched for operations, which have a long "elapsed time". How can I find things, which can be improved? Is it for example a problem, if the entries of the key, filter or sql-index have different orders? I already searched the forum but I didn't found some general tipps.


Best regards!


Top
 Profile  
 
 Post subject: Re: Interpret Client Monitor output
PostPosted: Sun Jul 29, 2012 1:10 pm 
Offline
MVP Microsoft Dynamics NAV
NAV TechDays 2013 attendee

Joined: Thu Oct 16, 2003 8:50 am
Posts: 12265
Location: Brno
Country: Czech Republic (cz)
If you are using MS SQL, you can use SQL Profiler to get info. If there is too much reads for expected count of record, than there is no good index. BUT! Be sure first, that you have maintanance in place, like updating statistics and defragmenting indexes. If there is no maintenance, the results are biased...

_________________
Kamil Sacek
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.


Top
 Profile E-mail WWW  
 
 Post subject: Re: Interpret Client Monitor output
PostPosted: Sun Jul 29, 2012 5:56 pm 
Offline

Joined: Sat Jul 28, 2012 9:09 pm
Posts: 20
Country: France (fr)
Hey,

unfortunately I have no access to the SQL Profiler yet. Therefore I want to use the client monitor. We already defragmented the indices, but the performance of the job is very bad. Also it generates a lot of locks, so I want to use the client monitor. Which other tipps can you give me for the client monitor? Is it for example better / necessary, if / that the key and the sql-index have the same values in the same order?


Best regards!


Top
 Profile  
 
 Post subject: Re: Interpret Client Monitor output
PostPosted: Sun Jul 29, 2012 8:24 pm 
Offline
MVP Microsoft Dynamics NAV
NAV TechDays 2013 attendee

Joined: Thu Oct 16, 2003 8:50 am
Posts: 12265
Location: Brno
Country: Czech Republic (cz)
Look for duration, read count, if it was scan or seek. If scan, look for used index and used filters. There is no one simple answer for performance tuning. You can see it from other posts about SQL performance on this forum...

_________________
Kamil Sacek
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.


Top
 Profile E-mail WWW  
 
 Post subject: Re: Interpret Client Monitor output
PostPosted: Mon Jul 30, 2012 6:48 pm 
Offline

Joined: Sat Jul 28, 2012 9:09 pm
Posts: 20
Country: France (fr)
OK, thanks for your help and tipps. I try to get a little bit deeper in this stuff.

Best regards!


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 5 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum


Search for:
Jump to: