Build your own SQLite, Part 2: Scanning large tables