Details
-
New Feature
-
Status: Stalled (View Workflow)
-
Blocker
-
Resolution: Unresolved
-
None
-
Q1/2026 Server Development, Q2/2026 Server Maintenance, Q2/2026 Server Development, Q3/2026 Server Maintenance, Q3/2026 Server Development, Q4/2026 Server Maintenance, Q4/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-35316 more than one vector index per table
-
- Open
-
-
MDEV-35389 Native Multi-Value Indexes for JSON
-
- Closed
-
-
MDEV-38306 Optimizer support for Multi-Valued indexes over JSON data
-
- Open
-
- causes
-
MDEV-41525 SIGSEGV in st_key::options on ALTER TABLE ADD INDEX for a table with a JSON ARRAY index
-
- Open
-
-
MDEV-41533 SIGSEGV in TABLE::unlock_hlindexes after DELETE ... LIMIT using multi-value JSON index
-
- Open
-
- relates to
-
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
-
-
MDEV-40113 Optimizer support for JSON queries: switch to using Multi-Valued Index API
-
- Open
-
-
MDEV-41860 Vector datatype returns in protocol as VAR_STRING without vector hints
-
- Open
-
- has action item
-
DOCS-6942 Loading...