← Back to home
Comparison · Analytics

nodbi vs tern

A side-by-side editorial comparison of nodbi and tern — release velocity, themes, recent moves, and the top alternatives to consider.

nodbi vs tern: at a glance

Featurenodbitern
SectorAnalyticsAnalytics
Velocity score0.00.0
Sparks · 30d00
Top themesdocument-databases, json, duckdb, sqliteclinical-trials, tables, r-package, pharmaverse
Last editorial update1h ago59m ago
WebsiteVisit →Visit →

What is nodbi?

One document API over six databases, and every release is spent absorbing their JSON engines' churn

nodbi presents a single document-store interface — docdb_create, docdb_query, docdb_update — over SQLite, DuckDB, PostgreSQL, MongoDB, CouchDB and Elasticsearch. The engineering reality behind that abstraction is that each backend's JSON support keeps moving, and the releases show it: jsonb_tree adopted as RSQLite 2.4.4 exposes it, json_tree reworked for DuckDB 1.3.0, then avoided entirely for DuckDB listfields because it was too slow. The 0.11.0 release in late 2024 is the one that changed the contract, making docdb_query() return columns of a single consistent type.

Read the full nodbi trajectory →

What is tern?

tern is migrating its entire analysis-function catalogue off make_afun(), one release at a time.

tern builds the clinical-trial tables, listings, and graphs layer on top of rtables — occurrence counts, survival summaries, ANCOVA, incidence rates, subgroup and biomarker tabulations. The visible work across the window is a systematic refactor: dozens of analysis functions rewritten to drop make_afun() and adopt a common analysis-function style driven by rtables' additional_fun_params. Feature additions ride along with it.

Read the full tern trajectory →

nodbi vs tern: editorial side-by-side

N
nodbi
ANALYTICS
0.0

One document API over six databases, and every release is spent absorbing their JSON engines' churn

◆ Current state

nodbi presents a single document-store interface — docdb_create, docdb_query, docdb_update — over SQLite, DuckDB, PostgreSQL, MongoDB, CouchDB and Elasticsearch. The engineering reality behind that abstraction is that each backend's JSON support keeps moving, and the releases show it: jsonb_tree adopted as RSQLite 2.4.4 exposes it, json_tree reworked for DuckDB 1.3.0, then avoided entirely for DuckDB listfields because it was too slow. The 0.11.0 release in late 2024 is the one that changed the contract, making docdb_query() return columns of a single consistent type.

◆ Where it's heading

Two threads dominate. The first is performance, pursued backend by backend: fast direct NDJSON import moved from DuckDB-only to SQLite and PostgreSQL, query refactors chasing each DuckDB release, and the removal of expensive tree-walking where a cheaper path exists. The second is making results predictable — consistent column types, version checks on the database backend, clearer messages when a Postgres database does not exist yet or when column names contain the dots nodbi reserves for JSON paths.

◆ Prediction

Given that most recent releases are triggered by DuckDB and RSQLite version changes, the next one likely follows the same pattern — adopting a new JSON function or working around a slow one. The duplicate-_id handling added in 0.14.0 suggests NDJSON ingestion edge cases are the current active area.

T
tern
ANALYTICS
0.0

tern is migrating its entire analysis-function catalogue off make_afun(), one release at a time.

◆ Current state

tern builds the clinical-trial tables, listings, and graphs layer on top of rtables — occurrence counts, survival summaries, ANCOVA, incidence rates, subgroup and biomarker tabulations. The visible work across the window is a systematic refactor: dozens of analysis functions rewritten to drop make_afun() and adopt a common analysis-function style driven by rtables' additional_fun_params. Feature additions ride along with it.

◆ Where it's heading

This is a multi-release architectural migration, not incremental polish. Each release converts another batch of functions, and the count is large — roughly two dozen in the most recent entry alone, after a comparable batch the release before. Alongside it, the denom parameter is being threaded through counting functions and g_lineplot is accumulating layout control, both patterns of standardising arguments that previously varied per function.

◆ Prediction

The refactor should continue until the make_afun() dependency is gone entirely, with the remaining tabulate_* and biomarker functions the likely next batch; the entries give no date for completion.

Alternatives to nodbi and tern

Other Analytics products tracked by Sparkpulse, ranked by recent ship velocity. Each card links to a full editorial trajectory and lets you pivot into a head-to-head comparison with either nodbi or tern.

See all nodbi alternatives → · See all tern alternatives →

Recent activity from nodbi and tern

Latest ship moves from both products, interleaved chronologically. ⚡ = editorial spark.

  1. 8mo agonodbijsonb_tree adopted; $in string queries and duplicate _id handling fixed
  2. 1y agonodbiDuckDB version parsing and listfields fix
  3. 1y agonodbidocdb_query reworked for DuckDB 1.3.0
  4. 1y agoternTwo dozen more analysis functions drop make_afun()
  5. 1y agonodbiNDJSON writing delegated to DuckDB's internal function
  6. 1y agoterndenom threading, custom statistics, and compare_vars merged in
  7. 1y agonodbiQuery results get consistent column types; fast NDJSON import reaches SQLite and Postgres
  8. 1y agonodbiQuery and file-import speedups via newer DuckDB features
  9. 1y agoternRisk-difference columns for subgroup tables
  10. 2y agoterng_lineplot gains faceting and axis controls

Frequently asked questions

What is the difference between nodbi and tern?

They serve adjacent needs but don't currently overlap on shipped themes. nodbi and tern are shipping at a similar cadence (velocity 0.0 vs 0.0, both within Sparkpulse's "active" band). See the at-a-glance table above for a side-by-side breakdown of velocity, recent sparks, and editorial themes.

Is nodbi better than tern?

Sparkpulse doesn't pick a winner — we score release velocity, not feature parity. nodbi and tern are shipping at a similar cadence (velocity 0.0 vs 0.0, both within Sparkpulse's "active" band). For your specific use case, the alternatives sections above list other Analytics products to evaluate alongside.

What are the best alternatives to nodbi?

Top nodbi alternatives in Analytics are ranked by recent ship velocity. Browse the "nodbi alternatives" section above for the current picks, or visit /alternatives/nodbi for the full list with editorial commentary on each.

What are the best alternatives to tern?

Top tern alternatives in Analytics are ranked by recent ship velocity. Browse the "tern alternatives" section above for the current picks, or visit /alternatives/tern for the full list with editorial commentary on each.