The planner picks one plan, a tree of steps. This lesson is about the next question: how do those steps hand data to each other once the plan starts to run.
Before you start.The plan, running showed a plan as a tree where each step asks the step below for the next row, and said analytic engines hand up a batch instead. Database 07: The Query Layer built that one-row-at-a-time tree by hand. Pages & Heap Files showed that a column store keeps each column in its own pages, so one question reads only the columns it names. This lesson explains why handing up a batch is faster, and why a column that is stored alone also gets small.
Lesson 12 of 26 in Database Internals
The rest of this lesson is part of a plan.
A plan opens every lesson, board, video, lab and paper on chalk. Yearly is $39/year.