Part 1. Where and How Is Data Stored?
A database manages records (rows) in units of pages. This part looks at how data is actually stored and retrieved inside a database.
Chapter 1. Records and Pages
- 1.1 Page-Level I/O
- 1.2 Internal Structure of a Page
- 1.3 When a Record Is Larger Than a Page
- 1.4 When a Record Is Updated
- 1.5 The Buffer Pool
- 1.6 Buffer Pool Management Rules by Database
- 1.7 Double Buffering
- 1.8 Differences Between DBMSs
- 1.9 Practical Tips
- 1.10 Chapter 1 Summary
Chapter 2. The Catalog
- 2.1 The Catalog Is Also a Table
- 2.2 Querying the Catalog
- 2.4 When Bytes Become a Record
- 2.4 DDL Modifies the Catalog
- 2.5 Can DDL Be Rolled Back?
- 2.6 Differences Between DBMSs
Chapter 3. B+Tree and Indexes
- 3.1 Without an Index: Full Scan
- 3.2 B+Tree
- 3.3 Insertion and Page Split
- 3.4 Two Typical Ways to Store Data: Heap and Clustered
- 3.5 Secondary Indexes
- 3.6 Multi-Column Indexes
- 3.7 An Index That Avoids Reading Table Pages: Covering Index
- 3.8 An Index That Holds Only Rows Matching a Condition: Filtered Index
- 3.9 Index Write Cost
- 3.10 Practical Tips
- 3.11 Chapter 3 Summary