Access Methods

Access method 定義 application 以什麼順序或定位方式讀寫 file。

Main Methods

Intuition

Sequential access 最簡單,適合從頭到尾處理。Direct access 適合 random access,但 caller 要知道位置。Indexed access 讓 caller 用 key 找資料,代價是要維護 index metadata。