Drizzled Public API Documentation

trx_purge_struct Struct Reference

#include <trx0purge.h>

List of all members.

Public Attributes

ulint state
sess_tsess
trx_ttrx
que_tquery
rw_lock_t latch
read_view_tview
mutex_t mutex
ulint n_pages_handled
ulint handle_limit
trx_id_t purge_trx_no
undo_no_t purge_undo_no
ibool next_stored
trx_rseg_trseg
ulint page_no
ulint offset
ulint hdr_page_no
ulint hdr_offset
trx_undo_arr_tarr
mem_heap_theap

Detailed Description

The control structure used in the purge operation

Definition at line 128 of file trx0purge.h.


Member Data Documentation

Array of transaction numbers and undo numbers of the undo records currently under processing in purge

Definition at line 177 of file trx0purge.h.

Referenced by trx_purge_sys_close(), and trx_purge_sys_create().

Target of how many pages to get processed in the current purge

Definition at line 148 of file trx0purge.h.

Referenced by trx_purge(), and trx_purge_fetch_next_rec().

Header byte offset on the page

Definition at line 175 of file trx0purge.h.

Referenced by trx_purge_sys_print().

Header page of the undo log where the next record to purge belongs

Definition at line 173 of file trx0purge.h.

Referenced by trx_purge_sys_print().

Temporary storage used during a purge: can be emptied after purge completes

Definition at line 180 of file trx0purge.h.

Referenced by trx_purge(), trx_purge_sys_close(), and trx_purge_sys_create().

The latch protecting the purge view. A purge operation must acquire an x-latch here for the instant at which it changes the purge view: an undo log operation can prevent this by obtaining an s-latch here.

Definition at line 137 of file trx0purge.h.

Referenced by row_vers_build_for_consistent_read(), row_vers_build_for_semi_consistent_read(), row_vers_impl_x_locked_off_kernel(), row_vers_must_preserve_del_marked(), row_vers_old_has_index_entry(), trx_purge(), trx_purge_sys_close(), trx_purge_sys_create(), trx_purge_update_undo_must_exist(), trx_undo_get_undo_rec(), and trx_undo_prev_version_build().

Approximate number of undo log pages processed in purge

Definition at line 146 of file trx0purge.h.

Referenced by trx_purge(), trx_purge_fetch_next_rec(), and trx_purge_sys_create().

TRUE if the info of the next record to purge is stored below: if yes, then the transaction number and the undo number of the record are stored in purge_trx_no and purge_undo_no above

Definition at line 160 of file trx0purge.h.

Referenced by trx_purge_fetch_next_rec(), trx_purge_sys_create(), and trx_purge_sys_print().

Page offset for the next undo record to purge, 0 if the dummy record

Definition at line 170 of file trx0purge.h.

Referenced by trx_purge_fetch_next_rec(), and trx_purge_sys_print().

Page number for the next undo record to purge, page number of the log header, if dummy record

Definition at line 167 of file trx0purge.h.

Referenced by trx_purge_fetch_next_rec(), and trx_purge_sys_print().

Purge has advanced past all transactions whose number is less than this

Definition at line 154 of file trx0purge.h.

Referenced by lock_print_info_summary(), trx_purge_fetch_next_rec(), trx_purge_sys_create(), and trx_purge_sys_print().

Purge has advanced past all records whose undo number is less than this

Definition at line 157 of file trx0purge.h.

Referenced by lock_print_info_summary(), trx_purge_fetch_next_rec(), trx_purge_sys_create(), and trx_purge_sys_print().

The query graph which will do the parallelized purge operation

Definition at line 135 of file trx0purge.h.

Referenced by trx_purge(), trx_purge_sys_close(), and trx_purge_sys_create().

Rollback segment for the next undo record to purge

Definition at line 165 of file trx0purge.h.

Referenced by trx_purge_fetch_next_rec().

System session running the purge query

Definition at line 130 of file trx0purge.h.

Referenced by trx_purge_sys_close(), and trx_purge_sys_create().

Purge system state

Definition at line 129 of file trx0purge.h.

Referenced by trx_purge(), trx_purge_fetch_next_rec(), and trx_purge_sys_create().

System transaction running the purge query: this trx is not in the trx list of the trx system and it never ends

Definition at line 132 of file trx0purge.h.

Referenced by trx_purge(), and trx_purge_sys_create().

The purge will not remove undo logs which are >= this view (purge view)

Definition at line 143 of file trx0purge.h.

Referenced by trx_purge(), trx_purge_fetch_next_rec(), trx_purge_sys_close(), trx_purge_sys_create(), trx_purge_sys_print(), and trx_purge_update_undo_must_exist().


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