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

Nested Split Materialized causes Performance Loss with Version 11

    XMLWordPrintable

Details

    Description

      Hello,

      Attached you will find a database dump that contains a part of my database.

      With MariaDB version 11, I am experiencing a significant performance loss with a specific query.

      With version 10.11, the following query takes only 0.036 seconds:

      SELECT 
          S.*, B.*
      FROM Teilnehmer_1 S
      INNER JOIN Buchholzpunkte B ON B.TerID = S.TerID AND B.TnNr = S.TnNr;
      

      134 rows in set (0.036 sec)

      With version 11.4.2, the same query takes over 11 seconds.

      134 rows in set (11.431 sec)

      I tested this in a virtual machine using Docker with the images: mariadb:11.4.2 and mariadb:10.11.

      If you need any further information, please let me know.

      Best regards,
      F.K

      Attachments

        1. optimizer_trace_second_run.txt
          623 kB
        2. optimizer_trace_first_run.txt
          259 kB
        3. MDEV-MDEV-34545.test
          496 kB
        4. dump.sql
          2.79 MB
        5. analyze-format-json-alice-testcase.json
          10 kB
        6. analyze_json_2.txt
          51 kB

        Activity

          People

            igor Igor Babaev
            mauerparker mauerparker
            Votes:
            2 Vote for this issue
            Watchers:
            8 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.