Brent Ozar 8/19/2026

Database Animations: The Difference Between Row Compression and Page Compression

Read Original

This article by Brent Ozar explains the difference between SQL Server's row compression and page compression. It describes how row compression converts fixed-length datatypes to variable-length, saving space for small values, while page compression adds a dictionary for repeated data, achieving more compression at higher CPU cost. Using the Stack Overflow Users table as an example, it illustrates the impact on storage and discusses edge cases like NVARCHAR. The article is aimed at database professionals looking to optimize storage and performance.

Database Animations: The Difference Between Row Compression and Page Compression

Comments

No comments yet

Be the first to share your thoughts!

Browser Extension

Get instant access to AllDevBlogs from your browser