mtree build

November 20, 2025 · View on GitHub

Builds a Merkle tree for a table on all nodes (after mtree init).

Usage

./ace mtree build [flags] [cluster] <schema.table>

Arguments

  • [cluster] — Optional; overrides default_cluster.

Flags

FlagAliasDescriptionDefault
--dbname-dDatabase name
--nodes-nNodes to include (comma or all)all
--block-size-bRows per leaf block10000
--max-cpu-ratio-mMax CPU ratio for parallel ops0.5
--override-block-size-BSkip safety checksfalse
--analyse-aRun ANALYZE before buildfalse
--recreate-objects-RDrop & recreate Merkle objectsfalse
--write-ranges-wWrite computed ranges JSONfalse
--ranges-file-kUse pre-computed block ranges
--quiet-qSuppress outputfalse
--debug-vDebug loggingfalse

Example

./ace mtree build --dbname=mydatabase my-cluster public.my_table