Skip to main content
Drupal is a registered trademark of Dries Buytaert
Release: OpenID Connect / OAuth client 3.0.0-alpha9 New alpha version released for module openid_connect (3.0.0-alpha9). Release: Opensolr Search 4.5.0 Minor update available for module opensolr_search (4.5.0). Release: Timelinr 1.0.1 Minor update available for module timelinr (1.0.1). Release: Video.js (HTML5 Video Player) 10.0.0-alpha1 First alpha version released for module videojs (10.0.0-alpha1). Usage Milestone: Simplify Module simplify crossed 10,000 active installs. Usage Milestone: Views Reference Filter Module entityreference_filter crossed 10,000 active installs. Usage Milestone: Dropdown Language Module dropdown_language crossed 10,000 active installs. Usage Milestone: Paragraphs Browser Module paragraphs_browser crossed 10,000 active installs. Usage Milestone: OpenAPI Module openapi crossed 10,000 active installs. Module Revived: Entityqueue Buttons 1.1.2 Module entityqueue_buttons updated after 8 months of inactivity (1.1.2).

MariaDB VDB Provider

56 sites Security covered Drupal 10–11 AI ecosystem
View on drupal.org

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.

Depends on

Dependencies of the latest stable release

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

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

Release Timeline

Releases

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