SQLServerCentral Editorial

Why Is It Complicated?

,

https://content.hccfl.edu/pollock/images/Dilbert.jpgI was answering a post the other day on backups, and I realized that it's a somewhat complicated subject. You have to know that there are multiple types of backups, and that if you want to restore a database with logs you need to do so with NORECOVERY. The logs have to be in order, there are logins to sync with users, stripes can easily, and inadvertently, be created. There are many, many options for the accidental DBA to be aware of.

Why is that so? Why can't the "restore" script be stored as part of the backup file and let the user open it, and get notified if there are issues. Or walked through the process? If you open a diff, can't it include the "name" of the last full? Or search for that file in the folder? What about logs, can't SSMS just "figure out" what LSNs are in which files and load them up automatically? Shouldn't a log have the name of the last full backup in it? Or the name of the last and next log backup files?

I can see how we ended up with this process, and why we expect people to be somewhat competent in this area. I also think that a lot of this complexity is mundane, and unnecessary. Computers are great at repetitive tasks, and they can "programmatically" figure out lots of these questions. After all, I see many people on SQLServerCentral have submitted scripts to do just that.

So why isn't this stuff built into the product?

I think that these repetitive, easy to solve issues should be built into the product. Simple tasks like restoring a series of backup files ought to be handled in an easier manner. That would be a step forward in making SQL Server much easier to manage.

Steve Jones


The Voice of the DBA Podcasts

Everyday Jones

The podcast feeds are available at sqlservercentral.mevio.com. Comments are definitely appreciated and wanted, and you can get feeds from there.

You can also follow Steve Jones on Twitter:

Overall RSS Feed:

or now on iTunes!

Today's podcast features music by Everyday Jones. No relation, but I stumbled on to them and really like the music. Support this great duo at www.everydayjones.com.

I really appreciate and value feedback on the podcasts. Let us know what you like, don't like, or even send in ideas for the show. If you'd like to comment, post something here. The boss will be sure to read it.

Rate

You rated this post out of 5. Change rating

Share

Share

Rate

You rated this post out of 5. Change rating