MySQL 8.0.39
Source Code Documentation
fts_optimize_t Struct Reference

Used by fts_optimize() to store state. More...

Public Attributes

trx_ttrx
 The transaction used for all SQL. More...
 
ib_alloc_tself_heap
 Heap to use for allocations. More...
 
char * name_prefix
 FTS table name prefix. More...
 
fts_table_t fts_index_table
 Common table definition. More...
 
fts_table_t fts_common_table
 
dict_table_ttable
 Table that has to be queried. More...
 
dict_index_tindex
 The FTS index to be optimized. More...
 
fts_doc_ids_tto_delete
 doc ids to delete, we check against this vector and purge the matching entries during the optimizing process. More...
 
ulint del_pos
 Offset within to_delete vector, this is used to keep track of where we are up to in the vector. More...
 
bool done
 true when optimize finishes More...
 
ib_vector_twords
 Word + Nodes read from FTS_INDEX, it contains instances of fts_word_t. More...
 
fts_zip_tzip
 Words read from the FTS_INDEX. More...
 
fts_optimize_graph_t graph
 < Prepared statements used during More...
 
ulint n_completed
 Number of FTS indexes that have been optimized. More...
 
bool del_list_regenerated
 BEING_DELETED list regenerated. More...
 

Detailed Description

Used by fts_optimize() to store state.

Member Data Documentation

◆ del_list_regenerated

bool fts_optimize_t::del_list_regenerated

BEING_DELETED list regenerated.

◆ del_pos

ulint fts_optimize_t::del_pos

Offset within to_delete vector, this is used to keep track of where we are up to in the vector.

◆ done

bool fts_optimize_t::done

true when optimize finishes

◆ fts_common_table

fts_table_t fts_optimize_t::fts_common_table

◆ fts_index_table

fts_table_t fts_optimize_t::fts_index_table

Common table definition.

Common table definition

◆ graph

fts_optimize_graph_t fts_optimize_t::graph

< Prepared statements used during

◆ index

dict_index_t* fts_optimize_t::index

The FTS index to be optimized.

◆ n_completed

ulint fts_optimize_t::n_completed

Number of FTS indexes that have been optimized.

◆ name_prefix

char* fts_optimize_t::name_prefix

FTS table name prefix.

◆ self_heap

ib_alloc_t* fts_optimize_t::self_heap

Heap to use for allocations.

◆ table

dict_table_t* fts_optimize_t::table

Table that has to be queried.

◆ to_delete

fts_doc_ids_t* fts_optimize_t::to_delete

doc ids to delete, we check against this vector and purge the matching entries during the optimizing process.

The vector entries are sorted on doc id

◆ trx

trx_t* fts_optimize_t::trx

The transaction used for all SQL.

◆ words

ib_vector_t* fts_optimize_t::words

Word + Nodes read from FTS_INDEX, it contains instances of fts_word_t.

◆ zip

fts_zip_t* fts_optimize_t::zip

Words read from the FTS_INDEX.


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