Skip to content
This repository was archived by the owner on Nov 21, 2026. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion benchmarks/experiments/FAIRNESS.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ Fitting the pool is resource fitting, the first of the four sanctioned override
| Memgraph 3.13.1 (2026-09-17) | `SHOW CONFIG` under `--cpuset-cpus 0-11` on a 16-CPU laptop: `bolt_num_workers` 16 and `storage_snapshot_thread_count` 16, both documented as "the number of processing units available on the machine"; 51 tasks in `/proc/1/task` at idle. Its memory limit is host-sized the same way (`memory_limit` 0 reported as 30.35 GiB inside an 8g container) | **host**; fitted: runner passes `--bolt-num-workers={ncpu}`, `--storage-snapshot-thread-count={ncpu}` and `--memory-limit` at 90% of the cap, and the adapter reads all three back onto the row (`memgraph_bolt_workers`, `memgraph_snapshot_threads`, `memgraph_memory_limit_mib`; 12, 12, 7372 on the laptop smoke at an 8g cap) The cross-model arm (`memgraph_e2`, from the 26.10.1 measurement) gets the same flags and reads the same settings back. |
| FalkorDB 4.20.6 (2026-09-17; 6.0.1 from 2026-10-02 sizes the query pool from the cpuset, `THREAD_COUNT` 4 under a 4-CPU cpuset, and keeps the explicit setting) | startup log under the same cpuset: "Thread pool created, using 16 threads" and "Maximum number of OpenMP threads set to 12"; `GRAPH.CONFIG GET THREAD_COUNT` 16, `OMP_THREAD_COUNT` 12. The query pool reads the host's logical cores, the GraphBLAS pool reads the affinity mask | **host** for the query pool, cpuset for OpenMP; fitted: runner passes `THREAD_COUNT {ncpu}` in `FALKORDB_ARGS`, the log then reads "using 12 threads" and the adapter records `falkordb_thread_count` and `falkordb_omp_threads` from `GRAPH.CONFIG GET` (12 and 12 on the laptop smoke) |
| LadybugDB 0.20.4 (2026-09-29, BUGS F160) | not audited on 2026-08-01 nor listed as owed; found from LadybugDB/ladybug#1070: `CALL current_setting("threads")` reads the host's CPU count under a cpuset (16 under `--cpuset-cpus 4-7` on the 16-CPU laptop, affinity 4), which is 20 on mini's 12-CPU cells, and the buffer pool defaults to 0.8 of physical RAM, about 49 GB against the 24 GB cell cap. A laptop A/B on the lane's own adapter at 20 against 12 threads put its reads 12-28% slow and its writes 12% fast | **host**; fitted 2026-09-29: the adapter passes `max_num_threads` from `sched_getaffinity` and `buffer_pool_size` at 0.8 of the cgroup `memory.max`, reads the thread count back, and records `ladybug_threads` and `ladybug_buffer_pool_mib` (4 and 3276 in a 4-CPU, 4 GB container); its rows are re-run in the 26.10.1 measurement. The cross-model arm (`ladybug_e2`, from the 26.10.1 measurement) opens through the same fit and records `ladybug_threads` and `ladybug_buffer_pool_mib`. |
| PostgreSQL + AGE 1.8.0 on PostgreSQL 18.6 (2026-10-02, both AGE arms) | `SHOW` under an 8-CPU cpuset and a 16 GiB cap: `max_parallel_workers_per_gather` 2 and `work_mem` 4MB, PostgreSQL's fixed defaults rather than host-sized ones, so not F6's bug as stated; but every other engine's pools reach the cell's cores and cap, and these reach 3 of 12 cores and spill rather than use the cap. Measured on the full SF1 network (`repros/age-dialect/resource_fit_probe.py`): workers fitted to the cpuset made LSQB q2 1.8x faster and q4, q5, q7 1.1-1.25x; `work_mem` fitted from the cap cut temp-file spill from 42 GB to 0.7 GB per analytics pass at no net time cost, with no OOM kill; four times that bought nothing | **fixed default**; fitted: the runner passes `max_parallel_workers_per_gather` and `max_parallel_maintenance_workers` = cpuset - 1, `max_parallel_workers` = cpuset, and `work_mem` = (cap x 0.75) / (cpuset x 16), and the graph adapter reads every one back onto the row (`pg_*`); the cross-model rows carry them in `server_cmd` |
| PostgreSQL + AGE 1.8.0 on PostgreSQL 18.6 (2026-10-02, both AGE arms) | `SHOW` under an 8-CPU cpuset and a 16 GiB cap: `max_parallel_workers_per_gather` 2 and `work_mem` 4MB, PostgreSQL's fixed defaults rather than host-sized ones, so not F6's bug as stated; but every other engine's pools reach the cell's cores and cap, and these reach 3 of 12 cores and spill rather than use the cap. Measured on the full SF1 network (a one-off probe on 2026-10-02, not kept in the repository): workers fitted to the cpuset made LSQB q2 1.8x faster and q4, q5, q7 1.1-1.25x; `work_mem` fitted from the cap cut temp-file spill from 42 GB to 0.7 GB per analytics pass at no net time cost, with no OOM kill; four times that bought nothing | **fixed default**; fitted: the runner passes `max_parallel_workers_per_gather` and `max_parallel_maintenance_workers` = cpuset - 1, `max_parallel_workers` = cpuset, and `work_mem` = (cap x 0.75) / (cpuset x 16), and the graph adapter reads every one back onto the row (`pg_*`); the cross-model rows carry them in `server_cmd` |
| PostgreSQL 18.6 arms: `postgres_tuned`, `timescaledb`, `pgvector_dense`, `pgvector_sparse`, and the new `postgres_ts` (2026-10-02) | the same fixed defaults as AGE's (2 workers per query, a pool of 8, `work_mem` 4MB; `postgres_tuned` carried a constant 64MB). Same-run A/B on the laptop, defaults against fitted (`BENCH_PG_FIT=off`), answers identical in every pair, no OOM kill: TPC-H Q1 at SF1 on `postgres_tuned` 1.47x faster fitted, Q6 1.13x; the plain-table time series' per-host hourly aggregate 1.35x, its other queries unchanged, and q_last on the same plan either way (EXPLAIN, interleaved in one session); TimescaleDB unchanged within run noise; pgvector dense and sparse search unchanged and recall equal (0.997 and 0.94 both ways), the HNSW build a little faster with more maintenance workers | **fixed default**; fitted with AGE's rule through `runner.PG_FIT_CMD` on every PostgreSQL arm except `postgres`, the defaults arm by design; the time-series arms read every setting back onto the row (`pg_*`), the others carry them in `server_cmd`. `BENCH_PG_FIT=off` exists for the A/B only |

The comparators this audit did not cover (MongoDB, QuestDB, SurrealDB, SQLite, and ArangoDB) are not yet audited, and memory pools have been checked for a host-sized default only where one was found (Memgraph's memory limit and LadybugDB's buffer pool, BUGS F160); CAMPAIGN.md section 7, item 20 carries both.
Expand Down
2 changes: 1 addition & 1 deletion benchmarks/experiments/PAGE-SPEC.md
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ Six maximum. A figure per table is a gallery, not an argument.
| `f7_e2_hybrid` | published | cross-model transaction latency |
| `f8_deployment` | published | embedded against server across result sizes; refuses to draw across two pins |
| `f6_memory_ceiling` | generated (`results/generated/figures`), not on the page | peak anon at DEEP-10M, ArcadeDB bars at the 24g heap |
| `f3_sparse_perquery` | not built (CAMPAIGN.md section 7, row 35) | per-query latency against summed posting length (Spearman 0.95 on the pre-pin rows) |
| `f3_sparse_perquery` | not drawn: `make_paper_figures.py` has it and skips it until every `results/sparse_cliff.jsonl` row carries an engine version (CAMPAIGN.md section 7, row 35) | per-query latency against summed posting length (Spearman 0.95 on the pre-pin rows) |
| `f9_build_cost` | not built (CAMPAIGN.md section 7, row 35) | build seconds per engine per lane, log scale. The largest ArcadeDB deficit on the page and currently only trailing columns. |
| `f10_lifecycle` | candidate, not built (CAMPAIGN.md section 7, row 35) | close ms against rows, per situation, log-log |

Expand Down
2 changes: 1 addition & 1 deletion bindings/python/docs/api/database.md
Original file line number Diff line number Diff line change
Expand Up @@ -855,7 +855,7 @@ load many vertices and edges efficiently.
- `batch_size`: buffered edge batch size
- `expected_edge_count`: tuning hint for large graph loads
- `light_edges`: create property-less edges as light edges
Warning: from ArcadeDB 26.11.1, `light_edges=True` raises `ArcadeDBError` from `new_edge` for an edge type that is not declared `LIGHTWEIGHT`; declare it with `CREATE EDGE TYPE ... LIGHTWEIGHT` or leave the option out. On 26.10.1 and earlier the load succeeds but an openCypher one-hop `count(*)` over those edges answers 0, and a graph loaded that way stays wrong; see [Known Engine Issues](../guide/known-issues.md#an-opencypher-one-hop-count-answers-0-for-edges-loaded-with-light_edgestrue-into-a-type-that-is-not-lightweight) for the workaround.
Warning: from ArcadeDB 26.10.2, `light_edges=True` raises `ArcadeDBError` from `new_edge` for an edge type that is not declared `LIGHTWEIGHT`; declare it with `CREATE EDGE TYPE ... LIGHTWEIGHT` or leave the option out. On 26.10.1 and earlier the load succeeds but an openCypher one-hop `count(*)` over those edges answers 0, and a graph loaded that way stays wrong; see [Known Engine Issues](../guide/known-issues.md#fixed-in-26102).
- `commit_every`: commit cadence during flush
- `use_wal`: enable WAL for higher durability
- `parallel_flush`: parallelize flush/close work
Expand Down
2 changes: 1 addition & 1 deletion bindings/python/docs/api/graph_batch.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ Create a configured batch helper tied to the current database.
a single flush is the optimal shape
- `edge_list_initial_size`: initial size in bytes of each vertex's edge segment
- `light_edges`: create property-less light edges when appropriate
Warning: from ArcadeDB 26.11.1, `light_edges=True` raises `ArcadeDBError` from `new_edge` for an edge type that is not declared `LIGHTWEIGHT`; declare it with `CREATE EDGE TYPE ... LIGHTWEIGHT` or leave the option out. On 26.10.1 and earlier the load succeeds but an openCypher one-hop `count(*)` over those edges answers 0, and a graph loaded that way stays wrong; see [Known Engine Issues](../guide/known-issues.md#an-opencypher-one-hop-count-answers-0-for-edges-loaded-with-light_edgestrue-into-a-type-that-is-not-lightweight) for the workaround.
Warning: from ArcadeDB 26.10.2, `light_edges=True` raises `ArcadeDBError` from `new_edge` for an edge type that is not declared `LIGHTWEIGHT`; declare it with `CREATE EDGE TYPE ... LIGHTWEIGHT` or leave the option out. On 26.10.1 and earlier the load succeeds but an openCypher one-hop `count(*)` over those edges answers 0, and a graph loaded that way stays wrong; see [Known Engine Issues](../guide/known-issues.md#fixed-in-26102).
- `bidirectional`: store each edge on both vertices (the default) or on its source only.
Pass `False` only for an edge type declared one-way (`CREATE EDGE TYPE ...
UNIDIRECTIONAL`). A one-way edge in a two-way type (the default `CREATE EDGE TYPE`)
Expand Down
9 changes: 5 additions & 4 deletions bindings/python/docs/api/results.md
Original file line number Diff line number Diff line change
Expand Up @@ -137,10 +137,11 @@ keeps the Python types, so the two cost about the same.
**Trade-off:** values carry JSON-native types. Numbers, strings, booleans, lists, and
nested maps convert as expected, but `DATE` and `DATETIME` values arrive as
epoch-millisecond integers (not `datetime`) and DECIMALs as floats. A `DATE` is the
epoch milliseconds of midnight UTC, whatever the JVM's time zone, so it is the same
integer `Result.to_json()` writes and `datetime.fromtimestamp(ms / 1000, timezone.utc)`
gives the right day. Use `to_list()` when you want `date`, `datetime`, and `Decimal`
values: it costs about the same.
epoch milliseconds of midnight UTC, whatever the JVM's time zone, so
`datetime.fromtimestamp(ms / 1000, timezone.utc)` gives the right day. `Result.to_json()`
is the engine's own JSON, which writes a `DATE` property as days since the epoch (19724 for
2024-01-02), so the two differ for a `DATE`. Use `to_list()` when you want `date`,
`datetime`, and `Decimal` values: it costs about the same.

A one-row read through `to_json_list()` takes one Java crossing (a short batch ends the
read), and `to_list()` reads a short result the same way.
Expand Down
6 changes: 4 additions & 2 deletions bindings/python/docs/api/schema.md
Original file line number Diff line number Diff line change
Expand Up @@ -419,9 +419,11 @@ schema.create_index("Article", ["content"], index_type="FULL_TEXT")
in ascending order (ArcadeDB [#9169](https://github.com/ArcadeData/arcadedb/issues/9169),
200,000 and 2,000,000 entries). It cannot serve a range or an `ORDER BY`.
- Use `LSM_TREE` when you need ranges, sorting, or a safe general-purpose default, and for
a non-unique column with few distinct values (in the 26.10.1 wheel a `NOTUNIQUE_HASH`
a non-unique column with few distinct values on 26.10.1 and earlier (there a `NOTUNIQUE_HASH`
insert costs more with every row the key already has, ArcadeDB
[#9228](https://github.com/ArcadeData/arcadedb/issues/9228), fixed for 26.11.1).
[#9228](https://github.com/ArcadeData/arcadedb/issues/9228), fixed in 26.10.2 by
[#9538](https://github.com/ArcadeData/arcadedb/pull/9538); an existing index needs `REBUILD INDEX`
for the fix).
- Use `FULL_TEXT`, `LSM_VECTOR`, and `GEOSPATIAL` only for their specialized query
types.
- `HASH` can be unique or non-unique. The index structure and uniqueness constraint are
Expand Down
4 changes: 2 additions & 2 deletions bindings/python/docs/development/release.md
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ The tag push starts the release workflow, which builds and publishes the wheels.
"import json,sys; fs=json.load(sys.stdin)['urls']; print(len(fs)); [print(f['filename'], f['size']) for f in sorted(fs, key=lambda f: f['filename'])]"
```

`scripts/after_tag_verify.sh <version> <previous-version> <release-run-id>` (optionally followed
`scripts/after_tag_verify.sh <version> <previous-version> [<release-run-id>]` (optionally followed
by the engine jar's sha256 and build number) does the whole check in one command and prints
PASS or FAIL for each step: the run and the publish job's own conclusion, the file set against
the previous release, every file's sha256 against the run's artifact, `pip download` for the
Expand Down Expand Up @@ -317,7 +317,7 @@ git tag -a X.Y.Z.post1 -m "Python hotfix release X.Y.Z.post1"
test "$(git rev-parse 'X.Y.Z.post1^{}')" = "$(git rev-parse HEAD)" && echo "tag OK"
git push origin X.Y.Z.post1

# 5. Create GitHub Release, only after PyPI shows every wheel (step 5 above)
# 5. Create GitHub Release, only after PyPI shows every wheel (step 6 above)
gh release create X.Y.Z.post1 -R humemai/arcadedb-embedded-python --verify-tag \
--title "X.Y.Z.post1" \
--notes "Hotfix for critical bug in X.Y.Z"
Expand Down
4 changes: 2 additions & 2 deletions bindings/python/docs/development/testing.md
Original file line number Diff line number Diff line change
Expand Up @@ -135,8 +135,8 @@ asserts, so the list below stops at the file.
| File | What it checks |
| --- | --- |
| `test_docs_examples.py` | Python blocks from the documentation run as code; see [Documentation example tests](#documentation-example-tests) |
| `test_count_pushdown_known_issues.py` | The openCypher count push-down and `BYTE` aggregate entries on [Known Engine Issues](../guide/known-issues.md): their workarounds pass, and plain regression tests assert the right answer (fixed in 26.11.1; they fail on the 26.10.1 wheel) |
| `test_light_edge_and_view_known_issues.py` | The two openCypher count entries on [Known Engine Issues](../guide/known-issues.md) (a one-hop `count(*)` over `light_edges=True` edges in an edge type that is not `LIGHTWEIGHT`, and a pattern predicate over an edge type that a Graph Analytical View does not list): their workarounds pass, and plain regression tests assert the refusal and the right counts (fixed in 26.11.1; they fail on the 26.10.1 wheel). |
| `test_count_pushdown_known_issues.py` | Regression tests for the openCypher count push-down fixes and the `BYTE` aggregate fix that shipped in 26.10.2, with the workarounds that were documented for them (they fail on the 26.10.1 wheel) |
| `test_light_edge_and_view_known_issues.py` | Regression tests for the two openCypher count fixes that shipped in 26.10.2 (a one-hop `count(*)` over `light_edges=True` edges in an edge type that is not `LIGHTWEIGHT`, and a pattern predicate over an edge type that a Graph Analytical View does not list): the refusal and the right counts, with the workarounds that were documented for them (they fail on the 26.10.1 wheel) |
| `test_null_index_known_issues.py`, `test_declared_type_known_issues.py`, `test_dml_plan_cache_known_issues.py` | Plain regression tests for engine bugs that 26.10.1 fixed (null keys and index lookups, declared properties, positional parameters in a cached DML plan), with the workarounds that were documented for them |

## Markers
Expand Down
2 changes: 1 addition & 1 deletion bindings/python/docs/development/upstream-bindings-pr.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ What the script does beyond that:
most recently as which version, then explain each file that crosses outside
`bindings/python` and why, show the result of upstream's checks on the first push, and
state the scope. In a release cycle the pull request comes last, after the release and
the sync that follows it ([Release Workflow](release.md#7-open-the-upstream-pull-request-last)).
the sync that follows it ([Release Workflow](release.md#8-open-the-upstream-pull-request-last)).

## What upstream expects

Expand Down
2 changes: 1 addition & 1 deletion bindings/python/docs/getting-started/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ pip install arcadedb-embedded
## What's Included

The `arcadedb-embedded` package includes everything you need. The Linux x86_64 wheel of
26.10.1 is 69.4 MiB to download and 96.9 MiB unpacked (measured on the file on PyPI);
26.10.2 is 70.2 MiB to download and 97.8 MiB unpacked (measured on the file on PyPI);
other platforms are in the same range:

| Platform | Wheel tag (Python 3.12) | Download |
Expand Down
8 changes: 5 additions & 3 deletions bindings/python/docs/guide/core/queries.md
Original file line number Diff line number Diff line change
Expand Up @@ -441,9 +441,11 @@ for ids loaded in ascending order, which is the best case of `LSM_TREE`. So the
equality only and not loaded in key order; an id you number as you load pays that on the
insert and gains on every read. Keep `UNIQUE` (`LSM_TREE`) when you also read the key by
range or `ORDER BY`, and keep an `LSM_TREE` index on a non-unique column with few distinct
values: in the 26.10.1 wheel an insert into a `NOTUNIQUE_HASH` index costs more with every row
the key already has ([#9228](https://github.com/ArcadeData/arcadedb/issues/9228), fixed by
[#9538](https://github.com/ArcadeData/arcadedb/pull/9538) for 26.11.1, which is not released yet).
values on 26.10.1 and earlier: there an insert into a `NOTUNIQUE_HASH` index costs more with every
row the key already has ([#9228](https://github.com/ArcadeData/arcadedb/issues/9228)). It is fixed
in 26.10.2 by [#9538](https://github.com/ArcadeData/arcadedb/pull/9538): a key with many RIDs keeps
them in a chain of pages, for new indexes and for existing ones after `REBUILD INDEX`. A server from
before the fix (26.10.1) refuses an index file in the new layout.

```python
db.command("sql", "CREATE INDEX ON Item (id) UNIQUE_HASH") # id: equality only
Expand Down
Loading
Loading