[prev] 61 [next]

Converting Records to Tuples

A Record is an array of bytes (byte[])
  • representing the data values from a typed Tuple
A Tuple is a collection of named,typed values
  • analogous to a struct in C
Information on how to interpret the bytes as typed values
  • will be contained in schema data in DBMS catalogue
  • may be stored in the header for the data file
  • may be stored partly in the record and partly in the schema
For variable-length records, some formatting info ...
  • must be stored in the record or in the page directory