Bug #120425 Vector Support in MySQL
Description:
MySQL 9.7 LTS has support for VECTOR data type and a column in an InnoDB table can be of VECTOR type. However, it remains write-only metadata i.e. it is excluded from all index types. Core similarity primitives (for example DISTANCE()) are not implemented/exposed in community version.
Goal of this feature request is to make MySQL fully functional VECTOR store with VECTOR INDEX capabilities. Which may include
- Make MySQL a native VECTOR store with VECTOR INDEX support.
- Provide native, ACID-compliant storage for vector data.
- Provide vector distance/similarity functions (DOT, COSINE, EUCLIDEAN).
- Provide native vector query execution for similarity search on multi-dimensional vectors.
- Provide ANN indexing and search, with algorithm (eg : HNSW) for low-latency retrieval.
With this, users get one system for both transactional app data and AI retrieval, instead of stitching MySQL + external vector DB.
- Better consistency: vectors and source rows commit/rollback together.
- Stronger reliability: ACID + crash recovery for vector data.
- Easier governance: existing MySQL access control, backup, replication, and compliance processes apply to vector workloads.
In short, this work makes AI-native features practical for mainstream MySQL users without forcing additional/external db/tool.
How to repeat:
NA
Suggested fix:
NA
Portions of this website are copyright © 2001, 2002 The PHP Group
Page generated in 0.049 sec. using MySQL 8.4.7-u6-cloud
Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the
respective copyright holders.
It is not reviewed in advance
by Oracle and does not necessarily represent the opinion of
Oracle or any other party.