sqlload 0.63.1

SQL data loading tooling.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/// Linux's `ru_maxrss` counts kibibytes (macOS's counts bytes), as `/proc/self/status` does.
pub const KIB: u64 = 1024;

/// Writing `5` to this file resets the process's resident high-water mark (`VmHWM`) to what it holds now (Linux).
pub const CLEAR_REFS: &str = "/proc/self/clear_refs";
pub const RESET_HIGH_WATER_MARK: &str = "5";

/// The file whose `VmHWM:` line holds the process's resident high-water mark, in kB (Linux).
pub const PROCESS_STATUS: &str = "/proc/self/status";
pub const HIGH_WATER_MARK_FIELD: &str = "VmHWM:";

/// Why `--memory-per-table` is refused off Linux.
pub const MEMORY_PER_TABLE_NEEDS_LINUX: &str =
    "--memory-per-table needs Linux; the run's peak is in every report";

/// Why there is no peak memory figure on an OS other than Linux, macOS and Windows.
pub const NO_PEAK_MEMORY: &str = "this OS gives no peak memory figure";