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

Table scan performance drops by 29%

    XMLWordPrintable

Details

    • Related to performance
    • Q4/2026 Server Maintenance

    Description

      The relative QPS is 0.71 for the scan test I run via sysbench.
      The relative QPS is: (QPS for my version / QPS for 10.2.30)

      My repro script is here, that runs all of my sysbench tests. I ran it with 40 clients, 8 tables and 10M rows per table on a 48-core server.

      The changes in relative QPS per release are here. The results for scan have more changes than the other sysbench tests. I see large decreases in:

      From vmstat I see large increases in CPU overhead and context switch rates starting in 11.7, although there are also large increases after 10.2 and before 11.7. See cpu/o and cs/o here.

      Using vmstat metrics for 11.7 relative to 10.2.30 I see large increases in CPU overhead and context switch rates, see cpu/o and cs/o here

      Using absolute values from vmstat I see a large increase in the context switch rate on the server from 376 per second in 10.2.30 to 538957 per second in 12.1.1.

      Attachments

        Issue Links

          Activity

            People

              alessandro.vetere Alessandro Vetere
              mdcallag Mark Callaghan
              Votes:
              1 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - 0d
                  0d
                  Remaining:
                  Remaining Estimate - 0d
                  0d
                  Logged:
                  Time Spent - 0.25d
                  0.25d

                  Git Integration

                    Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.