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

Wrong result with multiple single column index request

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • 10.4.6, 10.4(EOL)
    • 10.4.7
    • Optimizer
    • None
    • Server : Debian baremetal server, this is the only product installed. Data is stored on a 4x1Tb SSD with material RAID 5
      Client : Tested with mycli / mysql command / dbeaver on 2 different workstation on debian

    Description

      After migrating from mariadb 10.1.38-0+deb9u1 (provided by debian) to 10.4.6+maria~stretch, some request including IN (or multiple OR) and filtering on multiple columns indexed separately :

      Here is the table creation : table_creation.sql

      Here are the logs with my different results : execution.log

      Execution plan : execution_plan.log

      If I add an index on the two columns, the results are back : workaround.log

      Attachments

        1. execution_plan.log
          1 kB
        2. execution.log
          0.6 kB
        3. table_creation.sql
          1 kB
        4. workaround.log
          2 kB

        Issue Links

          Activity

            mioux Sylvain RUMEU created issue -
            mioux Sylvain RUMEU made changes -
            Field Original Value New Value
            Summary Wrong result with Wrong result with
            mioux Sylvain RUMEU made changes -
            Summary Wrong result with Wrong result with multiple index request
            mioux Sylvain RUMEU made changes -
            Summary Wrong result with multiple index request Wrong result with multiple single column index request
            alice Alice Sherepa made changes -
            Assignee Alice Sherepa [ alice ]
            alice Alice Sherepa made changes -
            Assignee Alice Sherepa [ alice ] Igor Babaev [ igor ]
            alice Alice Sherepa made changes -
            Component/s Optimizer [ 10200 ]
            alice Alice Sherepa made changes -
            Affects Version/s 10.4 [ 22408 ]
            alice Alice Sherepa made changes -
            Fix Version/s 10.4 [ 22408 ]
            alice Alice Sherepa made changes -
            Status Open [ 1 ] Confirmed [ 10101 ]
            igor Igor Babaev made changes -
            Status Confirmed [ 10101 ] In Progress [ 3 ]
            igor Igor Babaev made changes -
            Assignee Igor Babaev [ igor ] Marko Mäkelä [ marko ]
            Status In Progress [ 3 ] In Review [ 10002 ]
            marko Marko Mäkelä made changes -
            Assignee Marko Mäkelä [ marko ] Igor Babaev [ igor ]
            Status In Review [ 10002 ] Stalled [ 10000 ]
            igor Igor Babaev made changes -
            Fix Version/s 10.4.7 [ 23720 ]
            Fix Version/s 10.4 [ 22408 ]
            Resolution Fixed [ 1 ]
            Status Stalled [ 10000 ] Closed [ 6 ]
            varun Varun Gupta (Inactive) made changes -
            marko Marko Mäkelä made changes -
            marko Marko Mäkelä made changes -
            serg Sergei Golubchik made changes -
            Workflow MariaDB v3 [ 97649 ] MariaDB v4 [ 156372 ]

            People

              igor Igor Babaev
              mioux Sylvain RUMEU
              Votes:
              0 Vote for this issue
              Watchers:
              4 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.