SQL Server with Mr. Denny


February 14, 2008  10:13 AM

Eat more chicken…

Denny Cherry Denny Cherry Profile: Denny Cherry

Well, this has absolutely nothing to do with SQL Server, but I just had to post this anyway.

 We were having dinner at Chick-fil-A and the Chick-fil-A cow was there.  My wife snapped this photo, that I just had to share with everyone.  How totally awesome is this.  (Comments are very much welcome.)

Denny

Denny and the cow…

February 13, 2008  10:37 AM

New Article: Configuring SQL Server memory settings

Denny Cherry Denny Cherry Profile: Denny Cherry

I’ve published a new tip over on SearchSQLServer.com entitled “Configuring SQL Server memory settings“.  In it I talk about how to correctly setup the memory settings for SQL Server to get SQL setup correctly.

Denny


February 11, 2008  8:00 AM

Getting those memory setting in SQL Server just right.

Denny Cherry Denny Cherry Profile: Denny Cherry

When using 64bit SQL Server getting the memory settings right is pretty easy.  Simply set the maximum to what you want and you are good to go.

Getting them right in the 32bit versions of SQL Server is a bit harder.  You have to deal with the OS level of enabling the Physical Address Extensions (PAE) and the 3GB switches.  You then need to enable AWE within SQL Server and then set the max memory setting.

If you are using Windows 2003 SP1 or later PAE will enable for you automatically.  The /3GB switch however won’t.  Since I have to add the /3GB switch I like to add the /PAE switch in there as well.  My theory is why make Windows decide to do something automatically when I can simply override the logic and turn it on every time, especially when it’s something that I’m going to want enabled every time the server boots.

 Now as to the max memory setting for SQL Server… There are pretty much two prevailing schools of thought. 

  1. Give Windows between .5 and 1 Gig of memory and give SQL the rest.
  2. Give SQL 75% of the physical memory and leave the rest for Windows.

I’ve tried both and both seam to work fine.  If you have less memory to work with you will probably want to stick to option 1.  When you start working with huge amounts of RAM (64 Gigs plus) is when Option 2 starts to look more workable.

These rules obviously all start to change when you have more than one instance installed as you need to balance your max memory between the instances.

If you are using less then 2 Gigs of RAM for the instance don’t enable AWE on the instance.  I’ve seen it lead to SQL Server acting strangely and performing very strangely.  When setting your max memory setting for more than one instance don’t forget to add up the max memory for all the instances and make sure to leave Windows room to work with or your server will suffer.

Don’t forget about my post on setting the min server memory setting in SQL Server.

Denny


February 7, 2008  5:43 PM

Webcast turnout was fantastic

Denny Cherry Denny Cherry Profile: Denny Cherry

Thanks to all who attended this morning webcast ‘Under The Hood of SQL Server – Checking Out Internals’.  This mornings webcast was a complete success.  The number of people attending was fantastic, and some excellent questions were asked.  If I remember correctly there were about 140 people in attendance.  For those who weren’t able to attend the webcast this morning, it was recorded and as soon as it’s published I’ll post the link to the video.

If you have a question specific to the webcast please email my good friend Andy Grant with your questions and he will route them to myself or Jason Hall.

Don’t forget to check out the tech brief which we were talking about.

Denny


February 7, 2008  8:21 AM

Heroes Happen Here {Comic Series}

Denny Cherry Denny Cherry Profile: Denny Cherry

For those that don’t get the Tech Net news letter Microsoft and Seagate are producing a new comic strip called Heroes Happen Here.  It’s published on the Tech Net blog here.  You can also grab the RSS feed in your favorite RSS reader here.

So far it shows some promise and I’ve gotten a good laugh out of it a few times; I am a pretty major dork some times though.

Denny


February 7, 2008  12:20 AM

New Paper Published: Picking the Right Instrument for SQL Server Performance Management

Denny Cherry Denny Cherry Profile: Denny Cherry

The folks at Quest Software asked me to write a paper for them discussing the differences between managing a SQL Server using just the Microsoft provided tools and their Spotlight on SQL Server Enterprise product.  That paper has just been released and can be downloaded here.  We’ll also be discussing this paper (among other things) at a web cast Thursday 2/7/2008 at 8am which you can read about here and here.

Denny


February 4, 2008  8:00 AM

Today is my birthday!

Denny Cherry Denny Cherry Profile: Denny Cherry

Well today is my birthday.  Since it’s a regular posting day I figured I’d skip the technical posting and just say hi.  (I’ve got this thing against working on my birthday.  I’d much rather spend the day with family and friends.  It’s my day and I’ll do what I want, as long as it’s ok with the wife at least :-).)

Denny


February 1, 2008  12:27 AM

Webcast: ‘Under The Hood of SQL Server – Checking Out Internals’

Denny Cherry Denny Cherry Profile: Denny Cherry

On Thursday Feb 7, 2008 at 8am Pacific (11am Eastern, 4pm GMT) myself and Jason Hall, Systems Consultant at Quest Software will be co-hosting a webcast looking into the challenges in seeing exactly what is happening within SQL Server (including SQL Server 2008) using Spotlight® on SQL Server Enterprise compared to the native tools.

 For those who are interested in attending the URL is: http://www.quest.com/events/listdetails.aspx?contentid=6732&technology=&prod=&prodfamily=&loc=4

FIRST TIME USERS: To save time before the meeting, check your system to make sure it is compatible with Microsoft Office Live Meeting: http://go.microsoft.com/fwlink/?linkid=52354

I look forward to seeing you all there.

Denny


January 28, 2008  11:56 PM

Slide Decks and Sample Code from SoCal Code Camp

Denny Cherry Denny Cherry Profile: Denny Cherry

The SoCal Code Camp was this last weekend.  I had a great time attending and speaking at the code camp this time around.   I hope that everyone who attended my sessions had as much fun attending the sessions as I did speaking at them.  I did my best to make them as much fun and interactive as I could.

As promised here are the slide decks and sample T/SQL code from the four sessions.  Everything is within a single ZIP file.  I’ve included two copies of each slide deck.  One in the Office 2007 format, and one in the Office 97-2003 format.  They are identical to each other, but I wanted to include both so that people with the older version of Microsoft Office can see the deck without having to download and install the patch which allows Office 2003 to view Office 2007 files.

The sample scripts which I’ve included are all run against the AdventureWorks database or the AdventureWorksDW database (check the USE commands at the top of the scripts).  If they need a different database they will create the new database.

Session 1 – SQL Server Query Tuning (SQL 2000+)

Session 2 – SQL Server 2008 Resource Governor (SQL 2008 CTP5+ only)

Session 3 – SQL Server Service Broker in the Real World (SQL 2005+) (I’ve fixed the problem with the single server script that we were having at the Code Camp.  Turns out I had left the route in place which is why the message never showed up.  The first script didn’t run correctly because I had run the server to server script on my virtual machine and the route was left by accident.)

Session 4 – SQL Server 2008 What’s on the Horizon (SQL 2008 CTP5+)

If you have any questions about these slide decks or sample code feel free to post a comment here, or drop me an email.

Denny


January 28, 2008  8:00 AM

Guide to Installing SQL 2000 and SQL 2005 on the same machine

Denny Cherry Denny Cherry Profile: Denny Cherry
i5

You can install SQL 2000 and SQL 2005 on the same machine.  I always recommend that they be installed in this order to try and get everything working as best as possible.

  1. Install SQL 2000
  2. Install SQL 2005
  3. Install SQL 2000 SP4 (Or the latest service pack)
  4. Install SQL 2005 SP2 (Or the latest service pack)

Denny


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: