[prev] 26 [next]

Page Formats

Ultimately, a Page is simply an array of bytes (byte[]).

We want to interpret/manipulate it as a collection of Records.

Typical operations on Pages:

  • request_page(pid) ... get page via its PageId
  • get_record(rid) ... get record via its TupleId
  • rid = insert_record(pid,rec) ... add new record into page
  • update_record(rid,rec) ... update value of specified record
  • delete_record(rid) ... remove a specified record from a page
Note: rid typically contains (PageId,TupIndex), so no explicit pid needed