Details
-
New Feature
-
Status: Open (View Workflow)
-
Critical
-
Resolution: Unresolved
-
Q1/2026 Server Development
Description
Hey, our team has the desire to start storing JSON arrays of strings inside our MariaDB instance and we would love to take advantages of them with queries using the JSON_CONTAINS() function. This design can help us avoid multiple tables for managing many-to-many relations and making slow & complex joins over huge datasets. The problem is that without proper indexing of this new JSON fields we can't really take advantage of them properly.
While checking MySQL feature set, we have seen that version > 8 has support for multi-valued Indexes (https://dev.mysql.com/doc/refman/8.0/en/create-index.html#create-index-multi-valued), is there anything similar in MariaDB for arrays? is this feature expected any time in the near future?
Appreciate the help, this can be a game changer for our use-case, and our team will be more then happy to help with feedback, testing or other possible ways.
Attachments
Issue Links
- blocks
-
MDEV-35389 Native Multi-Value Indexes for JSON
-
- Open
-
-
MDEV-36568 Enhancing MariaDB Full Text Search
-
- Open
-
-
MDEV-38306 Optimizer support for Multi-Valued indexes over JSON data & new Full Text Search
-
- Open
-
- relates to
-
MDEV-38485 Pluggable Full-Text Search Framework with BM25 Ranking
-
- Open
-
-
MDEV-37288 JSON Comparator: does MariaDB need one?
-
- Closed
-
-
MDEV-38214 FTS Sharding fails due to unicode collations map all tokens to aux index 0
-
- Open
-