[prev] 6 [next]

Pipelining

How pipelining is organised between two operators:
  • operators execute "concurrently" as producer/consumer pairs
  • structured as interacting iterators (open; while(next); close)
Advantage:
  • no requirement for disk access (results passed via memory buffers)
Disadvantage:
  • higher-level operators access inputs via linear scan,   or
  • requires sufficient memory buffers to hold all outputs