improve.dk
Just another mindless drone looking for the perfect stack
posts - 220, comments - 475

SQL Server: Sparse Columns


The null bitmap is *not* always present in data records

Written on Friday, July 15, 2011 by Mark S. Rasmussen in SQL Server: Internals, SQL Server: Null Bitmap, SQL Server: Sparse Columns

Contrary to popular belief, the null bitmap is not always present in data records. Here's an example of a data record that doesn't contain a null bitmap due to using sparse columns.

5 comments | Read comments
 

Sparse column storage – the sparse vector

Written on Friday, July 15, 2011 by Mark S. Rasmussen in SQL Server: Internals, SQL Server: Sparse Columns

Sparse columns are stored entirely different from normal fixed length and variable length columns. This post demonstrates & parses the sparse vector structure which stores the sparse columns.

No comments | Write first comment
 

Identifying complex columns in records

How do we distinguish a normal variable length column value from one containing a complex value like a row-overflow pointer, back pointer or a sparse vector?

No comments | Write first comment