?
Solved

SQL Server Compression Estimate

Posted on 2013-12-18
4
Medium Priority
?
271 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:Lenny Gray
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
4 Comments
 
LVL 19

Assisted Solution

by:jss1199
jss1199 earned 600 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 400 total points
ID: 39728202
Use proc:

sp_estimate_data_compression_savings
0
 
LVL 10

Accepted Solution

by:
PadawanDBA earned 1000 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:Lenny Gray
ID: 39736604
very hepful thank you
0

Featured Post

Back Up Your Microsoft Windows Server®

Back up all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Question has a verified solution.

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

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.
In part one, we reviewed the prerequisites required for installing SQL Server vNext. In this part we will explore how to install Microsoft's SQL Server on Ubuntu 16.04.
Familiarize people with the process of utilizing SQL Server functions from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Microsoft Ac…
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.
Suggested Courses

765 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