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

Poor performance when rowid filter contains no elements

Details

    Description

      See details in the attached test case. If we create the right spread of values in the key and pick the range just right, when rowid_filter optimizer switch is enabled, the optimizer will sacrifice a part of the key for the rowid_filter. As a result we use only the u_delete_user and end up examining 5K+ rows out of 10K in the table. If we disable rowid_filter, the user_name constraint is being used, and we examine only 1 row.

      Attachments

        Issue Links

          Activity

            Transition Time In Source Status Execution Times
            Julien Fritsch made transition -
            In Progress Needs Feedback
            75d 14h 58m 1
            Julien Fritsch made transition -
            Needs Feedback Open
            21h 52m 1
            Julien Fritsch made transition -
            Open Confirmed
            6d 14h 59m 2
            Igor Babaev (Inactive) made transition -
            Confirmed In Progress
            17d 18h 27m 2
            Igor Babaev (Inactive) made transition -
            In Progress In Testing
            1d 22h 5m 1
            Igor Babaev (Inactive) made transition -
            In Testing Stalled
            1d 2h 24m 1
            Igor Babaev (Inactive) made transition -
            Stalled In Progress
            14s 1
            Igor Babaev (Inactive) made transition -
            In Progress In Review
            21d 9h 58m 1
            Oleksandr Byelkin made transition -
            In Review Stalled
            7d 14h 23m 1
            Igor Babaev (Inactive) made transition -
            Stalled Closed
            1d 9h 33m 1

            People

              igor Igor Babaev (Inactive)
              spachev Sasha Pachev
              Votes:
              2 Vote for this issue
              Watchers:
              11 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.