In detail
About the license
Only the English license text is binding: LICENSE.md for NHyDB · LICENSE.md for dNHyDB. This summary does not replace it.
Periods. A time-limited use begins with the first actual execution, including that of a test – downloading and reading the source code do not count. It runs once per licensee and product; a new computer, a different employee or a new version does not reset it. Research within a company falls under the three months for companies.
Not permitted without written permission: passing it on to third parties, publishing modified versions, building it into products or services for third parties. An unmodified fork on GitHub is permitted but grants no further rights.
Permitted: publishing your own scientific results and benchmark findings, as long as the software itself is not passed on.
Extensions, collaborations, commercial licenses: on written request.
Known limits of NHyDB 0.28.2
- One writing object per database, even within one process. Further readers open with
nhydb.open(path, readonly=True) and see the committed state at the time of opening.
- Threads: read queries may share an object; a write on an object that another thread is currently using raises
RuntimeError.
rollback() acts per object; there are no nested transactions. The with block commits on exit, even after an exception.
- Without the matching
*.layout.key the database does not open; a lost key cannot be recovered. While the database is open, key material is held in memory.
- Renamed database files do not open; to move a database, use
compact_file(output=...).
- NHySQL only reads (
SELECT) and works on CLASSIC layouts, without DISTINCT, HAVING and joins.
- Indexes cover CLASSIC records.
- CUSTOM layouts need their plugin registered again after every open.
- NumPy coordinates (
u, v) are limited to uint64; larger values go through Python lists.
- Durability
full reports an error on macOS if the file system does not support F_FULLFSYNC.
Complete list: README, “Known limitations” · Cookbook, section 26
Known limits of dNHyDB 0.3.0
- Only realm R1 and the CLASSIC layout; u and v as
u64; integers up to 128 bits; no query language.
- One writer at a time (lock on
<file>.lock); readers call refresh() for newer commits.
None is not allowed in BASE fields – optional values belong in extensions or free cells.
- The VALUE index is the only index type and is not updated automatically.
- Transactions cannot be nested and belong to one process.
- On macOS, durability
full falls back to fsync without an error message if the file system rejects F_FULLFSYNC.
- Windows: replacing the file while readers are open (compaction) requires Windows 10 or later with NTFS.
Complete list: README, “Known limitations” · Cookbook, section 21
NHyDB files begin with NHYDB and the version bytes 0, 28, 2. Files from NHyDB 0.28.0, 0.27.1 and older fail to open with a CorruptionError that names the format; the file remains unchanged. dNHyDB 0.3.0 uses the format identifier NHYDB014. Neither engine opens the other’s files.
Achim Meissner – achim.meissner@nhydb.de
# In detail ## About the license **Only the English license text is binding:** [LICENSE.md for NHyDB](https://github.com/nhydb-run4/NHyDB/blob/main/LICENSE.md) · [LICENSE.md for dNHyDB](https://github.com/nhydb-run4/dNHyDB/blob/main/LICENSE.md). This summary does not replace it. **Periods.** A time-limited use begins with the first actual execution, including that of a test – downloading and reading the source code do not count. It runs once per licensee and product; a new computer, a different employee or a new version does not reset it. Research within a company falls under the three months for companies. **Not permitted** without written permission: passing it on to third parties, publishing modified versions, building it into products or services for third parties. An unmodified fork on GitHub is permitted but grants no further rights. **Permitted:** publishing your own scientific results and benchmark findings, as long as the software itself is not passed on. **Extensions, collaborations, commercial licenses:** on written request. ## Known limits of NHyDB 0.28.2 - One writing object per database, even within one process. Further readers open with `nhydb.open(path, readonly=True)` and see the committed state at the time of opening.- Threads: read queries may share an object; a write on an object that another thread is currently using raises `RuntimeError`.- `rollback()` acts per object; there are no nested transactions. The `with` block commits on exit, even after an exception.- Without the matching `*.layout.key` the database does not open; a lost key cannot be recovered. While the database is open, key material is held in memory.- Renamed database files do not open; to move a database, use `compact_file(output=...)`.- NHySQL only reads (`SELECT`) and works on CLASSIC layouts, without `DISTINCT`, `HAVING` and joins.- Indexes cover CLASSIC records.- CUSTOM layouts need their plugin registered again after every open.- NumPy coordinates (`u`, `v`) are limited to `uint64`; larger values go through Python lists.- Durability `full` reports an error on macOS if the file system does not support `F_FULLFSYNC`. Complete list: [README, “Known limitations”](https://github.com/nhydb-run4/NHyDB#known-limitations) · [Cookbook, section 26](https://github.com/nhydb-run4/NHyDB/blob/main/docs/cookbook/PYTHON_COOKBOOK.md#26-known-limitations) ## Known limits of dNHyDB 0.3.0 - Only realm R1 and the CLASSIC layout; u and v as `u64`; integers up to 128 bits; no query language.- One writer at a time (lock on `<file>.lock`); readers call `refresh()` for newer commits.- `None` is not allowed in BASE fields – optional values belong in extensions or free cells.- The VALUE index is the only index type and is not updated automatically.- Transactions cannot be nested and belong to one process.- On macOS, durability `full` falls back to `fsync` without an error message if the file system rejects `F_FULLFSYNC`.- Windows: replacing the file while readers are open (compaction) requires Windows 10 or later with NTFS. Complete list: [README, “Known limitations”](https://github.com/nhydb-run4/dNHyDB#known-limitations) · [Cookbook, section 21](https://github.com/nhydb-run4/dNHyDB/blob/main/docs/cookbook/PYTHON_COOKBOOK.md#21-limits-of-dnhydb) ## About the file format NHyDB files begin with `NHYDB` and the version bytes 0, 28, 2. Files from NHyDB 0.28.0, 0.27.1 and older fail to open with a `CorruptionError` that names the format; the file remains unchanged. dNHyDB 0.3.0 uses the format identifier `NHYDB014`. Neither engine opens the other's files. ## Contact Achim Meissner – [achim.meissner@nhydb.de](mailto:achim.meissner@nhydb.de)