




















Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
An overview of data representation in database systems, including fields, records, blocks, and variable-length data. It covers topics such as representing data types, tuples, record headers, packing records into blocks, and addressing. The document also discusses pointer swizzling, automatic swizzling, and unswizzling, as well as pinned records and blocks, and record modification.
Typology: Slides
1 / 28
This page cannot be seen from the preview
Don't miss anything!





















Fields, Records, Blocks Variable-length Data Modifying Records
4
0 30 286 287 297
name CHAR(30) 30 bytes
address VARCHAR(255) 256 bytes
gender CHAR(1) 1 byte
birthdate DATE 10 bytes
5
0 32 288 292 304
name CHAR(30) 30 bytes
address VARCHAR(255) 256 bytes
gender CHAR(1) 1 byte
birthdate DATE 10 bytes
7
header record 1 record 2 (^) … record n-1 record n
11
Block 1
Block 2
Disk Main Memory
read into main memory (^) swizzled
unswizzled
Docsity.com
19
other header info
record length
to var len field 2
var len field 2
var len field 3
fixed len field 2
var len field 1
fixed len field 1
to var len field 3