MagnumDB Engine
SQL Subsystem

SQL Support & Dialect Specification

MagnumDB implements a relational SQL query execution engine supporting DDL, DML, filtering, joins, aggregates, subqueries, CTEs, and window functions.

Open Technical SQL Reference Manual
SQL Engine Reference

SQL Support Matrix

Open Technical SQL Reference Manual
SQL CommandSupport StatusExecution Notes
CREATE TABLESupportedSupports PRIMARY KEY, UNIQUE, NOT NULL, DEFAULT
INSERT INTOSupportedAppends tuples into B+ Tree slotted leaf pages
SELECTSupportedFiltering via WHERE clauses and binary expressions
UPDATESupportedCreates new tuple version with current xmin under MVCC
DELETESupportedMarks tuples as deleted by setting xmax transaction ID
DROP TABLESupportedDeallocates relation B+ Tree metadata and pages
ALTER TABLEADD COLUMN SupportedAppends new attribute to schema definition
JOININNER / LEFT SupportedEvaluated by Volcano physical join operators
GROUP BY & HAVINGSupportedAggregates tuple groups and filters calculated values
ORDER BY & LIMITSupportedSorts result sets and applies offset boundaries
CTEs (WITH clause)SupportedEvaluates named temporary CTE result streams
Window FunctionsROW_NUMBER SupportedEvaluates partition window frame functions
UNION / UNION ALLSupportedCombines query result streams
FOREIGN KEYParsed, NOT EnforcedSyntax parses cleanly, but referential integrity is not enforced
Foreign Key Constraint Disclaimer:

FOREIGN KEY syntax is parsed by the lexer for DDL script compatibility, but referential integrity constraints are NOT currently enforced by the query execution engine.