Skip to main content
DB

Documentation

Introduction

NYXDB is a SQL database that keeps exact current and versioned state and maintains derived results from every committed write.

NYXDB is a SQL database whose tables keep exact current and versioned state, and whose transformations, materialized views and streaming queries are maintained continuously from every committed write.

Choose your path

What NYXDB provides

  • Three table modes. MODE APPEND keeps every row, MODE UPSERT keeps the latest row per primary key, and MODE VERSIONED keeps the latest row plus every accepted version. See Tables.
  • Attribute groups. One keyed row can be split into independently written column groups, each with its own ordering. See Attribute groups.
  • Declared ordering and point-in-time reads. VALID BY and REVISION BY choose the current winner per key, and AS OF COMMIT reads a past commit. See Versioned tables.
  • Transformations and materialized views. CREATE TRANSFORMATION writes a continuously maintained result into an existing table; materialized views keep an engine-owned result. See Transformations.
  • Streaming reads. STREAM SELECT returns one snapshot and then exact changes over a WebSocket session. See Streaming reads.
  • Transactions and replication. BEGIN … COMMIT groups statements atomically, and tablets are replicated across nodes with automatic failover. See Transactions.
  • Users, API keys and federation. Password and API-key logins issue short-lived bearers, and one instance can read another's tables as external relations. See Authentication and Federation.

On this page