Avoid reading the entire batch into memory; also simplify streaming logic

Additionally, address formatting comments.
Typo: phyiscal -> physical