Skip to main content

Module writer

Module writer 

Source
Expand description

Buffered file writers for splitting SQL statements into per-table files.

Structs§

ParallelWriters
Parallel, pipelined writer pool.
TableWriter
Buffered writer for a single table’s SQL file.
WriterPool
Pool of per-table writers, creating files on demand.

Constants§

WRITER_BUFFER_SIZE
Size of the BufWriter buffer per table file. Sits at the top of the sequential-write plateau (64KB–256KB); overridable via SQL_SPLITTER_WRITE_BUF (bytes) for tuning.

Functions§

write_buffer_size
Resolve the per-file write buffer size, honoring the env override.