Skip to content

JouleDB v0.12.0 — 46x Lower SF=10 .jcol RSS (755 MB), 2.2x Faster SF=10 TPC-H & JWU1 NVMe OLTP

Latest

Choose a tag to compare

@dcharlot65-openie dcharlot65-openie released this 26 Nov 20:17

JouleDB v0.12.0 — Pre-1.0 Research Preview

v0.12.0 resolves the out-of-core .jcol post-load memory bloat at TPC-H SF=1.0 / SF=10.0, cuts SF=10.0 (86.6M rows) end-to-end query latency by 2.20×, narrows the durable NVMe c=16 pgwire OLTP gap against PostgreSQL 16 via binary JWU1 delta UPDATE WAL + 64-shard table_id_shards, and fixes node-postgres untyped parameter coercion and macOS libpq GSSENCRequest negotiation.

Verified Bare-Metal Highlights (AMD Ryzen AI Max+ 395, 16C/32T, physical NVMe, perf_event AMD RAPL)

  • Disjoint JCOL_ID_TAG (1 << 62) Namespace & Owned-Batch Parquet Streaming:
    • Separated .jcol row IDs from dense AmorphicStore VSA hologram slots (1,280 B/slot), collapsing TPC-H SF=10.0 (86,586,082 rows) post-load steady-state RSS 46.1× (34,809.5 MB -> 755.3 MB, VmHWM = 15,586.4 MB) and SF=1.0 (8,661,245 rows) post-load RSS 28.6× (5,769.3 MB -> 201.4 MB, VmHWM = 1,561.8 MB).
  • Official 22-Query TPC-H Exactness & Speedups vs DuckDB 2.0.1:
    • SF=0.1 (866,602 rows): 22 / 22 (100%) exact, 5 / 22 faster than DuckDB (Q22: 0.53×, Q11: 0.53×, Q02: 0.80×, Q20: 0.83×, Q16: 0.97×), 253.0 ms total vs 88.2 ms (1.99× geomean).
    • SF=1.0 (8,661,245 rows): 22 / 22 (100%) exact, 1,779.0 ms (1.78 s) total (1.57× faster than v0.11.0) vs DuckDB 478.0 ms (4.33× geomean, 3.60× median).
    • SF=10.0 (86,586,082 rows): 22 / 22 (100%) exact (0 errors), 15,464.6 ms (15.46 s) total (2.20× faster than v0.11.0 34.06 s) vs DuckDB 1,916.2 ms (8.49× geomean, 8.38× median — cut nearly in half from 16.03×; Q17: 88.6 ms [17.2× faster], Q20: 99.7 ms [6.59× faster], Q18: 1,799.8 ms [6.29× faster]).
  • Durable fsync=on pgwire OLTP (100 Warehouses / 100,000 Accounts on Physical NVMe /var/tmp):
    • Binary JWU1 UpdateFields WAL codec + deferred-hologram UPDATE + 64-shard table_id_shards: beats PostgreSQL 16.16 1.63× at c=1 Simple (1,950.5 vs 1,199.7 TPS, 13.39 vs 45.79 mJ/txn) and reaches 5,154.1 TPS Simple / 5,159.7 TPS Extended Pipeline at c=16 vs PostgreSQL 10,419.4 / 9,635.6 TPS (2.02× / 1.87× gap, narrowed from 2.91× / 2.61× in v0.11.0), with invariant_verified = true and 0 errors across all runs.
  • pgwire Client Protocol Compatibility & Ledger Exactness:
    • Fixed untyped parameter coercion (oid == 0) for node-postgres (5 / 5 green) and PostgreSQL v12+ GSSENCRequest (80877104 -> N) for macOS libpq/psql.
    • Added Kulisch exact fixed-point joule accumulation (crates/joule-db-ledger/src/kulisch.rs) and env!("CARGO_PKG_VERSION") self-check synchronization across all 41 panic-linted workspace crates (747,620 Rust LOC, 12,272 tests).

Install & Assets

  • Rust CLI / Server: cargo binstall jouledb@0.12.0 (fetches prebuilt .tar.gz below)
  • Claude Desktop / Cowork Extension: Download the .mcpb bundle for your OS/CPU (jouledb-0.12.0-<target>.mcpb)
  • Python Wheels (cp39-abi3) & TypeScript SDK (@openie/jouledb): Attached directly to this release (pip install <wheel-url>, npm install <tgz-url>)
  • Honest Boundaries & Disclosures: Pre-1.0 research preview (external_audit_performed = false on compliance control helpers; reported_j hardware RAPL vs est_j analytical estimates tagged explicitly; see https://jouledb.org/honest).

Full Changelog: v0.11.0...v0.12.0