#include <trx0sys.h>
Detailed Description
The transaction system central memory data structure.
Definition at line 603 of file trx0sys.h.
Member Function Documentation
List of read views sorted on trx no, biggest first
Member Data Documentation
The smallest number not yet assigned as a transaction id or transaction number
Definition at line 618 of file trx0sys.h.
mutex protecting most fields in this structure except when noted otherwise
Definition at line 605 of file trx0sys.h.
trx_list_t trx_sys_t::mysql_trx_list |
List of transactions created for MySQL. All transactions on ro_trx_list are on mysql_trx_list. The rw_trx_list can contain system transactions and recovered transactions that will not be in the mysql_trx_list. There can be active non-locking auto-commit read only transactions that are on this list but not on ro_trx_list. mysql_trx_list may additionally contain transactions that have not yet been started in InnoDB.
Definition at line 636 of file trx0sys.h.
ulint trx_sys_t::n_prepared_recovered_trx |
Number of transactions currently in XA PREPARED state that are also recovered. Such transactions cannot be added during runtime. They can only occur after recovery if mysqld crashed while there were XA PREPARED transactions. We disable query cache if such transactions exist.
Definition at line 610 of file trx0sys.h.
ulint trx_sys_t::n_prepared_trx |
Number of transactions currently in the XA PREPARED state
Definition at line 608 of file trx0sys.h.
trx_list_t trx_sys_t::ro_trx_list |
List of active and committed in memory read-only transactions, sorted on trx id, biggest first. NOTE: The order for read-only transactions is not necessary. We should exploit this and increase concurrency during add/remove.
Definition at line 629 of file trx0sys.h.
trx_rseg_t* const trx_sys_t::rseg_array[TRX_SYS_N_RSEGS] |
Pointer array to rollback segments; NULL if slot not in use; created and destroyed in single-threaded mode; not protected by any mutex, because it is read-only during multi-threaded operation
Definition at line 649 of file trx0sys.h.
ulint trx_sys_t::rseg_history_len |
Length of the TRX_RSEG_HISTORY list (update undo logs for committed transactions), protected by rseg->mutex
Definition at line 655 of file trx0sys.h.
trx_list_t trx_sys_t::rw_trx_list |
List of active and committed in memory read-write transactions, sorted on trx id, biggest first. Recovered transactions are always on this list.
Definition at line 625 of file trx0sys.h.
The documentation for this struct was generated from the following file: