Drupal is a registered trademark of Dries Buytaert
Release: reCAPTCHA 8.x-3.5 Minor update available for module recaptcha (8.x-3.5). Release: Search API Solr 4.3.14 Minor update available for module search_api_solr (4.3.14). Release: ECA: Event - Condition - Action 2.1.22 Minor update available for module eca (2.1.22). Release: WebProfiler 11.2.1 Minor update available for module webprofiler (11.2.1). Usage Milestone: Entity Browser Module entity_browser crossed 100,000 active installs. Release: Editoria11y SI (SiteImprove) 3.0.0 Major update available for module editoria11y_si (3.0.0). Release: Diagnosis 1.0.3 Minor update available for theme diagnosis (1.0.3). Release: DiBa Integration 1.3.3 Minor update available for module diba_integration (1.3.3). Release: AlternativeCommerce NovaPoshta API 1.1.10 Minor update available for module basket_novaposhta (1.1.10). Module Revived: Commerce Currency Resolver 2.0.2 Module commerce_currency_resolver updated after 10 months of inactivity (2.0.2).

This module allows Drupal to use MariaDB as a vector database for AI features, eliminating the need for separate external services. It leverages MariaDB's native vector data type and indexing to store and query AI embeddings directly within your existing database.

Native vector search for Drupal using MariaDB — no external services required.

This module enables MariaDB’s native VECTOR data type and indexing capabilities (available in MariaDB 11.7+) as a Vector Database (VDB) provider for the Drupal AI module. Since MariaDB is a drop-in replacement for MySQL and is widely used as Drupal’s primary database, vector embeddings can be stored and queried directly within the same database with full transactional support.

If your Drupal site already uses MariaDB, you can store your AI vectors in it by upgrading MariaDB to version 11.7 or later. If your site uses MySQL, you can replace it with MariaDB to enjoy the benefits of this module.

Features

  • Native MariaDB Vector Support: Utilizes MariaDB's built-in VECTOR data type and specialized VECTOR indexes
  • Multiple Distance Metrics: Support for Euclidean distance and Cosine similarity
  • Optimized Performance: Leverages MariaDB's modified HNSW (Hierarchical Navigable Small Worlds) algorithm
  • Seamless Integration: Works with the Drupal AI module and Search API
  • No External Dependencies: No need for separate vector database services
  • Operational Simplicity: No additional services, containers, or infrastructure layers

Post-Installation

  1. Create a Search API server using the AI Search backend
  2. Select "MariaDB vector DB" as the VDB provider
  3. Configure your embedding strategy and vector dimensions
  4. Create an index and add fields to the index
  5. Index your content

Your vector index is then ready for use with Drupal AI-powered features such as semantic search and RAG-based systems.

Additional Requirements

  • Drupal 10.2+ or Drupal 11+
  • MariaDB 11.7 or later (11.8 LTS recommended for GA support)
  • PHP 8.1+
  • PHP mysqli extension
  • Drupal AI module

Similar projects

Other AI Search VDB providers:

Commercial Support

This module is developed and maintained by Juan Martinez.

The module maintainer is available for professional consulting and architectural guidance related to production AI systems and enterprise Drupal implementations.

Activity

Tracked releases
3
Tracked since
Feb 2026
Latest release
1 month ago
Releases (12 mo)
3 ▲ from 0
Maintenance
Active

Release Timeline

Releases

Version Type Release date
1.0.1 Stable Jun 17, 2026
1.0.0 Stable Mar 13, 2026
1.0.x-dev Dev Feb 22, 2026