Welcome to Aussie SQL Server Bloggers Sign in | Join | Help

How SQL Server could help save the environment..

Millions of database backups are performed every day & night around the world, consuming mountains of disk space & generating massive levels of power consumption as enormous numbers of bytes are copied to disk, then to tape or other removable media.

Assuming something like ~25% > 50% of the data contained within an average database relates to indexes (the ratio is often mugh higher), an option to exclude indexes from database backups would make it possible to reduce the amount of data required to perform backups, in turn reducing backup time & energy consumed by backup operations. I don't know how to go about estimating how much time & power could be saved from such a feature, but surely it would have to be huge.

Because indexes are only re-sorted copies of table columns, no loss in data integrity results from eliminating index data from backups, so I decided to register a feedback item on Microsoft's "Connect" website here:

https://connect.microsoft.com/SQLServer/feedback/ViewFeedback.aspx?FeedbackID=331220

The benefits from Microsoft including an option to eliminate index data from full database backups include:

(a) Significantly faster backups

(b) Reduced disk space

(c) Reduced energy consumption (less data copied to millions of daily backups around the world translates to less disk head movement & therefore less energy spent on backups)

Of course, any such feature should be optional as some will prefer to continue backing up index data.

If you agree with this feature request & would like to see Microsoft add it to a future version of SQL Server, please record a vote on the connect item link above!

Published Friday, 4 April 2008 1:36 AM by Greg_Linwood

Comments

# re: How SQL Server could help save the environment..

Hi Greg,

It is certainly an interesting idea to ponder.
However, although the backups might be faster, restores would also be slower.

So apart from the technical difficulties (seperation of index pages from data pages which the backup operation is probably not aware of in its current implementation) + keeping the index definitions and recreating them (hopefully online, but that's only available in enterprise edition), I wonder how many large shops would like a faster backup-slower restore solution.

Maybe backup compression (only in enterprise edition in 2008, or 3rd party solutions) already gets you closer to the environmental goal, with the benefit of faster restores as well (that's my experience with Idera's SQL Safe).

Cheers,
S. Neumann
Saturday, 5 April 2008 6:35 PM by zzzbla

# re: How SQL Server could help save the environment..

Thanks for the feedback (c:

Restore times might not be increased as much as it first seems.. Firstly, less data needs to be copied back during restore (allowing the DB to be "available" earlier) & secondly, because all NCIXs could be rebuilt concurrently, this could be done with a single scan of the underlying table. I agree it would be longer, but not necessarily significantly so.

Even if restore times are longer, I don't think this is a significant factor as High Availability (HA) solutions shouldn't rely on restore anyway. A competent HA solution uses Mirroring, Log Shipping, Clustering or Replication rather than full backup restores, which are really more of a DRP solution.

Whilst there's no doubt a small trade-off in rarely performed restore times, the benefits gained during the millions of backups performed daily vastly out-weigh any problems associated with increased restore times.
Sunday, 6 April 2008 9:40 PM by Greg_Linwood

# Backup without index data

Greg Linwood ha lanciato un'idea che trovo (parere personale) molto interessante. Sul suo blog potete
Thursday, 10 April 2008 7:15 AM by Il blog di Andrea Benedetti

# SQL Server goes GREEN.

Friday, 11 April 2008 1:43 AM by

# SQL Server goes GREEN.

Friday, 11 April 2008 1:43 AM by

# Eseguire un backup senza indici

Sul newsgroup privato degli MVP sto seguendo da qualche giorno il thread che Greg Linwood ha lanciato
Friday, 11 April 2008 5:13 AM by SQL Server e dintorni

# re: How SQL Server could help save the environment..

This is an awesome idea, and take it a step further.

In a data warehouse environment, I'd love to be able to pick specific objects as not needing backups - for example, huge aggregate tables that can be easily rebuilt while the server's still online.

I know what people are going to say - you can separate items out into different filegroups, and then do backups without getting that one filegroup, but still, this is a neat feature.
Friday, 11 April 2008 10:00 PM by BrentOzar

# re: How SQL Server could help save the environment..

Great idea. Being able to compress backups on the fly in Sql 2008 is a good start, and the faster backup times with this enabled support your point that transferring less data can speed up the overall process.
Monday, 26 May 2008 4:10 PM by acl123

# SQL Server goes GREEN. - Find car blog

PingBack from http://aaudio.net/?p=196
Saturday, 31 May 2008 1:33 AM by SQL Server goes GREEN. - Find car blog
Anonymous comments are disabled