Worked example
Records per full file: 20
Inputs
- Data records: 105
- Templates generated per record: 3
- Bytes per rendered record per template: 1000
- Maximum output file bytes: 50000
- Fixed bytes per file: 1000
- Maximum records per output file: 20
Each template produces a separate set of files with equal per-record size.
Use the units shown.
Minimum of record cap and roundDown((byte cap − fixed file bytes) ÷ bytes per record).
Round up record count ÷ capacity. Zero records produce no files.
Files per template × template count.
List consecutive inclusive 1-based record ranges for each template.
Fixed bytes + final batch record count × bytes per record; zero when no files exist.
Each template produces a separate set of files with equal per-record size. Packs consecutive records by the smaller record-count and byte cap. File ranges are the same for every template. At most 1,000 batches per template are displayed.
OpenStax: percentages and proportions ↗Records per full file: 20
Records per full file: 4