SQL Server with Mr. Denny

August 12, 2010  6:03 PM

LaRock must be drinking on the job, I’m being allowed to speak during 24 Hours of PASS

Denny Cherry Denny Cherry Profile: Denny Cherry

That’s right, Mr. LaRock himself (Blog | Twitter) is giving me the chance to present during the 24 Hours of PASS (aka 24 HoP) virtual conference this time around.  I’ll be doing my “Storage for the DBA” session to give you a taste of what you’ll be able to get during my pre-con at this years summit, and best of all the virtual conference is totally and completely free. Continued »

August 10, 2010  7:18 PM

Yesterdays Storage and Virtualization Session

Denny Cherry Denny Cherry Profile: Denny Cherry

In case you missed the dozen blog posts and Twitter messages about it over the last couple of weeks yesterday was a dry run of the Storage and Virtualization session that I’ll be presenting at the SQL PASS summit in Seattle this November.  We had a pretty good turn out, and I’d like to thank everyone that came out to watch me talk for 8 hours (turned out it was closed to 6 hours, so that’s the first thing to fix).  I got great feedback from everyone.

A big thank you to the sponsors who the event couldn’t have been done without.  Those sponsors for yesterday were Microsoft, Emulex, Quest Software and Red Gate.

Several people asked for the slide deck, so here it is in its current form.  The deck for the pre-con at PASS will be quite a bit different, as more material will be added, and some of this material will be moved around to make it flow better as I move from topic to topic.

Congrats to the drawing winners.  For the folks that won the Windows 7 licenses, as soon as we can track down the Windows 7 licenses I’ll get them mailed out to you.

Thanks again to everyone for coming.  Hopefully I’ll see most of you at PASS or Connections.


August 9, 2010  11:00 AM

Calculating fibre latency correctly is a must when trying to deturmin storage performance numbers.

Denny Cherry Denny Cherry Profile: Denny Cherry

Latency on a fiber channel network isn’t normally something you worry about.  But something that you need to remember is that every meter of fiber optic cable that your data has to travel through takes time.  Every fiber channel switch that you have to go through adds more latency.

When you are setting up something like synchronous replication between two storage arrays this latency starts to become more important as every millisecond that you spend waiting for the storage to respond is time that your application isn’t responding to your clients requests.

So, the basic math is that every meter of fiber optic that your data travels takes 5 nanoseconds.  So if you have your server connected to your storage array via a one meter cable there will be 10 nanoseconds of delay.  5 nanoseconds for the data to get to the array, and 5 nanoseconds for the response to get back to the server from the array.

So using this math, for each 100 meters of fiber optic cable there is 1 microsecond of latency.  For every kilometer of cable there is 10 microseconds.  For every 100 kilometers of cable there is a 1 millisecond delay, and for every 1000 kilometers of cable there is 10 milliseconds of delay.  So if you are replicating data from LA to New York that’s about 2778 miles, or 4470 kilometers which gives us a delay of about 44 milliseconds for each command which is being sent.

Now there is something else which needs to be taken into account when figuring out the storage latency time.  And that is the fiber channel switches.  If the ports on the fiber switch are on the same ASIC then there is no measurable latency through the switch, however if the two ports on the fiber switch are on different ASICs then there is an additional latency of 2 microseconds in each direction.  While this isn’t much, if you keep in mind that between LA and New York there are probably hundreds of switches, those 2 microseconds are going to really start to add up.

Because of these numbers when using synchronous replication 30 miles is about as far as you want to replicate data.  And farther than that and you’ll start to see network latency problems with your application.  These problems will be amplified if you use something like SQL Server as with SQL Server and other databases, every nanosecond counts.

Hopefully this math will help you make more informed storage design decisions.


August 5, 2010  9:00 AM

Come get a free lunch, a free XBox, a free Windows 7 license, and more…

Denny Cherry Denny Cherry Profile: Denny Cherry

OK, so the odds are getting an XBox and a Windows 7 license are basically zero, but you could win one of them.  How can you win some of this fantastic stuff?  Well that’s the easy part, all you have to do is come and attend my free day of training on “Storage and Virtualization for the DBA“.  Submit a survey, and you’ll get a ticket for the drawing.

Thanks to some great sponsors the lunch plans have changed a little for this event.  Instead of everyone heading out for lunch a group of vendors has gotten together and sponsored lunch for everyone.  The Lunch sponsors who I can’t thank enough are Microsoft, Emulex, Quest Software and Red Gate.

So head on over to the Event Bright page and get signed up.  Seating is limited, as are the number of lunches, so be sure to get signed up quickly.


August 5, 2010  3:40 AM

Slide Decks for the OC SQL Users Group

Denny Cherry Denny Cherry Profile: Denny Cherry

Tomorrow I’ll be speaking at the Orange County SQL Server Users Group.  I’ll be presenting two sessions at the meeting.  One will be “Exploring the DAC and everyone’s favorite feature the DACPAC“, and the other will be “Reading the SQL Server Execution Plan“.

The meeting starts at 6:30pm, and I believe that there will be pizza provided and who doesn’t like pizza and a DACPAC discussion.

The user group meets at the New Horizons Computer Learning Center in Anaheim.

1900 S. State College Blvd.
Suite 100
Anaheim, CA 92806

It’s right behind Angel’s stadium (or what ever its called this month), you can’t miss it.

I’ll have some SWAG with me, but not a whole lot (my supplies are starting to run low).

See you there.


August 3, 2010  11:00 AM

Time is running out to register for a free full day of Storage and Virtulization training

Denny Cherry Denny Cherry Profile: Denny Cherry

Time is running out to register for a free full day of Storage and Virtulization training.  If you’ll be in the Irvine, CA area on August 9th and you’ve got a free day be sure to come check out this free training event.  This will be a very similar session to what I present at the SQL PASS summit in Seattle in November, where the session will cost $499 to see.

On top of that all attendees that turn in an evaluation form will be entered to walk about with one of the great prizes including a brand new XBox 360.

Seating is limited, and registrations need to be completed ahead of time.  If the session does sell out, there is a waiting list, but being on the waiting list doesn’t guarantee that you’ll get a seat so act now.


August 2, 2010  11:00 AM

Speaking at the Orange County SQL Server Users Group this week.

Denny Cherry Denny Cherry Profile: Denny Cherry

Later this week (Thursday to be specific) I’ll be speaking at the Orange County SQL Server Users Group.  I’ll be speaking on Thursday the 5th, starting at 6:30pm.  I’ll be giving two sessions at the user group.  The first will be Reading the Execution Plan, and in the second we’ll be looking at the Data Tier Applications, UCP, and DACPACs as well as some other new features in SQL Server 2008 R2.

The OC SQL Users Group meets at New Horizons in Anaheim (behind Angel’s stadium).

1900 S. State College Blvd, Suite 100

Anaheim, CA 92806

Hopefully I’ll see you there.

While I’m there I’ll be pimping my day long session in Irvine which is next week, and hopefully I’ll be giving away from SWAG during the meeting.


July 29, 2010  11:00 AM

Running a query against multiple servers at one

Denny Cherry Denny Cherry Profile: Denny Cherry

So you’ve got a bunch of machines that you want to run a quick query against.  SQL Server 2008’s Management Studio gives you a quick and easy.  Open up the Registered Servers in Management Studio and select a group of servers.  Then right click on the group and click on the “New Query” option.

This will open a new query window where you can run a query against all the servers that are online in that group. In my sample query shown below you’ll see that I ran SELECT @@VERSION against all the servers.  When I ran this 3 of the 6 servers in the group were online so three servers were able to return data.

Now if you look at the messages tab (look down) you’ll see which servers the query ran against, and which servers it failed against.  It also tells you what accounts the query was run using (based on the connection info for each server).

Now you can’t merge data together in a temp table as everything in the query window will be run against each server.  It simply displays the information together.  You can pull a single value like I showed above, or you can query a table.

Now when querying from a tables on multiple servers you’ll need to make sure that the schema for those tables are identical otherwise it will only return the data for the first table that it queries.  An error will be shown on the messages tab telling that you that the schemas don’t match if this is the problem.


July 25, 2010  2:59 AM

Sometimes you just get amazed by the response

Denny Cherry Denny Cherry Profile: Denny Cherry

So a couple of weeks ago Arnie Rowland started a project to give away a couple of MSDN licenses and some other goodies to some deserving out of work developers.  The big requirement being that they do something worthy of getting the stuff. Continued »

July 22, 2010  12:00 PM

Get some storage and virtuilization training, and walk away with an XBox 360

Denny Cherry Denny Cherry Profile: Denny Cherry

On Monday August 9th, 2010 at the Microsoft Office in Irvine, CA I’ll be leading up an all day “Storage and Virtualization for the DBA” training session.  In addition to a great day of training, one lucky attendee will walk away with a brand new XBox 360.  There are lots of other great giveaways.

You must sign up to attend, and seats are limited.  Be sure to sign up soon as seats are given away on a first come first served basis.


Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to: