Friday, September 12, 2008

Collation, DateTime, SParse Column and XML : Using SQL Server 2008 Semi-Structured features for Performance Tuning and Application Design (1)

Taking advantage of sparse columns and data compression in SQL 2008.

The above result shows that Page Compression has the best compression rate which is 16% of the original size, and the size of sparse column table is 31%, while row compression is 36%. Data Compression has a nice stored procedure sp_estimate_data_compression_savings which can estiamte the space saving by sampling data into tempdb, and compress the sampled data. The result is listed in “Estimated Saving” column in the table. I will also discuss the changing time later in this blog.

Collation, DateTime, SParse Column and XML : Using SQL Server 2008 Semi-Structured features for Performance Tuning and Application Design (1)

No comments: