• Partitioning Data
• Compressing Data
• Temporal Tables
Lesson 1: Partitioning Data
• Data compression:
• Helps save storage space
• Improves performance for workloads requiring heavy
disk I/O activity, as queries accessing compressed data
retrieve fewer pages
• Can be added to the following objects:
• Tables stored as heaps
• Tables stored as clustered indexes
• Nonclustered indexes
• Indexed views
• Individual partitions
• Spatial indexes
Page Compression
• Page compression:
• Adds a compression information (CI) structure below
the page header on each compressed page
• Takes advantage of data redundancy to claim space
• Row compression:
• Saves space by storing fixed length data types as
variable length, such as integer types
• Does not work with variable length data types, XML,
image, text and ntext
• Adds an extra four bits to each compressed column to
store the length of the data type
• For NULL values, the four bits is the only space consumed
Unicode Compression
Logon Information
Virtual machine: 20762C-MIA-SQL
User name: ADVENTUREWORKS\Student
Password: Pa55w.rd
• Review Question(s)
• Best Practice