August 4, 2010 at 8:02 pm
hi,
i am working on a script which searches if the backups are done or not by going to the backup folder.
and taking backups .but sometimes there is not enough space so i wanted to calculate the backup size.we are using litespeed.in litespeed command we r not mentioning the compression level.so it must be taking the default level.
a * database size=backup size
what is the value of a ?
August 6, 2010 at 9:40 am
why no one is answering the question?
is it irrevelant/stupid/unworthy?
is it posted in wrong section?
is it about litespeed?
i m not forcing anyone....but i should know if i m making any mistake ...so that i will not repeat it in future?
August 6, 2010 at 11:04 am
well it's not a fixed ratio; a database with lots of varbinary/image/blob type data will have a less effective compression ratio than one that is mostly just text and numbers.
you should compare one normal backup of yours to one compressed backup, use that ratio, and use that as your "rule of thumb" / validation ratio.
a simple google search shows examples of 20:1, 40:1 and only 4:1 in the first five results for "sql litespeed compression ratio"
that's a pretty wide range of differences, so i think it's better to get a ratio related to your actual database.
Lowell
December 11, 2011 at 8:44 pm
If I understand correctly, Azad wants to know the default compression level that Litespeed would use if we don't specify the value for @Compressionlevel which is one of the input parameter for the Litespeed extended stored procedure XP_DATABASE_BACKUP. I want to know the same and am looking for it. If I will find it, I will post it here as well. As SQLServerCentral is my favorite SQL website.
December 14, 2011 at 1:12 pm
This lists the default level as 1, out of 11 possible levels. 0 is no compression, which is the same as a native backup.
https://support.quest.com/search/SolutionDetail.aspx?id=SOL14764
If you are looking for a percentage of compression, that is completely dependent on your data. More compression at higher levels is possible, at the expense of CPU and time.
The Red Gate SQL Backup tool includes an estimator for your database. I am not sure if Litespeed has something similar.
Disclosure: I work for Red Gate.
December 14, 2011 at 2:38 pm
That answers my question and I guess Azad's as well.
Thanks heaps Steve, you are a champion and thanks for writing good quality editorials.
December 14, 2011 at 2:48 pm
Sorry guys, forgot to add the link above to a good article about LiteSpeed Compression level:
December 21, 2011 at 2:36 pm
Quest's LiteSpeed version 5.0.1 and above has got "Backup Analyzer". It Helps you to find the optimal parameters for your database backup.
Viewing 8 posts - 1 through 7 (of 7 total)
You must be logged in to reply to this topic. Login to reply