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
DROP DATABASEY
RENAME DATABASEN
CREATE TABLEY
ALTER TABLEN
RENAME TABLEN
DROP TABLEY
CREATE INDEXY
DROP INDEXY
MODIFY COLUMNN
PRIMARY KEYY
CREATE VIEWY
ALTER VIEWY
DROP VIEWY
CREATE OR REPLACE VIEWN
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 TABLEN

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 KEYY
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 functionsAVG()
MAX()
MIN()
Median()
SUM()
ANY_VALUE()
BIT_OR()
BIT_AND()
BIT_XOR()
STD()
VARIANCE()
GROUP_CONCAT()
SLEEP()
Mathematical functionsABS()
SIN()
COS()
TAN()
COT()
ACOS()
ATAN()
SINH()
FLOOR()
ROUND()
CEIL()
POWER()
PI()
LOG()
LN()
UUID()
EXP()
Datetime functionsDATE_FORMAT()
YEAR()
MONTH()
DATE()
WEEKDAY()
TIMESTAMP()
DAYOFYEAR()
EXTRACT()
DATE_ADD()
DATE_SUB()
TO_DATE()
DAY()
UNIX_TIMESTAMP()
FROM_UNIXTIME()
UTC_TIMESTAMP()
NOW()
CURRENT_TIMESTAMP()
DATEDIFF()
TIMEDIFF()
CURDATE()
String functionsBIN()
BIT_LENGTH()
HEX()
CONCAT()
CONCAT_WS()
FIND_IN_SET()
FORMAT()
OCT()
EMPTY()
LENGTH()
BIT_LENGTH()
LENGTHUTF8()
CHAR_LENGTH()
LEFT()
TRIM()
LTRIM()
RTRIM()
LPAD()
RPAD()
STARTSWITH()
ENDSWITH()
SUBSTRING()
SPACE()
REVERSE()
SUBSTRING_INDEX()
FIELD()
Operators%, MOD
+
-
/
Div
=
&
>>
<<
^
|
~
CAST()
CONVERT()
>
>=
<
<>, !=
<=
=
LIKE
BETWEEN … AND …
IN()
IS/IS NOT
IS/IS NOT NULL
NOT BETWEEN … AND …
LIKE
NOT LIKE
COALESCE()
CASE…WHEN
IF
AND
OR
XOR
NOT