← All Adapters
MariaDB logo

MARIADB

type: mariadb
FREE FOR INDIVIDUALS✓ VERIFIED IN DVT TEST SUITE

Community-developed fork of MySQL. Drop-in replacement with enhanced performance and additional storage engines.

DVT SUPPORT

FEDERATION SOURCE

read in federation models

FEDERATION TARGET

materialize federation results

DEFAULT TARGET

run full dbt projects against it

SEED TARGET

dvt seed --target loads here

DVT supports MariaDBbecause both dbt and Sling do: dbt drives standard materializations when it's your default target, Sling moves data in and out during federation. Connectivity for both layers is checked with dvt debug --all.

PREREQUISITES

Driver: mysqlclient — installed automatically by:

dvt sync

CONFIGURATION FIELDS

FIELDTYPEREQUIREDDEFAULTDESCRIPTION
typestringyesMust be `mariadb`
hoststringyeslocalhostDatabase server hostname
portintegerno3306Database server port
userstringyesDatabase username
passwordstringyesDatabase password
databasestringyesDatabase name (MariaDB schema = database)
schemastringnoDefaults to the database name
threadsintegerno4Number of parallel threads

PROFILES.YML EXAMPLE

my_project:
  target: maria_dev
  outputs:
    maria_dev:
      type: mariadb
      host: localhost
      port: 3306
      user: analyst
      password: "{{ env_var('MARIA_PASSWORD') }}"
      database: warehouse            # MariaDB schema = database
      schema: warehouse

SOURCES.YML EXAMPLE

sources:
  - name: legacy_db
    meta:
      connection: maria_dev
    schema: erp
    tables:
      - name: invoices
      - name: vendors

DBT ADAPTER FEATURES

When MariaDB is your default target, every standard dbt model runs through the official dbt adapter — all of its documented capabilities apply unchanged:

MATERIALIZATIONS

tableviewincrementalephemeralf_tablef_incremental

INCREMENTAL STRATEGIES

appenddelete+insert

NOTABLE CONFIGS

  • MySQL-wire compatible (uses the mysql adapter)
Official dbt MariaDB adapter docs ↗

FEDERATION INCREMENTAL STRATEGIES

Strategies available when this engine is the target of a f_incremental model:

Append Delete+Insert Merge

KNOWN LIMITATIONS

  • Uses MySQL protocol — same driver as MySQL