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

Query completes quickly on 10.5. Same query gets bogged down and never completes on 10.11.

    XMLWordPrintable

Details

    • Q4/2025 Server Maintenance

    Description

      The query has many subqueries with EXISTS (SELECT ...)

      10.5 can handle all 26 of these.
      10.11 can reach up to 11 of these at which point it gets exponentially slower for each subquery added.

      Attachments

        1. query_very_slow_10.11.png
          46 kB
          Edward Stoever
        2. otf.json
          71 kB
          Rex Johnston
        3. ots.json
          1.02 MB
          Rex Johnston
        4. postgres.sql
          4 kB
          Oleg Smirnov

        Issue Links

          Activity

            People

              psergei Sergei Petrunia
              edward Edward Stoever
              Votes:
              0 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.