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

Drastically slower query performance between CentOS (2sec) and Rocky (48sec)

    XMLWordPrintable

Details

    Description

      There is a significant difference in query performance with MariaDB 10.6 running on CentOS (2 seconds) compared to on Rocky (48 seconds). When setting split_materialized=off, the query executes a bit faster (7 seconds) for this particular query, but it is still slower than on CentOS.

      Query used to reproduce:

      set session optimizer_switch='split_materialized=off';
       
      use b_test;
       
      select this_.`RMD_CURRENT_STATUS_VALUE` as y0_, count(*) as y1_
      from `TEST_MAU_REQUEST_RECORD_VIEW` this_
      where (lower(this_.`UAR_ALL_EMAILS`) like '%AbeFrazer8@example.com%' escape '!'
      or lower(this_.`UAR_APPROVER_STLS`) like '%AbeFrazer8@example.com%' escape '!'
      or lower(this_.`REQUEST_BY`) like '%AbeFrazer8@example.com%' escape '!')
      group by this_.`RMD_CURRENT_STATUS_VALUE`
      order by y0_ asc
      limit 50;

      Attachments

        Activity

          People

            marko Marko Mäkelä
            martin.reinhardt@mariadb.com Martin Reinhardt
            Votes:
            0 Vote for this issue
            Watchers:
            5 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.