name benchmark name (required)
description free text
scaling:
unit label only (not used by engine)
max_id_query SQL -> single int (max unit id)
constants: { k: v } scalars -> const.k
schema:
pre_ddls: [sql] run before CREATE TABLE
tables:
- name
columns: [{name, type}]
primary_key: [col]
access_method USING <m>
storage: { k: v } WITH (k=v)
foreign_keys:
- { name, table, columns, references: { table, columns } }
indexes:
- { name, table, columns, unique, type, include, where }
post_ddls: [sql] run after vacuum
load: (template loaders; ignored if load_script set)
- { table, method, copy_columns, rows_per_id, batch_size, row }
pre_load_script Lua (inline or path), runs once
load_script Lua (inline or path), runs per job over `ids`
transactions:
- { id, name, weight, description, mode, bindings, sql (string | [statements]), script, script_file }
scripts:
modules: [path] Lua preloaded into every VM