Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-32360

No index chosen by the optimizer

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Not a Bug
    • 10.5.16, 11.1.2
    • N/A
    • Optimizer
    • None
    • Windows 10 x64

    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)

      Attachments

        1. testtbl.sql
          34 kB
        2. 1.txt
          0.6 kB

        Activity

          People

            serg Sergei Golubchik
            alewin Alexander Zimnitski
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Git Integration

                Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.