Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

SQL overview

The relational core, document extensions, queues, and in-memory tables share one SQL surface. Each group has its own dedicated reference pages.

See WITH RECURSIVE for recursive queries and Built-in functions for the function catalog. The command list should reflect executable behavior; planned features are marked explicitly.

FeatureCatalogSQL surfaceEngine
CollectioncatalogCREATE/DROP COLLECTION, FINDdocument codec
Queuecatalogcreation, delivery, ACK/NACK, DLQlease and retry
Memory tablecatalogcreation and key commandslocal process
SchedulecatalogCREATE/ALTER/DROP SCHEDULESQL actions, worker pool and run history

Queue delivery is at-least-once. Memory-table commands are atomic individually and are not transactional across commands.

Schedules are persisted definitions executed by the integrated scheduler. They use one orchestrator and a bounded worker pool; creating a schedule does not create a dedicated thread. ampdump exports the whole database as plain SQL by default. Use -t custom or -Fc for the Amphi binary custom format, and append a relation name to limit the dump. Schedules and execution history are still excluded.