Archives

SQL 2008 SPARSE COLUMNS and TDE

I was sitting at home and thinking about some of the different features of SQL 2008 and their interoperability.  Thus I wanted to verify the compatability of SPARSE COLUMNS and Transparent Data Encryption (TDE).  SPARSE columns shows great gains for NULL values and TDE allows you to encrypt your database; I wanted to verify just as with TDE and Data Compression you still get the space savings benefits.  As you can see by the results below it does appear as though databases with TDE enabled to still benefit from SPARSE COLUMNS.  (As a note Backup Compression does not show any benefits when utilized on a TDE enabled database.)

Below are the results (Tables within databases contained identical data):

NORMAL DB:

clip_image002

Table Without SPARSE COLUMNS = 39.063MB

clip_image004

clip_image006

Table With SPARSE COLUMNS = .219MB

clip_image008

clip_image010

TDE DB:

clip_image012

Table Without SPARSE COLUMNS = 39.063MB

clip_image014

clip_image016

Table With SPARSE COLUMNS = .219MB

clip_image018

clip_image020

Share