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

Pick the most efficient subset of keys there are too many key parts

    XMLWordPrintable

Details

    • Task
    • Status: Open (View Workflow)
    • Major
    • Resolution: Unresolved
    • 11.4
    • Optimizer
    • None

    Description

      If check_tmp_key fails in the case of too many key parts, then can we find a way to pick the most efficient subset of keys in that case? Simply picking any subset seems like it would be more efficient than picking nothing, but can we measure and pick the most efficient subset?

      We'll need to know n_distinct for the columns of derived table (columns with high n_distinct are better candidates), similar to what's needed for MDEV-36321.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              Gosselin Dave Gosselin
              Votes:
              0 Vote for this issue
              Watchers:
              2 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.