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

trx_active_transactions is inconsistent and a potential performance hog; remove it

    XMLWordPrintable

Details

    Description

      The counter MONITOR_TRX_ACTIVE is not being updated consistently; see MySQL Bug #73114.

      Furthermore, the count aims to include non-locking read-only transactions, which are otherwise mostly invisible to other threads, for performance reasons. The more interesting transactions can be found by reading information_schema.innodb_trx.

      If it later turns out that a reliable count of active transactions is needed, it can be implemented via a different interface later.

      Attachments

        Issue Links

          Activity

            People

              marko Marko Mäkelä
              marko Marko Mäkelä
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0d
                  0d
                  Logged:
                  Time Spent - 1h
                  1h

                  Git Integration

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