Skip to main content
ANNOUNCEMENTMeet MariaDB Enterprise Platform 2027. Read more.

Menu

WEBINAR

Built for the Agentic Era: Introducing MariaDB Enterprise Platform 2027

Watch now

Product

Introducing Vector Search With the Latest Version of MariaDB Enterprise Platform

By Adam Luciano

9 min read
Share

Key takeaways

  • MariaDB Enterprise Server supports native vector data types, indexing and similarity search, allowing applications to store vector embeddings alongside relational data.
  • MariaDB supports vector similarity search using HNSW-based indexing and cosine or Euclidean distance calculations to retrieve related content.
  • Vector search supports retrieval-augmented generation (RAG), semantic search, enterprise knowledge retrieval and other AI applications.
  • Storing vector embeddings alongside relational data allows applications to combine similarity search with SQL queries, reducing the need for a separate vector database for suitable workloads.

Vector search in MariaDB allows applications to store vector embeddings and retrieve similar data using distance calculations. It supports semantic search, RAG and other AI applications while keeping vector embeddings alongside relational data in MariaDB Enterprise Server.

MariaDB stores vector embeddings as numerical representations of data and uses vector indexing to support similarity searches. Applications can compare embeddings using cosine or Euclidean distance to retrieve related records.

Native vector search allows applications to store embeddings alongside relational data and use SQL to work with both. For suitable workloads, this can reduce data synchronization between separate databases and the operational work involved in managing additional systems.

MariaDB vector search supports applications such as enterprise knowledge search, RAG, semantic document retrieval and AI-powered recommendations. For example, a RAG application can retrieve relevant documents from a knowledge base and provide them as context to a large language model.

MariaDB provides native vector search within a relational database, allowing vector embeddings and structured business data to be stored together. Standalone vector databases use a separate system for vector storage and retrieval. MariaDB's approach can reduce the need to maintain separate systems when its native vector capabilities meet the application's requirements.