Skip to main content

Module partition

Module partition 

Source

Structs§

PartitionParams
Settings for partition_table, bundled to make it harder to accidentally put arguments in the wrong order.

Functions§

partition_table
Computes up to num_workers - 1 partition boundaries that divide the primary key space into num_workers roughly even partitions. At most max_probed_prefixes prefixes are probed in MySQL to bound the time spent. Each prefix probe costs a few queries that should each be quick (index dives, instead of table scans).