← Back to all sparks
T

TypeDB

DEVOPS
Velocity5.0

Strongly typed polymorphic database with a native reasoning engine

Query caching and type renaming land, then three patches to make the schema engine hold.

databasequery-cachingschema-evolutionrocksdb-tuningpatch-cadence
Current state
TypeDB is iterating fast on the 3.12 line — four releases in five weeks. The substantive work arrived in 3.12.0 and 3.12.2: pre-created UUIDs for users in distributed deployments, exposed RocksDB memory tuning, a three-stage parse/translate/compile query cache, and the ability to rename entity, relation and attribute types. The two releases since have been fixes against the schema engine, most recently import rejections caused by coincidental combinations of inherited constraints.
Where it's heading
Two threads are running at once. One is performance and operability — splitting the query cache so string-identical queries skip re-parsing, and giving operators shared memory limits across databases. The other is schema mutability: renaming types and relaxing schemas are newer capabilities, and the bug reports clustering around inherited constraints, ownership specializations and independent attributes suggest that surface is still settling. The 3.11.5 driver cutoff shows the project is willing to break compatibility to move.
Prediction
Expect continued patch releases against schema relaxation and import paths before the next minor; the inherited-constraint fixes have arrived in successive versions rather than all at once.

Recent moves

  1. 5d ago

    Schema import rejections from inherited constraints fixed

    Fixes database imports being wrongly rejected when inherited constraints combine in specific ways — independent sub-attributes, and owns/plays specializations sharing interface types. A direct continuation of the schema-relaxation hardening the 3.12 line has needed since type renaming landed.

    View source ↗
  2. 7d ago

    Query parse, translate and compile caches split; types can be renamed

    Splits the old compilation cache into three stages with different invalidation rules, so string-identical queries skip re-parsing entirely and can be parsed without a transaction. Ships alongside type renaming for entities, relations and attributes — the schema-mutability work the later patches are stabilizing.

    View source ↗
  3. 1mo ago

    Deadlock on large commits and a string comparison bug fixed

    Undoes the RocksDB allow_stall parameter to clear a deadlock on commits exceeding the write buffer limit, letting buffers temporarily exceed the configured budget. Also fixes string attribute retrieval discarding valid answers through mis-applied comparison bounds.

    View source ↗
  4. 1mo ago

    Pre-created UUIDs for users and synchronous transaction close

    Lets callers pass UUIDs when creating users and credentials so server state can be shared identically across cluster members, and makes TransactionOperator wait for closes instead of firing and forgetting. Both are groundwork for distributed deployments rather than single-node use.

    View source ↗
  5. 1mo ago

    Candidate for 3.12.0 with RocksDB memory tuning exposed

    A release candidate carrying the same transaction-operator and RocksDB tuning changes that ship in 3.12.0 weeks later. Superseded by the final release.

    View source ↗
  6. 2mo ago

    Drivers older than 3.11.0 rejected; startup prints connect hints

    Breaks compatibility with pre-3.11.0 drivers and adds clickable Studio and Console connect hints at server startup, with advertise addresses auto-derived from listen addresses. Small operability wins bundled with a hard compatibility cutoff.

    View source ↗