[MDEV-25687] trx_active_transactions is inconsistent and a potential performance hog; remove it Created: 2021-05-17  Updated: 2021-05-17  Resolved: 2021-05-17

Status: Closed
Project: MariaDB Server
Component/s: Storage Engine - InnoDB
Affects Version/s: 10.0, 10.1, 10.2, 10.3, 10.4, 10.5, 10.6
Fix Version/s: 10.6.1

Type: Bug Priority: Major
Reporter: Marko Mäkelä Assignee: Marko Mäkelä
Resolution: Fixed Votes: 0
Labels: corruption, performance

Issue Links:
Relates
relates to MDEV-25689 metadata_table_reference_count, metad... Closed
relates to MDEV-15706 Remove information_schema.innodb_metr... Open

 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.


Generated at Thu Feb 08 09:39:35 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.