Solved

SQL Server Compression Estimate

Posted on 2013-12-18
4
263 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 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:Lenny Gray
ID: 39736604
very hepful thank you
0

Featured Post

Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

Question has a verified solution.

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

Suggested Solutions

How to leverage one TLS certificate to encrypt Microsoft SQL traffic and Remote Desktop Services, versus creating multiple tickets for the same server.
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
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 datatypes, explain the available data types and show how data can be passed into and out of variables.

734 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