



MariaDB Vector is an extension or feature of MariaDB, providing capabilities for handling and querying vector data within the MariaDB ecosystem.
Loading more......
MariaDB Vector is an extension of MariaDB, guided by the MariaDB Foundation and built with the MariaDB Server community. It enables fast vector search directly within a relational database, simplifying the technology stack by removing the need for specialized datastores. Available in MariaDB since version 11.7 and now in 11.8 GA LTS, it introduces vector similarity search capabilities, including specialized syntax and a new index type for efficient searching of vectors based on distance functions.
VECTOR data type for storing vector embeddings.VECTOR index type, utilizing a modified version of the Hierarchical Navigable Small Worlds (HNSW) algorithm for fast search.VEC_DISTANCE_EUCLIDEAN and VEC_DISTANCE_COSINE for calculating similarity.VEC_FromText for converting text representations to vectors and VEC_ToText for converting vector bytes to text.SELECT queries that include ORDER BY VEC_DISTANC_EUCLIDEAN (or VEC_DISTANC_COSINE) and a LIMIT clause.MariaDB Vector's implementation of a modified HNSW algorithm offers search performance comparable to other vector search solutions. It demonstrates superior scalability, especially when handling multiple concurrent connections. Detailed benchmarks are available for further analysis.
MariaDB Vector supports a variety of applications:
For developers, integrating MariaDB Vector involves:
VECTOR column to your existing data tables.