MatrixOne Features

This document lists the features supported by MatrixOne for the latest version.

Data definition language (DDL)

Data definition Language(DDL)Supported(Y)/Not supported (N)
CREATE DATABASEY
RENAME DATABASEN
DROP DATABASEY
CREATE TABLEY
ALTER TABLEN
MODIFY COLUMNN
RENAME TABLEN
PRIMARY KEYY
CREATE VIEWY
ALTER VIEWN
CREATE OR REPLACE VIEWN
DROP VIEWY
TRUNCATEY
SEQUENCEN
AUTO_INCREMENTY
Temporary tablesY

SQL statements

SQL StatementSupported(Y)/Not supported (N)
SELECTY
INSERTY
UPDATEY
DELETEY
REPLACEN
INSERT ON DUPLICATE KEYN
LOAD DATA INFILEY
SELECT INTO OUTFILEY
INNER/LEFT/RIGHT/OUTER JOINY
UNION, UNION ALLY
EXCEPT, INTERSECTY
GROUP BY, ORDER BYY
Common Table Expressions(CTE)Y
START TRANSACTION, COMMIT, ROLLBACKY
EXPLAINY
EXPLAIN ANALYZEY
Stored ProcedureN
TriggerN
Event SchedulerN
PARTITION BYY
LOCK TABLEY

Data types

Data type categoriesData typesSupported(Y)/Not supported (N)
Integer NumbersTINYINTY
SMALLINTY
INTY
BIGINTY
TINYINT UNSIGNEDY
SMALLINT UNSIGNEDY
INT UNSIGNEDY
BIGINT UNSIGNEDY
Real NumbersFLOATY
DOUBLEY
String TypesCHARY
VARCHARY
TINYTEXTY
TEXTY
MEDIUMTEXTY
LONGTEXTY
Binary TypesTINYBLOBY
BLOBY
MEDIUMBLOBY
LONGBLOBY
Time and Date TypesDateY
TimeY
DateTimeY
TimestampY
Boolean TypeBOOLY
Decimal TypeDECIMALY
JSON TypeJSONY

Indexing and constraints

Indexing and constraintsSupported(Y)/Not supported (N)
PRIMARY KEYY
Composite PRIMARY KEYY
UNIQUE KEYY
Secondary KEYY, Syntax only implementation
FOREIGN KEYN
Enforced Constraints on Invalid DataY
ENUM and SET ConstraintsN
NOT NULL ConstraintY

Transactions

TransactionsSupported(Y)/Not supported (N)
1PCY
Pessimistic transactionsN
Optimistic transactionsY
Distributed TransactionY
Snapshot IsolationY

Functions and Operators

Functions and Operators CategoriesName
Aggregate functionsSUM()
COUNT()
MAX()
MIN()
AVG()
STD()
VARIANCE()
BIT_OR()
BIT_AND()
BIT_XOR()
Mathematical functionsABS()
SIN()
COS()
TAN()
COT()
ACOS()
ATAN()
SINH()
FLOOR()
ROUND()
CEIL()
POWER()
PI()
LOG()
LN()
EXP()
Datetime functionsDATE_FORMAT()
YEAR()
MONTH()
DATE()
WEEKDAY()
DAYOFYEAR()
EXTRACT()
DATE_ADD()
DATE_SUB()
TO_DATE()
DAY()
UNIX_TIMESTAMP()
FROM_UNIXTIME()
UTC_TIMESTAMP()
NOW()
CURRENT_TIMESTAMP()
DATEDIFF()
TIMEDIFF()
String functionsBIN()
CONCAT()
CONCAT_WS()
FIND_IN_SET()
OCT()
EMPTY()
LENGTH()
CHAR_LENGTH()
LEFT()
LTRIM()
RTRIM()
LPAD()
RPAD()
STARTSWITH()
ENDSWITH()
SUBSTRING()
SPACE()
TRIM
REVERSE()
UUID()
Other functionsCOALESCE()
ANY_VALUE()
CAST()
Operators=
<>
>
>=
<
<=
LIKE
+
-
*
/
Div
%
AND
OR
XOR
NOT
CASE…WHEN
IF
IS/IS NOT
IS/IS NOT NULL