Blog Archives

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!

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!

We Survived SQL Saturday #132, Pensacola

Relaxing in a Tallahassee Spring Hill Suites, I am reflecting on this weekend’s trip to Pensacola.  Why Tallahassee?  This SQL Learning trip was turned into a long weekend with my wife.  We decided to split our long ride home in half and enjoy an extra day unwinding, relaxing in the pool in sunny Tallahassee especially since we did not get to enjoy the beautiful beaches of the Gulf Coast.  We are already planning to return to Pensacola for next year’s SQL Saturday.

After yesterday’s flooding with the declaration of the state of emergency and driving around a flash flood only to find myself in an intersection that was about 18 inches deep, I can easily say that we survived SQL Saturday #132.  However, I wouldn’t trade the experience as I arrived back at the venue in time to give my first ever presentation (I left because I was soaked from head to toe in order to put some fresh dry clothes on).  I also got to spend some time with a couple of great MCMs and meet a handful of new people to add to my #SQLFamily.

Next week, after I return home from this trip, I will blog some of the things I learned in some of the sessions and the pre-con.  Until, then relax and enjoy the rest of your weekend!

SQL Saturday #132 Pensacola, My First Presentation!

Welcome to Pensacola: home of the flash floods, torrential downpours, and wonderful people! Blogging live from SQL Saturday #132 after giving my world premier first presentation and my adrenaline is through the roof right now. I won the “Funniest Presentation Award” and received the Zombie Survival Guide. What a rush! But it almost didn’t happen!

After the first couple of sessions this morning, I went back to the hotel room to change into dry clothing and change my socks and shoes, yes I was serious about the flooding. I put some bags on my dry shoes and headed back to make it back in time for my session. Enter the flash flood around the Pensacola State College, so much so that people were stranded in the middle of the road outside of the building that we were located in. I drove around the perimeter of the college and almost got stuck in an intersection, that was very scary. I have never been stuck in a flood before and it was my wife’s fairly new SUV, that would not have been good for the vehicle or me.

Flood waters were not going to keep me from my first presentation as I put a fair amount of work into it. The audience laughed at all the right places, these people get me. I love #SQLFamily, what a great community! I will post the slide deck when I get back to the hotel and will blog more as the week goes on. Enjoy!

20120609-143134.jpg

SQL Saturday 132, Pre-Con

SQL Saturday LogoToday I am spending the day at Pensacola State College attending the pre-conference training for SQL Saturday #132 titled “Demystifying Database Administration Best Practices” presented by Microsoft Certified Masters Robert Davis (twitter|blog) and Argenis Fernandez (twitter|blog).

This is my first pre-con and I was excited to meet both Masters as I have talked with them many times on twitter. This was definitely money well spent with the rapid fire style spouting out best practice after best practice answering questions along the way was refreshing.

Typically, I get bored pretty easily if the speaker can’t hold my attention. No problems here. When I get back home I will blog about some of the new things I learned. This has been a great day of learning, SQL awesomeness at its best!

Leaving Today for SQL Saturday #132, Pensacola

SQL Saturday LogoThe day has finally arrived:  travel day!  I am leaving today after work for the six-hour drive to Pensacola for SQL Saturday #132.  We have a new John Grisham audiobook, Calico  Joe, ready for the ride.  This one sounds like a great book:  “A surprising and moving novel of fathers and sons, forgiveness and redemption, set in the world of Major League Baseball…”

Having experienced heavy rains all week in central Florida, I am a little concerned that we may not have a beautifully sunny weekend at the beach.  However, the hotel does have an indoor pool so my wife is not too worried because we do live in Florida after all and this is a common summer time event.

Last night I was invited to the speaker’s dinner, thanks to the coordinator Mark Holmes (twitter|blog) for including me.  In the past I have attended these speaker dinners as a volunteer, so I am moving up in the world.  Thanks again Mark, I really do appreciate it and the event sounds amazing.  I also want to thank Karla Kay (twitter|blog) for convincing me to take the leap and present as well as everything she does for the SQL community.  She really is wonder woman as represented in her avatar.

Tomorrow is also my first pre-con training: “Demystifying Database Administration Best Practices” presented by Microsoft Certified Masters Robert Davis (twitter|blog) and Argenis Fernandez (twitter|blog).  Some of my coworkers think that I am crazy for paying for this training and attending SQL Saturday’s out of my own pocket.  They have obviously never been and met the #SQLFamily.  Do yourself a favor and attend one of these event, you will not regret it.  Enjoy!

SQL Saturday #132, Pensacola

Wow, another SQL Saturday is coming up and I am über excited!  For this one I will travel up the panhandle to beautiful Pensacola with my lovely bride who will enjoy the sun and fun with me as we turn this into a four-day getaway.  After our daughter’s graduation a couple of weeks ago, we could use a break.

This SQL Saturday is different for me in a few ways.  First of all, I am going to the Pre-Con!  This will be my first ever pre-con training as I never could get the schedule right in coordination with my work schedule.  The stars aligned just right for this one, though.  This pre-con will be “Demystifying Database Administration Best Practices” presented by Microsoft Certified Masters Robert Davis (twitter|blog) and Argenis Fernandez (twitter|blog).  Being passionate about best practices, I am excited about this session as well as meeting two fellow tweeps.

The second difference is that I will be presenting for the first time ever!  Going old school MTV style:  This Saturday live at 1 pm come see the world-premiere video (er, I mean) presentation from SQLGator.  It is a lightning talk presentation which will be great for my first time to help me get over my stage fright and conquer my goal of speaking.  I am still considering submitting for SQL Saturday #151 Orlando and this will be a good test of whether or not I can do this.  I am confident I can do this, but I am having some serious nervousness.

Hanging out with #SQLFamily will be amazing and I am looking forward to meeting some new people especially some of the bigger names in the SQL Server community.  Come on out and enjoy the free learning.  See you there!

Tell Me A Story, Please

I read some great advice today while researching effective presentation skills in order for me to prepare my presentation for a future SQL Saturday.  Being my first ever SQL Server presentation, I am doing research and everything.  What was the advice you ask?

“People want to hear a story, not a PowerPoint!”

Wow, that is so profound and so true and yet so simple.  Now to translate that into my presentation  and that will be easier said than done.

Thinking about other presentations, I’ve seen some great ones and some not so great.  I’ve seen simple ones and complex ones.  However, the great ones, in my opinion, are engaging, sometimes humorous, and always humble.

So in order to be successful, let’s recap:

  • I need to not read the PowerPoint
  • I need to be funny and charismatic
  • I need to be humble and not tell people they are wrong and stupid (this one may be hard to do)
  • I need to have a relevant and interesting topic
  • I need be knowledgable about the subject that I am speaking about

I think I figured it out, I need to hire someone to be me for the presentation. Enjoy 😉

Something Technical This Way Comes

To quote Ray Bradbury in Something Wicked This Way Comes:  “Everything that happens before Death is what counts.”

Wow!  How simple and profound.  Do you live your life as if it counts for something?  Do you have a passion?  Are you living your life for that passion?

My passion is best practices for SQL Server and I am taking a step forward in my professional development by putting together a presentation that I will submit to SQL Saturday Orlando.  I have struggled with this for sometime now and like most people I find it difficult to speak in front of audiences.  That is really sad, because from 1999 through 2001 I was a travelling consultant that would teach classes and present in front of total strangers.  As I moved away from that lifestyle, I became more of an introvert for some unknown reason and it is really difficult to break those chains.  So if my presentation is accepted and you attend my class, keep that in mind.  I welcome your advice and words of wisdom.

Enjoy!