Bug #106580 | Multi-Valued Indexes only takes into account a portion of a whole data. | ||
---|---|---|---|
Submitted: | 26 Feb 2022 9:41 | Modified: | 2 Mar 2022 14:50 |
Reporter: | Quy Le | Email Updates: | |
Status: | Verified | Impact on me: | |
Category: | MySQL Server: Optimizer | Severity: | S3 (Non-critical) |
Version: | 8.0 | OS: | Any |
Assigned to: | CPU Architecture: | Any | |
Tags: | Multi-Valued Indexes |
[26 Feb 2022 9:41]
Quy Le
[26 Feb 2022 9:48]
Quy Le
Edit: create index idx_char on game_players ((CAST(character_id_list AS unsigned array)))
[26 Feb 2022 9:50]
Quy Le
MySql version: 8.0.28.
[28 Feb 2022 14:18]
MySQL Verification Team
Hi Mr. Le, Thank you for your bug report. However, we need to be able to repeat the problem that you experience. Hence, what we need are all rows from that table as well. Waiting on your feedback.
[2 Mar 2022 1:36]
Quy Le
Here is all rows of the table.
Attachment: game_players.sql (application/octet-stream, text), 1.11 MiB.
[2 Mar 2022 14:50]
MySQL Verification Team
Hi Mr. Le, We were able to repeat the same behaviour. Our results are as following: count(*) 10170 count(*) 878 First result is without index and second one is with index. Thank you for your contribution. This bug is now verified.