SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
Search:  
 
 

Why Is It Complicated?

By Steve Jones, 2009/11/02

Total article views: 79 | Views in the last 30 days: 79

http://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.

By Steve Jones, 2009/11/02

Total article views: 79 | Views in the last 30 days: 79
Your response
 
 
Related tags

Backup / Restore    
Editorial    
 
 
Contribute

Free registration required...

To read the rest of this article, and access thousands of other articles, we ask you to register on the site and subscribe to our newsletters.

Login (existing users)

Login

Email:   Password:   Remember me: Forgotten your password?

Register (new users)

Register

Email:   Password:
Confirm:

Subscribing to our newsletters gets you:

  • ALL of our content (thousands of articles, scripts, and forum postings)
  • A daily newsletter (example)
  • A weekly news round up (example)
  • The opportunity to ask and answer questions in our forums
  • A daily Question of the Day to test and help you increase your knowledge of SQL Server.

Steve Jones
Editor, SQLServerCentral.com