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

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

                Dates

                Created:
                Updated:
                Resolved:

                  Git Integration