AddRAG

Add RAG to the database you already run.

databases · Extension · checked 2026-11-20

MySQL VECTOR

MySQL documents a VECTOR column type. Each entry is a 4-byte float. The manual says the default length is 2048 and the maximum is 16383.

Self-hostable
yes
License
unverified
Hybrid search
no
Metadata filtering
yes
Works with
MySQL
Managed pricing
unverified
Free tier
unverified
Limits
Manual: default length 2048, maximum 16383. A VECTOR column cannot be a primary, foreign, unique, or partitioning key.
Caveats
The vector functions page says DISTANCE() is available only for MySQL HeatWave on OCI and MySQL AI, not in MySQL Community or Commercial distributions. The type page says full-text functions do not accept VECTOR.

Sources