Skip to main content

stream_zst_pidbox_to_sqlite

Function stream_zst_pidbox_to_sqlite 

Source
pub fn stream_zst_pidbox_to_sqlite(
    zst_path: &Path,
    output_path: &Path,
    limit: usize,
) -> Result<usize>
Expand description

Like stream_pidbox_to_sqlite but reads directly from the zstd-compressed pidbox file without decompressing it to disk first. Requires the database to be well-organised (VACUUM’d or sequential bulk inserts) so that pages appear in DFS pre-order.