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

ANALYZE displays a huge number of InnoDB secondary index pages_accessed

    XMLWordPrintable

Details

    • Q3/2026 Server Maintenance, Q3/2026 Server Development

    Description

      When a table is accessed by an index, "pages_accessed" in the "r_engine_stats" of ANALYZE FORMAT=JSON output displays suspiciously large numbers. See the test case attached and compare pages_accessed=14 for full table scan against pages_accessed=2003 for an access by index.

      Attachments

        Issue Links

          Activity

            People

              alessandro.vetere Alessandro Vetere
              oleg.smirnov Oleg Smirnov
              Votes:
              1 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:

                Time Tracking

                  Estimated:
                  Original Estimate - 0.45d Original Estimate - 0.45d
                  0.45d
                  Remaining:
                  Time Spent - 3d 5.5h Remaining Estimate - 1d 1h 50m
                  1d 1h 50m
                  Logged:
                  Time Spent - 3d 5.5h Remaining Estimate - 1d 1h 50m
                  3d 5.5h

                  Git Integration

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