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

Queries with entity_id IN ('1', '2', ..... , '70000') run much slower in MariaDB 10.3.18 than on MariaDB 10.1

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Critical
    • Resolution: Fixed
    • 10.3.18
    • 10.3.22, 10.4.12, 10.5.1
    • Optimizer
    • None
    • Magento 2.3 Shop, MariaDB 10.3.18

    Description

      We discovered, that queries with a long IN-list for an INT column take much longer than on 10.1, when the list entries are supplied as strings.

      Is that intended or a bug?

      References: https://github.com/magento/magento2/issues/25199
      https://magento.stackexchange.com/questions/292867/which-server-settings-can-cause-magento-reindex-to-run-really-slow/293345#293345

      Attachments

        1. query-select-problem.sql
          720 kB
          Alexander Menk
        2. testscript-not-reproducible.sql
          136 kB
          Alexander Menk

        Issue Links

          Activity

            People

              varun Varun Gupta (Inactive)
              alexm Alexander Menk
              Votes:
              2 Vote for this issue
              Watchers:
              7 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.