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

Add InnoDB engine information to the slow query log

    XMLWordPrintable

Details

    Description

      Percona server has some useful InnoDB status information in the slow query log.
      The Percona Performance Monitor can provide useful graphs from these

      This task is to add some of the most useful ones, but with less code.
      The code should also be engine independent, so that it is easy to add
      monitoring of other engines!

      The current task will add the following new information to the slow query log if enabled with
      --log-slow-verbosity=innodb

       # Pages_accessed: 184  Pages_read: 95  Pages_updated: 0  Undo_rows_read: 1
       # Pages_read_time: 17.0204  Engine_time: 248.1297
      

      Engine_time is how many milliseconds is spent inside engine calls (similar as with analyze).
      Page_* variables are for now only for InnoDB.

      Attachments

        Issue Links

          Activity

            People

              monty Michael Widenius
              monty Michael Widenius
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Git Integration

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