benclmnt / papers

Summary of my readings
1 stars 0 forks source link

Weaving Relations for Cache Performance (Ailamaki, VLDB 2001) #13

Open benclmnt opened 1 year ago

benclmnt commented 1 year ago

This paper proposes a new page layout which improves cache efficiency.

image

The classic "slotted page" layout is shown above. It is great for accessing data record-by-record, but it exhibits poor cache usage during predicate evaluation because it brings other unused data into the cache line.

image

Compare this to PAX, where subsequent data are passively "prefetched" as it is brought together into the cache. This lead to better cache efficiency. However, PAX needs to reconstruct tuples, although this cost is minimal (no changes in IO).

PAX contains the same set of tuples as classic "slotted page", so it exhibits the same IO patterns. It only reorders the inner page layout.

Question: