drizzle
C++ MySQL-protocol-compatible database server
Loading...
Searching...
No Matches
trx_sys_struct Struct Reference

#include <trx0sys.h>

Collaboration diagram for trx_sys_struct:
[legend]

Public Member Functions

 UT_LIST_BASE_NODE_T (trx_t) trx_list
 UT_LIST_BASE_NODE_T (trx_t) mysql_trx_list
 UT_LIST_BASE_NODE_T (trx_rseg_t) rseg_list
 UT_LIST_BASE_NODE_T (read_view_t) view_list

Public Attributes

trx_id_t max_trx_id
trx_rseg_t * latest_rseg
trx_rseg_t * rseg_array [TRX_SYS_N_RSEGS]
ulint rseg_history_len

Detailed Description

The transaction system central memory data structure; protected by the kernel mutex

Definition at line 554 of file trx0sys.h.

Member Function Documentation

◆ UT_LIST_BASE_NODE_T() [1/4]

trx_sys_struct::UT_LIST_BASE_NODE_T ( read_view_t )

List of read views sorted on trx no, biggest first

◆ UT_LIST_BASE_NODE_T() [2/4]

trx_sys_struct::UT_LIST_BASE_NODE_T ( trx_rseg_t )

List of rollback segment objects

◆ UT_LIST_BASE_NODE_T() [3/4]

trx_sys_struct::UT_LIST_BASE_NODE_T ( trx_t )

List of transactions created for MySQL

◆ UT_LIST_BASE_NODE_T() [4/4]

trx_sys_struct::UT_LIST_BASE_NODE_T ( trx_t )

List of active and committed in memory transactions, sorted on trx id, biggest first

Member Data Documentation

◆ latest_rseg

trx_rseg_t* trx_sys_struct::latest_rseg

Latest rollback segment in the round-robin assignment of rollback segments to transactions

Definition at line 569 of file trx0sys.h.

◆ max_trx_id

trx_id_t trx_sys_struct::max_trx_id

The smallest number not yet assigned as a transaction id or transaction number

Definition at line 555 of file trx0sys.h.

◆ rseg_array

trx_rseg_t* trx_sys_struct::rseg_array[TRX_SYS_N_RSEGS]

Pointer array to rollback segments; NULL if slot not in use

Definition at line 572 of file trx0sys.h.

◆ rseg_history_len

ulint trx_sys_struct::rseg_history_len

Length of the TRX_RSEG_HISTORY list (update undo logs for committed transactions), protected by rseg->mutex

Definition at line 575 of file trx0sys.h.


The documentation for this struct was generated from the following file: