Solved

SQL Server Compression Estimate

Posted on 2013-12-18
4
259 Views
Last Modified: 2013-12-23
What I would like to do is be able to estimate what the size off all tables within a database after a compression is performed.  My objective is to utilize some script to determine whether it is an optimal time to actually perform the database compression.
0
Comment
Question by:ZogFromNewJersey
4 Comments
 
LVL 19

Assisted Solution

by:jss1199
jss1199 earned 150 total points
ID: 39728175
For SQL 2008, I know of know script to do this, but Bob Taylor, a Microsoft PFE, put together a tool called SQL Server Compression Estimator.

For SQL 2012, you can use the sp_esitmate_data_compression stored procedure - http://technet.microsoft.com/en-us/library/cc280574.aspx

There is a 2008 sp that you can create, detailed at this Microsoft blog, but I prefer SSCE
0
 
LVL 69

Assisted Solution

by:Scott Pletcher
Scott Pletcher earned 100 total points
ID: 39728202
Use proc:

sp_estimate_data_compression_savings
0
 
LVL 10

Accepted Solution

by:
PadawanDBA earned 250 total points
ID: 39728299
I actually wrote a blog on how to estimate compression savings as a function of a balanced scorecard that helps you compare cost vs. benefit on compressing that index.  It can take a while to run (2.5 hours on my production 1.25 TB DB) and it certainly impacts performance.  http://geekswithblogs.net/padawandba/archive/2013/09/04/table-reallyhellipindex-compression-statistics-for-all-tables-in-database.aspx
0
 

Author Closing Comment

by:ZogFromNewJersey
ID: 39736604
very hepful thank you
0

Featured Post

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Simple SQL query from two tables 13 54
Querying data from 3 SQL tables 2 32
sql server tables from access 18 19
Proper Case SQL Command 2 10
Load balancing is the method of dividing the total amount of work performed by one computer between two or more computers. Its aim is to get more work done in the same amount of time, ensuring that all the users get served faster.
The Delta outage: 650 cancelled flights, more than 1200 delayed flights, thousands of frustrated customers, tens of millions of dollars in damages – plus untold reputational damage to one of the world’s most trusted airlines. All due to a catastroph…
Using examples as well as descriptions, and references to Books Online, show the documentation available for date manipulation functions and by using a select few of these functions, show how date based data can be manipulated with these functions.
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

809 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question