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

max_seeks_for_key not working

    XMLWordPrintable

Details

    Description

      The query optimizer is not selecting an index to read table and is instead doing a full table scan. I want to force the query optimizer to use an index. I have set the max_seeks_for_key to 1. When I do an EXPLAIN on my query, it shows that there are "possible keys" but it still chooses to do a FTS. So setting the max_seeks_for_key has no effect.

      Attachments

        Activity

          People

            Unassigned Unassigned
            Derek Main Derek Main
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Git Integration

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