This is a read-only copy of the MariaDB Knowledgebase generated on 2024-12-22. For the latest, interactive version please visit https://mariadb.com/kb/.

VECTOR

MariaDB starting with 11.7.1

The VECTOR data type was added in MariaDB 11.7.1

Syntax

VECTOR(M])

Description

The VECTOR data type was added as part of the vectors feature, which permits MariaDB Server to perform as a relational vector database.

Example

CREATE TABLE t1 (id INT AUTO_INCREMENT PRIMARY KEY, v VECTOR(5) NOT NULL, VECTOR INDEX (v));

See Also

Content reproduced on this site is the property of its respective owners, and this content is not reviewed in advance by MariaDB. The views, information and opinions expressed by this content do not necessarily represent those of MariaDB or any other party.