February 2005 - Posts

North Texas SQL Server User Group meeting tonight!

Need to optimize your queries but do not know where to start?  Have you been told to review the execution plan but do not know what to look for?  In this session, you will learn how to review a stored procedure’s execution plan to understand the flow of the stored procedure as well as determine likely areas needing to be optimized.  This session will present a few of the top performance issues that are common in a large number of queries and how you can easily spot these areas by reviewing the execution plan. - presented by Randy Dyess

www.ntssug.com

 When:  6:30pm - 9:00pm       (Pizza too!)

    Where:  Microsoft (Las Colinas)
                  7000 North Highway 161
                  Irving, TX  75039

   Format:  6:30pm     Classifieds and Problem-solving
                  7:00pm     Presentation

 

The SQL Server Standard magazine is now available on the Secure MCP site as a PDF download.  If you are interested in SQL Server and don't subscribe to this magazine, give it a look at the MCP site. 

This issue is dedicated to YUKON.  This magazine focuses on different “themes” throughout the year.

Take the time now to enjoy the magazine for free if you are an MCP.

 

I have been reviewing some of the features in SQL Server 2005 and thought I had a good understanding of Mirrored Media for Backup/Recovery in SQL Server 2005.  After some more research, this is what I learned.

When a Backup is performed in SQL Server 2005, the same data may be written to more than one device.  Basically, you can have identical backups.  As we know too well, tapes DO go bad.  By performing a backup operation with the exact same data written to more than one device, your odds of a bad tape ruining your recovery are diminished.  This is great news.  If a tape is bad from one set, the same tape from another identical “Mirrored” set may be used in its place!  Yea!  Remember, the devices have to be the same.

However, this is the “not so great” take on this.  If a media error occurs on the backup media during the backup process, the backup fails.  It is a “All or None” proposition.  If it can't write to one of the “Mirrored Media” devices, the backup will stop there.  The reasoning (I suppose) is that you told it to write the same data in more than one place.  If it can't do the specified operation, it will fail the job. 

Scenario where it helps:  Backup successfully to Mirrored Media (2 identical tape drives).  A bad thing happens and the database needs to be recovered.  While restoring the database from Tape Drive A's tape set, the final tape (it always seems to be that final tape) reports a media error.  You get the same tape (the last tape) from Tape Drive's B set and the recovery continues and you are up and running.

Scenario where it does not help:  Backing up to 2 identical tape devices.  Tape Drive B goes bad.  The job stops - even though Tape Drive A is still a good tape drive.  The database is not backed up.

As long as you understand the benefits and potential risks of using Mirrored Media  for backup, take advantage of it.  There are of course possibilities that you could engineer to get around the scecond scenario, but you have to prepare for it. 

Well,  I wasn't far off.  I predicted Patriots over the Eagles 27-17 last week.  Final score was 27-24 (Patriots).  One final TD by Philly made my prediction a little off.

I was hoping to be very wrong, but the stats and facts pointed to the Pats.  Eagles lost their chance early with turnovers in the 1st quarter.  TO showed up a lot more than I had suspected.  Pinkston was big in the first half, but disappeared in the 2nd half.  Running game never materialized for the Eagles. 

Congrats to the Pats!  Good Job Eagles!

It made watching the game until the final minute interesting to say the least.  I only sae seceral commercials.  Nothing that really made me say “WOW” though. 

Predicition for next year:  Saints and Raiders.....   - You never know.....

How does this realate to SQL Server?  I do not know, but that is why I started out the entry with “OT” for “Off Topic”.  I hope that everyone enjoyed the game as much as I did.