VECTOR

You are viewing an old version of this article. View the current version here.
MariaDB starting with 11.7.1

The VECTOR data type was added in MariaDB 11.7.1

Syntax

VECTOR(M[,N])

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));

Comments

Comments loading...
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.