dbTalk Databases Forums  

best practice analyzer help

microsoft.public.sqlserver.tools microsoft.public.sqlserver.tools


Discuss best practice analyzer help in the microsoft.public.sqlserver.tools forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
dimitris
 
Posts: n/a

Default best practice analyzer help - 06-08-2004 , 02:02 AM






Hi,
I have downloaded and run hte analyzer, but the result I get have lots of
exeption errors that contain the message:

Error while executing the Best Practice Group. See the log file
loadtraced_antodxp_0003_mshfsql_sqlbpa.log. Error message:

the log file cannot be found anywhere on the server or in my pc that I run
it from...
regards,



Reply With Quote
  #2  
Old   
Christian Kleinerman [MS]
 
Posts: n/a

Default Re: best practice analyzer help - 06-08-2004 , 12:15 PM






Dimitris
Based on your other post I'm guessing it is related to the trace files
you're feeding to BPA. Trace files should be files generated by SQL Server
profiler, not .sql files.

Let's try two things to isolate the errors you're seeing:
1) clear any specified Trace Files from the servers registered. Try to run
BPA. I'm guessing things should succeed.
2) Try with a .trc file generated by Profiler.

If this doesn't help, search for LOG folder under BPA installation folder
and post the log files.

- Christian


--
___________________________
Christian Kleinerman
Program Manager, SQL Engine

This posting is provided "AS IS" with no warranties, and confers no rights.

"dimitris" <dimitris (AT) microsoft (DOT) com> wrote

Quote:
Hi,
I have downloaded and run hte analyzer, but the result I get have lots of
exeption errors that contain the message:

Error while executing the Best Practice Group. See the log file
loadtraced_antodxp_0003_mshfsql_sqlbpa.log. Error message:

the log file cannot be found anywhere on the server or in my pc that I run
it from...
regards,





Reply With Quote
  #3  
Old   
dimitris
 
Posts: n/a

Default Re: best practice analyzer help - 06-08-2004 , 08:39 PM



Thanks, it worked!

As you have already noticed I have posted a trace help request, you might be
able to help:
I have created a trace template using Profiler, called locks and have
included only the locks from the events menu (deadlocks, escalation and lock
timeout). I have saved a trace file called traceLocks, but I dont know what
to do with it. Can you help?

Best regards,
Dimitris

"Christian Kleinerman [MS]" <ckleiner (AT) online (DOT) microsoft.com> wrote

Quote:
Dimitris
Based on your other post I'm guessing it is related to the trace files
you're feeding to BPA. Trace files should be files generated by SQL Server
profiler, not .sql files.

Let's try two things to isolate the errors you're seeing:
1) clear any specified Trace Files from the servers registered. Try to run
BPA. I'm guessing things should succeed.
2) Try with a .trc file generated by Profiler.

If this doesn't help, search for LOG folder under BPA installation folder
and post the log files.

- Christian


--
___________________________
Christian Kleinerman
Program Manager, SQL Engine

This posting is provided "AS IS" with no warranties, and confers no
rights.

"dimitris" <dimitris (AT) microsoft (DOT) com> wrote in message
news:ubtp0bSTEHA.1732 (AT) TK2MSFTNGP09 (DOT) phx.gbl...
Hi,
I have downloaded and run hte analyzer, but the result I get have lots
of
exeption errors that contain the message:

Error while executing the Best Practice Group. See the log file
loadtraced_antodxp_0003_mshfsql_sqlbpa.log. Error message:

the log file cannot be found anywhere on the server or in my pc that I
run
it from...
regards,







Reply With Quote
  #4  
Old   
Christian Kleinerman [MS]
 
Posts: n/a

Default Re: best practice analyzer help - 06-10-2004 , 04:34 AM



Dimitris
BPA will scan statement start and completion as well as batch start and
completion events - for those events, it will lookup the SQL text being
exeuted and will scan it for best practices.
If you only have locking events, I'm not sure you'll be able to do much with
BPA.

If you create a trace file that captures batch/statement events, you can
include the path in PBA (e.g. c:\yourpath\yourtracefile.trc) for a given
server and BPA will perform the scan.

Let me know if you have additional questions.

- Christian



"dimitris" <dimitris (AT) microsoft (DOT) com> wrote

Quote:
Thanks, it worked!

As you have already noticed I have posted a trace help request, you might
be
able to help:
I have created a trace template using Profiler, called locks and have
included only the locks from the events menu (deadlocks, escalation and
lock
timeout). I have saved a trace file called traceLocks, but I dont know
what
to do with it. Can you help?

Best regards,
Dimitris

"Christian Kleinerman [MS]" <ckleiner (AT) online (DOT) microsoft.com> wrote in
message
news:OUaZpwXTEHA.2336 (AT) TK2MSFTNGP10 (DOT) phx.gbl...
Dimitris
Based on your other post I'm guessing it is related to the trace files
you're feeding to BPA. Trace files should be files generated by SQL
Server
profiler, not .sql files.

Let's try two things to isolate the errors you're seeing:
1) clear any specified Trace Files from the servers registered. Try to
run
BPA. I'm guessing things should succeed.
2) Try with a .trc file generated by Profiler.

If this doesn't help, search for LOG folder under BPA installation
folder
and post the log files.

- Christian


--
___________________________
Christian Kleinerman
Program Manager, SQL Engine

This posting is provided "AS IS" with no warranties, and confers no
rights.

"dimitris" <dimitris (AT) microsoft (DOT) com> wrote in message
news:ubtp0bSTEHA.1732 (AT) TK2MSFTNGP09 (DOT) phx.gbl...
Hi,
I have downloaded and run hte analyzer, but the result I get have lots
of
exeption errors that contain the message:

Error while executing the Best Practice Group. See the log file
loadtraced_antodxp_0003_mshfsql_sqlbpa.log. Error message:

the log file cannot be found anywhere on the server or in my pc that I
run
it from...
regards,









Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.