NHyDBrun4
R
u
v
Version of 1
lane
NLOverview

NHyDB or dNHyDB?

Both engines are based on the same addressing idea and compute N with the same formula. They differ in scope: NHyDB is the full model, dNHyDB a lean record store.

At a glance

NHyDB dNHyDB
Realms any number one (R1)
Coordinates any size, v up to 10¹⁰⁰ u and v up to 2⁶⁴ − 1
Storage layouts CLASSIC, COLUMN, PACKED, CUSTOM; MATH_MAP BASE records, extensions, free cells
Search value, word, word-part and full-text indexes VALUE index
Queries QueryEngine and NHySQL (read-only) through the interface and iterators
Changes commit and rollback commit, rollback, transactions, commit policies
Readers see the state at opening see the last commit, fetch new states with refresh()
Files three that belong together one
Protection encrypted layout plan –

When to use NHyDB

When you need several separate areas, keep data in different storage forms or want to place values by formula. NHyDB is also the choice if you want to search in texts, sort by relevance or read with SQL. And when coordinates need to go beyond 64 bits.

When to use dNHyDB

When you store records with a fixed structure, plus individual extra fields, and access them quickly by number. A single file is easy to back up. Transactions group changes together, and readers in other processes pick up new states without reopening.

What both have in common

The same address formula, the same N for the same cell in realm 1, a native core in Rust, Python 3.12 to 3.15 on Linux, macOS and Windows, exactly one writer, and committed changes survive a crash. Both are under the same license and have alpha status.

Switching

The file formats differ: neither engine opens a database of the other. If you switch, you write the data again with the other engine.

# NHyDB or dNHyDB? Both engines are based on the same addressing idea and compute N with the same formula. They differ in scope: NHyDB is the full model, dNHyDB a lean record store. ## At a glance | | NHyDB | dNHyDB ||---|---|---|| Realms | any number | one (R1) || Coordinates | any size, v up to 10¹⁰⁰ | u and v up to 2⁶⁴ − 1 || Storage | layouts CLASSIC, COLUMN, PACKED, CUSTOM; MATH_MAP | BASE records, extensions, free cells || Search | value, word, word-part and full-text indexes | VALUE index || Queries | QueryEngine and NHySQL (read-only) | through the interface and iterators || Changes | commit and rollback | commit, rollback, transactions, commit policies || Readers | see the state at opening | see the last commit, fetch new states with `refresh()` || Files | three that belong together | one || Protection | encrypted layout plan | – | ## When to use NHyDB When you need several separate areas, keep data in different storage forms or want to place values by formula. NHyDB is also the choice if you want to search in texts, sort by relevance or read with SQL. And when coordinates need to go beyond 64 bits. ## When to use dNHyDB When you store records with a fixed structure, plus individual extra fields, and access them quickly by number. A single file is easy to back up. Transactions group changes together, and readers in other processes pick up new states without reopening. ## What both have in common The same address formula, the same N for the same cell in realm 1, a native core in Rust, Python 3.12 to 3.15 on Linux, macOS and Windows, exactly one writer, and committed changes survive a crash. Both are under the same license and have alpha status. ## Switching The file formats differ: neither engine opens a database of the other. If you switch, you write the data again with the other engine.