Miraj
A relational, column-oriented, in-memory and durable SQL database engine.
The reference manual for developers and administrators: SQL language, bundled tools, client libraries, administration and replication.
Three ways to use Miraj
Embedded
The engine runs inside your application, through the Rust API or the miraj.dll library (C API, Delphi unit). No server to deploy.
Command line
The miraj-cli SQL console, interactive or running a .sql file, for administration and exploration.
Network server
miraj-server serves SQL sessions over TCP with the standard client/server protocol: your existing connectors just work.
Four editions, one SQL
Express
Free. Each query runs on a single thread: development, testing, light workloads.
Developer
One core, 20 GB, 24 hours: development and testing, with the MCP server.
Enterprise
Large queries spread across several cores: filters, aggregation, sorting, joins.
Cluster
Enterprise plus multi-node replication: one primary, read-only secondaries.
MCP server: connect your AI assistants to Miraj
Claude, ChatGPT, DeepSeek and any MCP client can explore the schema and read or modify data, with no driver or password: an SQL-created token tied to an account and capped at an access level (STRUCTURE, READ, WRITE, ADMIN).
Discover the MCP serverExplore the documentation
Getting started
SQL language
Concepts
Administration
- 15. Server Administration
- 16. Multi-node replication (Cluster edition)
- 17. The miraj-migrate migration tool
- 18. Backup and restore: BACKUP, miraj-backup, miraj-dump
- 19. MCP server: AI assistants on Miraj
- 20. Change events: LISTEN, NOTIFY, WAIT FOR CHANGES
- 21. Miraj Server Manager
- 22. miraj-proxy: load balancing across nodes
- 23. REST API: Miraj over HTTP and HTTPS
- 24. Encryption at rest
- 30. License of the Enterprise and Cluster editions
Reference
PostgreSQL language
- 29. PostgreSQL language
- 31. PostgreSQL: Getting started
- 32. PostgreSQL: Data types
- 33. PostgreSQL: Data definition language (DDL)
- 34. PostgreSQL: DML language
- 35. PostgreSQL: SELECT queries
- 36. PostgreSQL: SQL functions
- 37. PostgreSQL: Transactions and session
- 38. PostgreSQL: Accounts and privileges
- 39. PostgreSQL: Routines and triggers (PL/pgSQL)
- 40. PostgreSQL: Catalog and tools