Skip to main content

RANGE

Constant RANGE 

Source
pub const RANGE: u64 = _; // 16_777_216u64
Expand description

How many bytes of the file a range covers.

Small enough that a few hundred megabytes gives every thread several ranges, so a thread that is slowed by something else does not leave the rest waiting on its last range. Large enough that the one record each range finishes past its end, and the guess at where it starts, are nothing next to the range, and that a range of TPC-H lineitem is about the 131,072 rows a native stripe holds, so ranges do not leave many short stripes behind them.