One query, page by page, through a database built for ontologies

OntoDB stores RDF as 64-bit ids in B+ trees and answers SPARQL with a cost-based optimizer, a buffer pool and a write-ahead log. Everything below was printed by the real shell: its plans, its trees, every page the buffer pool fetched while it answered one LUBM query, and what it did after an abrupt exit.

Graduate students in GraduateCourse0, from SPARQL to rows

LUBM query 1 on one university, recorded with \trace on. Each step is one thing the engine did, in the order it did it, with the pages it pinned. Use the bar at the bottom, or the arrow keys.

Plan

Buffer pool

The store's pages

Detail