Alex Rivera | Logout

SQL Server 2008 Page/Row Compression Thoughts

Asked 2009-05-08T04:35:46.740
14

Have other people here played with SQL Server 2008 Compression at either the page or the row level on their datasets much? What have your impressions been on performance both speed and disk-space wise?

Has anyone ever seen compression demonstrably hurt performance?

On some of our huge fact tables we've been playing around and noticing that compression can make a hugely beneficial query speed difference on both tables and its indexes. It's also been saving a lot of disk space (~50% on some data). Our hardware setup is severely disk/io bound relative to the processor and compression so far seems like a trivially easy performance win for us.

Edit
Report

1 Answer

13

Old question, but from experience, a simple rule of thumb is:

  • for non-BLOB data row-store page compression ratio is between 3 and 4 times
  • for non-BLOB data column-store compression ratio is between 9 and 11 times

Linchi Shea articles seem to be behind a login now....

Linchi Shea has posted some interesting articles on this topic:

This might also be of interest:

The SQL Server Storage Engine blog als

answered 2009-05-08T06:40:10.607

Your Answer