Monthly Archives: June 2012

Legal Apocalypse, Administration Insanity

Does anyone read the EULA (End-user license agreement) during software installations?  I know I do not, who can?  Lawyers. 

We were just informed today that before installing any software, updates, or patches onto our desktops or servers we must have approval from our legal department.  So on patch Tuesday, I may have to wait a few weeks to get approval if the patch has a EULA thereby putting my servers in jeopardy of the legal department?

We have also heard that they would notify us of any requested changes to the EULA.  Now that is funny!  Let’s review this, an organization with around 600 employees dictating to Microsoft the wording in THEIR EULA.  Is today April 1st?  No, well then this will be interesting to say the least.  I wonder if me commenting on this might bring legal action upon me?

The IT department has just been run aground by red tape.  Enjoy!


CodePlex Tool: SQL Server 2008 Extended Events SSMS Addin

Yesterday we discussed traversing the CodePlex tool offerings for SQL Server.  Our first installment is the SQL Server 2008 Extended Events SSMS Addin written by MVP/MCM Jonathan Kehayias (blog|twitter)  of

The install was a simple GUI installer and after an SSMS restart, I could see the nice little GUI as seen in the image below.  This is great idea because there is currently not an extended events interface in SQL Server Management Studio. 

Personally, I haven’t worked very much with extended events, but I would like to learn more.  With that being said, I am not sure if the tool works or not because I really do not know what I am looking for.  Does this image mean I have an error?  When I click on the event , it does nothing which leads me to believe that I do not have an error.  I do see where I can edit the event session “system_health” but I am not sure if the items in the list are always there or only there when the event fires?  Jonathan is an MCM and is much smarter than me in regards to SQL Server, so maybe someone else can comment on this tool?  Maybe we can convince Jonathan to create some documentation.  Enjoy!

Extended Events SSMS GUI

CodePlex Tool Hunting

This morning I was contemplating what new project to tackle for my blog.  I started thinking about tackling PAL (Performance Analysis of Logs) and my recent blog on SQL Nexus.  That got me thinking about CodePlex, Microsoft’s open source directory where those two utilities are located.  What other great tools are out there for SQL Server?  This Project Directory indicates there are 328 SQL Server related projects on CodePlex.  Holy special toolbelt, Batman that is a lot of utilities.

I will spend the next week or so exploring some of these tools.  Stay tuned, same bat time, same bat channel.

Father’s Day

I want to wish all of the father’s out there a wonderful Father’s Day.  I spent the day with my Dad today, not that I needed a special day but it is important to me to let him know that I appreciate everything he did for me.  Enjoy.

Father’s Day Weekend

Today my family cooked and prepared a nice ham dinner for my wife’s father and mother.  Or should I more appropriately say that my wife prepared the meal and I used my excellent meat cutting skills to slice the baked ham.  It is days like today that we live for, sharing stories, a good meal, and love.  I enjoy SQL Server and technology, but I love my family.  They are priority number one.  They are the reason that we go to work everyday.

I appreciate you reading this blog, but get off the computer and spend time with your family.

Final Thought from SQL Saturday Pensacola Pre-Con

For my final blog about SQL Saturday #132, I wanted to leave you with one all-encompassing piece of advice that I received from the pre-conference training on Friday prior to the event.  The pre-con titled “Demystifying Database Administration Best Practices” was presented by Microsoft Certified Masters Robert Davis (twitter|blog) and Argenis Fernandez (twitter|blog).  

Of course, I will preface this advice with the fact that I am passionate about Best Practices and I also love using the Best Practice Analyzer from Microsoft to detect new violations of best practices.  It is great to run on an instance when I am in a hurry and do not have time to go through a check list.  I simply want to see if any new changes have been made since the last time I ran the tool also known as has anyone changed anything on the server without my knowledge.  With that being said, I give you the advice.

“Do not always rely or trust the information from Best Practice Analyzer”

I do not remember if Robert or Argenis said this pearl and it really doesn’t matter because it is great advice for you and me.  Do not mistake all of my previous posts on the BPA as gospel.  It is a great tool, but it is an automated solution.  It simply cannot know all of the specifics of your server, applications and environments.  Hopefully you do! 

This is the reason that you can choose to disregard some items so that you never see them again.  I personally do not like doing that because if something changes in my department then I forgot all about the warning because I disregarded.  If I see it is a warning then I know it is still there but there is nothing I can do about it. 

Mixed mode authentication is a great example.  We have to run it on some servers because of vendor applications but we are not happy about it.  This will trigger a warning every time, but I do not disregard it because at some point that may change.

 Have a great weekend and enjoy!

Green? If You Only Knew the Power of the Dark Side!

Default Server Power Plan

Continuing my blog series from SQL Saturday #132, I wanted to review one piece of good advice I received from the pre-conference training on Friday prior to the event.  The pre-con titled “Demystifying Database Administration Best Practices” was presented by Microsoft Certified Masters Robert Davis (twitter|blog) and Argenis Fernandez (twitter|blog).  

The default power setting for a new server is balanced as shown in the image above.  This is great when you are trying to achieve a green workplace.  But did you realize that you purchased hardware and now you are not using it to its full power?  Why would you purchase a powerful server and then not use the server to its full capacity?  Why not just buy a less powerful server if that is the goal?

Want to see the difference in the balance power plan and the high performance?  Download the freeware CPU-Z utility from CPUID.  This is a great utility for the administrator for more reasons than just this one as it gives realtime analysis for your CPU, memory, and graphics.

CPU Performance with Balance Power Plan

Check your servers, you may be running short on some power.  Stay tuned for more items in our next installment.  Enjoy!


A came across the following article courtesy of Brent Ozar (Blog|Twitter):  Preserving Your Credibility Is Your Prime Directive by Stephen Foskett.  This article made me think about the things I do online and the credibility that I present to you, my audience.  I believe the only thing I have done negatively is to tweet about some contests.  It was silly on my part, but I wonder if it hurt my credibility trying to win a signed baseball?

Moving forward, I will be more tenacious about the “no buy zone” and ensuring that my credibility stays intact.  What about you?

Good Best Practice Advice from the Pensacola Pre-Con, Round Two

Yesterday, I wrote about some advice that I received at the pre-con titled “Demystifying Database Administration Best Practices” which was presented by Microsoft Certified Masters Robert Davis (twitter|blog) and Argenis Fernandez (twitter|blog) from SQL Saturday #132 in Pensacola, Florida.  Here are some more gems:

  1. Instant File Initialization is critical for performance, read more from Kimberly L. Tripp (twitter|blog).
  2. If you do not have Instant File Initialization enabled, then when you need to autogrow your database, it will have to zero out the file which may timeout the active query.  However, the transaction log will always need to be zeroed out during an autogrow.  These scenarios remind us to properly size our database during the planning stages.
  3. Page file sizing does not need to be one and a half times the amount of memory.  Your SQL Server shouldn’t be paging, otherwise review your memory settings.
  4. Learn the principle of least privilege and apply it to your servers.
  5. Baseline new servers for performance so that you know whether your server is faster or slower.  Do not just take a user’s word for it.  For example, use SQLIO.exe against a new LUN to see your initial throughput.
  6. If you install SQL Server with the local system and decide later to use an active directory account to run the server, it will not delete the server principal name (SPN) and you will receive the “Cannot Generate SSPI Context” error.
  7. Also, if you change the account, be sure to use the SQL Server Configuration Manager instead of the Services applet.

Stay tuned for more items in our next installment.  Enjoy!

Good Best Practice Advice from the Pensacola Pre-Con

For my first blog about SQL Saturday #132, I wanted to review some of the good advice I received from the pre-conference training on Friday prior to the event.  The pre-con titled “Demystifying Database Administration Best Practices” was presented by Microsoft Certified Masters Robert Davis (twitter|blog) and Argenis Fernandez (twitter|blog).   Some of these I knew, some of these I did not.  But here they are for you to learn from.

  1. Backups are the single most important thing we do, end of story.  If you screw this up, you just might be updating your resume.
  2. Practice restoring your backups on a regular schedule.  If you do not verify the backups then they essentially are useless.
  3. Use AD groups instead of individual logins for database security to reduce maintenance.
  4. DBAs should be getting at least one e-mail a day from each server.  Do not set your instances to only mail you on failure events because if there is a problem with the mail then you will just assume that everything is successful and then never receive any failure notices.
  5. It’s a good idea to use wikis for documentation and may ensure that the documentation is easily searched and actually used in the future.
  6. It’s a good idea to maintain your scripts in a source controlled library with versioning.
  7. Scan your network regularly for new instances of SQL Server to see who is installing new databases in your environment without your knowledge.
  8. Use a group policy for service accounts to ensure that the particular account is being only used on the intended server and nowhere else.
  9. Use a group policy to set all of your servers to high performance power plan.  The default is balanced allowing you to save power which sounds great for a green workplace, but why would you by a powerful server and then operate it at 50% power?  UNLEASH THE POWER!
  10. Maximum server memory should always be set on every instance, but always make sure that you leave enough memory for the OS and other necessary items on the server.  This amount will vary with every server.

Stay tuned for more items in our next installment.  Enjoy!

%d bloggers like this: