SQL Server with Mr. Denny


January 10, 2012  11:50 PM

Come check out a SQL pre-con at Tech Ed

Denny Cherry Denny Cherry Profile: Denny Cherry

In addition to delivering a pre-con at Tech Ed Europe (which I blogged about yesterday) I can proudly say that Thomas LaRock (@sqlrockstar | blog) and I will be presenting a pre-con at Tech Ed North America as well.  Check out the pre-con pages and get registered.  At both conferences we will be doing the same pre-con (but feel free to sign up for both) session titled “Microsoft SQL Server Performance Tuning and Optimization”.

North America

Europe

I hope to see you at Tech Ed.

Denny

January 10, 2012  12:20 AM

Europe just can’t get rid of me!

Denny Cherry Denny Cherry Profile: Denny Cherry

No matter how hard Europe tries to keep me away, I’ll be back in June for the premier Microsoft conference, Tech Ed Europe 2012. And not only will I be attending, but little old me will be presenting a pre-con on SQL Server Performance Tuning (about half way down the page). I’ll be joined turning the pre-con by my co-presentor Thomas LaRock (@sqlrockstar | blog).

Registration for the pre-cons has opened, so get registered for both the pre-cons and the full Tech Ed Europe conference now.

See you in Europe in June!

Denny


January 9, 2012  7:00 PM

Meme Monday: what is your first blog post?

Denny Cherry Denny Cherry Profile: Denny Cherry

As I got tagged by Denis Gobo (@DenisGobo | blog) on his Meme Monday post, here it is.  Denis (I have to try really hard not to put two n’s in his name) asked “What is the first blog post you wrote and when did you write it?”

For me that was October 10th, 2007 when I posted a blog post here on this site titled “Getting the right disk config for your SQL Server“.  Since that blog post went live I’ve posted almost 700 blog posts on this blog (this post is #695) and I’ve started blogging on the SQL Server Pro website (formally known as SQL Server Magazine) on my “Troubleshooting SQL Server Storage Problems” blog.

After reading through my post from 2007 even though some time has passed since that article was written and the technology has changed a bit, that post is just at relevant today as it was back in 2007.

Denny


January 2, 2012  2:00 PM

All hail Bill Graziano now known as El Hefe

Denny Cherry Denny Cherry Profile: Denny Cherry

Today (technically yesterday) begins the reign of the new president of the SQL PASS organization.  Taking the lead of the organization is someone who I’m happy to call a good friend, Bill Graziano (@billgraziano | blog).  I think that Bill will do a great job at the head of our organization and I can’t wait to see how he does.  Bill has quite a bit of experience with PASS having previously served at the VP of Finance and the VP of Marketing as well as several years as a member of the board of directors.

All hail our new SQL overload “El Hefe” may he treat us well during his reign.

Denny


January 2, 2012  2:00 PM

SQL Server 2012 Training Annoucement

Denny Cherry Denny Cherry Profile: Denny Cherry

I am please to announce the first of my SQL Server 2012 training classes being held March 19-22 at the Microsoft office in Los Angeles, California.  This isn’t a short class, but a 4 day training class which will cover installation, manageability, security, high availability as well as the new and improved BI features.

All the information about the class including the course outline and pricing are all listed on the class information page.  Seats for the class are limited so be sure to get signed up quickly.  If you sign up during January be sure to use the discount code “BlogReader” save $100 on the cost of the class.

I hope to see you at the class.

Denny


December 30, 2011  2:00 PM

Have a great New Years

Denny Cherry Denny Cherry Profile: Denny Cherry

It’s December 30th.  Who the hell wants to read technical blogs today.  God knows I sure don’t want to write one.

So I’m going to finish what needs to be finished for the year, play hooky for the rest of the day and be done with 2011.  I’m looking forward to 2012 in a big way.  I’ve got some big conferences lined up to speak at, some great classes and other events that I’m speaking at.

Have some fun this weekend and party like is 2012, because well it is.  We’ve earned it, and if you believe that Mayan’s it’s the last new years ever so go nuts.

Denny


December 28, 2011  2:00 PM

Just a few days left to rack up tax deductions

Denny Cherry Denny Cherry Profile: Denny Cherry

There’s only a few days left in 2011, which means that there is only a few days left to rack up tax deductions for the 2011 tax year.  Things like career development (like training classes) can usually be taken as tax deductions when you itemize your taxes.  Typically training events like SQL Excursions, SQL Skills Immersion Events, and SQL Cruise would count as tax deductions.  You don’t need to take the training in 2011, you only need to pay for the training in the 2011 calender year.  If you think that you may end up having to pay some taxes for this year, a great way to get some training and reduce your taxable income for the year 2011 all in one shot.

Of course you should check with your accountant to make sure that what you are paying for qualify as a tax deduction.

Denny


December 27, 2011  2:00 PM

Back To Basics: Why isn’t maintenace automatic?

Denny Cherry Denny Cherry Profile: Denny Cherry

One of the questions which I see pop up from time to time (especially when I used to work for a VAR that wrote software for small businesses) is why doesn’t SQL Server do the maintenance automatically?  Things like checking for corruption (DBCC CHECKDB), index defragmentation, backups, etc.

The reason for this is pretty basic.  How is the SQL Server supposed to know what settings to use, or how often to do those things?  Every database needs to have the indexes rebuild at a different interval.  There are a variety of recovery options which would change the backup policy for a database.  Not to mention that to properly build backup settings the SQL Server would need to know things like your RPO (Recovery Point Objective aka. how much data are you willing to loose in the event of a major failure).  Without a way to tell the SQL Server these sorts of things the SQL Server wouldn’t be able to properly maintain your environment.

So there’s the why.

Denny


December 22, 2011  2:00 PM

Fragmentation may cause corruption

Denny Cherry Denny Cherry Profile: Denny Cherry

Let me start this off by saying that I chose the title of this blog post very carefully.  You’ll note that it says “fragmentation may cause corruption” not that it will cause corruption, so before you go saying “Denny says that if you have any fragmentation of the database it’ll become corrupt” be sure to read the entire blog post.

I recently ran across a very interesting Microsoft knowledge base article titled “A heavily fragmented file in an NTFS volume may not grow beyond a certain size“.  The basic jist of this article is that if you have files, specifically large files (like oh say database files) which are VERY heavily fragmented you may get error messages back from the OS saying that there was a problem.  If you are running a Vista or newer Kernel (Windows Server 2008 and newer) you’ll see Error 665 (The requested operation could not be completed due to a file system limitation).  If you are running a kernel older than Vista (Windows 2003 R2 or older) you will see Error 1450 (insufficient system resources exist to complete the requested service).

The reason for this is that when a file is fragmented the NTFS file system needs more space than expected to save the location of the file allocations.  Information about the location of the allocations are stored within file records by the file system.  When there are multiple file records for a file the file system uses something called an ATTRIBUTE_LIST to store information about the file records.  The problem comes into play when we run out of ATTRIBUTE_LIST structures for the specific file.

There is no way to figure out if (or when) you are going to hit the error message.  The reason is that there is no way to figure this out is that it would require knowing the sizes of the fragments and knowing how these fragments are begin described within the file tables and the ATTRIBUTE_LISTs.

There doesn’t appear to be any real workaround for sparse files (which SQL Server users for DBCC and snapshots).  So if you start seeing these error messages your best bet will probably be to defrag the disk so that when SQL Server creates a sparse file the file isn’t fragmented.  Backing up the database and restoring it may help as well as the disk would no longer be fragmented.  In either case a call to CSS would probably be in order.  In any case this is just another good reason to pre-allocate your files so that all your free space on the disk is at the end, and not scattered through out the disk.

Denny


December 20, 2011  2:00 PM

Me, Sean and Jen all talking politics & more

Denny Cherry Denny Cherry Profile: Denny Cherry

So last weekend I had the chance to fly over to Dallas and hang with Sean and Jen McCown (the Mignight DBAs) and be the guest on their web show all live and in person for the episode “Bring in the Nerds“.  Sean has informed me that the recording it up on the site, and available for your viewing.  I get there about 10 or 15 minutes into the show, as I had a late flight out there.

Just do keep in mind that there was beer involved so the language might require headsets is there’s a manager or child around.

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: