[MDEV-32360] No index chosen by the optimizer Created: 2023-10-05  Updated: 2023-11-04  Resolved: 2023-11-04

Status: Closed
Project: MariaDB Server
Component/s: Optimizer
Affects Version/s: 10.5.16, 11.1.2
Fix Version/s: N/A

Type: Bug Priority: Major
Reporter: Alexander Zimnitski Assignee: Sergei Golubchik
Resolution: Not a Bug Votes: 0
Labels: None
Environment:

Windows 10 x64


Attachments: Text File 1.txt     File testtbl.sql    

 Description   

MariaDB [test]> EXPLAIN SELECT * FROM testtbl WHERE id_nam=0;
+------+-------------+---------+------+---------------+------+---------+------+------+-------------+
| id   | select_type | table   | type | possible_keys | key  | key_len | ref  | rows | Extra       |
+------+-------------+---------+------+---------------+------+---------+------+------+-------------+
|    1 | SIMPLE      | testtbl | ALL  | id_nam        | NULL | NULL    | NULL | 198  | Using where |
+------+-------------+---------+------+---------------+------+---------+------+------+-------------+
1 row in set (0.000 sec)



 Comments   
Comment by Sergei Golubchik [ 2023-11-04 ]

This is not a result of a bug. If you need help optimizing your queries, please see

https://mariadb.com/kb/en/meta/irc-chat-servers-and-zulip-instance/ and
https://mariadb.com/kb/en/mailing-lists/

Generated at Thu Feb 08 10:30:45 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.