Thursday, July 05, 2007

 

SQL Server 2005 BPA (Best Practices Analyzer) Is Here

I have to say - for all the bugs and problems running SQL 2005 that I've experienced (and that have frustrated me and you), Microsoft has just been amazing about putting these helpful tools together for the system and making them available for free.I remember back 6-7 years ago when we had no tools or any special downloads and we had to write the tools ourselves (which led to lucrative consulting projects though) but today, I can save the time and just help the client with the built-in tools from MSFT.

The SQL Server 2005 Best Practices Analyzer (July 2007 edition) is the SQL 2005 version of the BPA (Best Practices Analyzer). Microsoft, IIRC, originally started using the BPAs with SQL Server back in SQL 2000 and has since expanded them to the ASP.NET BPA, the Exchange BPA and more (click here for a full list).

Links:

Thoughts on Running the SQL 2005 BPA:

This isn't just an extension of the old SQL 2000 BPA; this new implementation takes full advantage of SQL Server 2005's features by scanning for (and making suggestions for correcting/amending) SSIS implementations and more. On my machine (which has SQL 2005, SSIS and SSRS), it made no suggestions for improving SSRS but it did make a few SSIS-based suggestions. Check out the screenshot below for an example of the report listing:

There are a few interesting bits:

  1. "Unexpected System Failures on Host" - I don't really remember this happening but this is MSFT's way of telling me that my server has had an expected shutdown. If you read the "Tell me more about this setting", it says I should move my SQL Server to a more stable system lol
  2. "Authentication Mode Violation" - This is a fear-mongering way of saying that MSFT thinks I should be running my SQL Server in Windows Authentication mode instead of Mixed Mode...
  3. "SQL Login Password Policy Violation by login [sa]" - I don't have the password policy option checked for my sa account...
  4. "Sysdtslog90 Table in [msdb]" - See? This is what I mean when I say that the new BPA is integrated tightly with SSIS. If you read the docs, MSFT says, "Integration Services package logging can generate a large volume of verbose log entries. You may experience decreased performance if you log to a system database such as master or msdb. A good practice is to create a separate database for Integration Services logging."

One thing: there is no legend regarding the icons on the Report page. Does a blue circle with an exclamation generally imply danger? No - but it's the way the BPA shows you a recommended Best Practice. The yellow triangle with the exclamation is pretty standard - it's a Warning - so you will want to review anything that comes back with a yellow exclamation. The BPA uses Exception-Based reporting so you won't see a nice green circle with a checkmark if you've done something right; you only get notified if you've screwed up. Here's the legend of icons in the report as best I can tell (based on the icons I saw in my reports):

I looked in the help file for a full listing of the icons but saw nothing. There's a page called "Types of Output Information" that lists all of the options but no icons. Here's the list: 

Also included in the download is a .chm (a help file) that is packed with great suggestions, explanations of the settings, and good insider info about SQL Server 2005. 

Recommendations For Using the SQL Server 2005 Best Practices Analyzer:

Do:

Don't:

System Requirements:

Links:


AddThis Social Bookmark Button

Comments: Post a Comment

Links to this post:

Create a Link



<< Home

This page is powered by Blogger. Isn't yours?