Query Page

A query in Minibase follows this path:

Details

There are two ways to return tuples of a query. The first is to return a pointer into the buffer pool to the record. This would only work for simple scans, without projections or joins. The limitations of this method are obvious, and it is made even more difficult because then the low level record space management (heap files for example) would pin the page in the buffer pool and the upper layer would need to unpin the page.

The other method is to copy tuples into dynamically allocated main memory. This is the choice that was made in Minibase.

Back to the Components Page
Back to the Minibase Home Page