DBA in Space: Behind the Scenes Part 2

This is a continuation of my DBA in Space journal.

Brad McGehee and Nell Mooney in DBA in Space

 

Monday & Tuesday, September 12-13, 2011

Today I make my “secret” journey to England for the filming. While I explained to my family where I was going, and what I would be up to, they were given specific instructions not to talk about it, or give any hint to anyone I was in London. In fact, I had to maintain my “social networking” in such a way as not to let anyone know I was traveling.

Continue reading

Do You Use “Forced Parameterization”?

image

In SQL Server 2005 and later, there is a database option called “forced parameterization”. When it is turned on, it overrides the default “simple parameterization” normally used by SQL Server. It does this by forcing most SELECT, INSERT, UPDATE, and DELETE statements to be parameterized, potentially boosting performance of databases by reducing the number of query compiles and recompiles that need to occur.

As with many “options” in SQL Server, whether this option should be turned on for a particular database is not a simple decision. So I was curious to see how many DBAs actually employ this option. I ran the above poll on my website, and had two surprises. The first surprise is that about 19% of responders said they use it, which I thought was high. The second surprise is that about 44% of responders have not even heard of this option.

If you are one of the 44% who aren’t familiar with forced parameterization, I suggest you read the following to learn more about it. While this database option can be very handy in specific cases, it can also hurt performance in other databases. If you try this option, be sure to perform a benchmark before implementing it, then another benchmark after implementing it, and seeing if you get the behavior you expect. Of course, perform this experiment in a test environment, not in production.

http://technet.microsoft.com/en-us/library/ms175037.aspx 

http://www.sqlmag.com/blog/sql-server-questions-answered-28/sql-server/forced-parameterizationwhen-should-i-use-it-137149

DBA in Space: Behind the Scenes Part 1

image

 

Filming DBA in Space was both a great opportunity and an adventure for me. It allowed me to break out of my comfort zone and do something few people have the opportunity to do. It was a grand adventure, and I want to thank Red Gate Software for giving me the opportunity.

Once I found out that I was going to participate in the project, I began a journal to document the experience. Over the next couple of weeks, I will be blogging my journal entries, describing what happened behind the scene. I hope you enjoy reading about my experiences as much as I enjoyed experiencing them.

Continue reading

Red Gate Software is Sending a DBA into Space!

DBA LOGOBy now, you should have already heard the big news. Red Gate Software is sending a DBA into space. When I first heard about the competition earlier this summer, my jaw literally dropped. It’s an unbelievable prize, and unfortunately one I am not able eligible to win. But that’s OK, as I was asked to “star” in a series of short films based around the nine space-related questions and five SQL Server-related tasks that participants need to get right before they can become eligible to enter the contest. To find out more about how the contest works, and its rules, visit www.dbainspace.com.

When I say “star”, that is somewhat of a misnomer, as I am not an actor by any stretch of the imagination. But with the help of professional actress Nell Mooney (who plays Miss Friday) and award-winning director Will McGregor, I had a great opportunity to secretly spend three weeks in England, attending pre-production meetings, costume fittings, rehearsals, sound studio recording, location filming, and getting involved in some post-production work. The film crew included over 40 people, using only the best camera equipment and special effects. I think you will find the production values of the short films higher than many theatrical films.

While Red Gate Software could have selected virtually any type of prize and competition, I think the DBA in Space competition is a great match for DBAs, as most DBAs grew up during the Apollo and Space Shuttle eras, and many of them have a keen interest in space.

I can literally remember the day when Alan Shepard first flew into space on May 5, 1961. I was only four years old at the time, but I can vividly remember watching his Mercury rocket blasting off from Cape Canaveral on our black and white television. Even at such a young age, I knew that flying into space was something that I wanted to do. Like many kids from my generation, I wanted to become an astronaut. And like many childhood dreams, this one didn’t become true. But what is amazing is that this dream can become true for one DBA who enters this contest. Heck, who knows, maybe I will still get the opportunity to fly into space as more and more private companies begin space tourism, and the price of space flights go down.

While I didn’t become an astronaut, my interest in space has not waned. I have subscribed to Astronomy Magazine for over 30 years, and I collect meteorites as a hobby. In fact, I even started a meteorite website called www.planetmeteorite.com, which I use to help make a few dollars to help pay for my ever growing meteorite collection, which I briefly refer to in the first installment of DBA in Space.

Even if you don’t have any desire to go into space, you will still want to play along with the DBA in Space competition, seeing how the story unfolds over the next five weeks. I think you will be in for some big surprises, and hopefully a lot of fun. The story line is a little goofy, and perhaps even a little corny, but I think you will enjoy it nonetheless. Just remember, I am not an actor, so please don’t critique my acting too severely. 😉 Instead, focus on Nell Mooney, who is a great comedy actress.

When I have more time, I’ll give you the inside scoop on the filming. Right now, at PASS this week, I am much too busy to go into more detail in this blog post. If you are attending PASS this week, be sure to stop by the Red Gate booth in the Expo hall and find out all about the contest. Nell and I will be hanging out at the booth all day Thursday, so come by and say hello.

Note: Here’s a little tip if you decide to enter the competition. Take your time answering the questions and performing the tasks. Don’t guess. Instead, take the time to research each question or task, and answer carefully. You have one shot at each question, so give yourself the best chance you can of getting them right.

image

Nell Mooney as “Miss Friday”, and me, playing myself.

SQL Server MVP Deep Dives: Volume II

image

Two years ago when SQL Server MVP Deep Dives: Volume 1 was released, I had the opportunity to contribute two chapters. In SQL Server MVP Deep Dives Volume 2, I not only had the opportunity to contribute a chapter, but the privilege of being the section editor of the “Performance Tuning and Optimization” section of the book. I would like to thank all of the following writers in my section for all their hard work, and for getting me their drafts on schedule. I also want to thank Grant Fritchey, who helped me coordinating the technical editing of the chapters.

Continue reading

Database Properties Health Check

For some time now, I have been working on a new book called How to Perform a SQL Server Health Check. I have written over 300 pages of it, and I am only about half way done. In the meantime, I have published a short except from the book on Simple-Talk.com. The article focuses specifically on database properties, and also includes a T-SQL script I wrote, and a PowerShell script written by Phil Factor, that will help you collect your existing database properties, making it easier for you to determine your existing database property settings. This is just a taste of the things to come from my new book. Now, I just need to find some extra time to finish writing it.