MySQL 5.6.14 Source Code Document
|
#include <fts0types.h>
The cache for the FTS system. It is a memory-based inverted index
that new entries are added to, until it grows over the configured maximum size, at which time its contents are written to the INDEX table.
Definition at line 131 of file fts0types.h.
ulint fts_cache_t::added |
Number of doc ids added since last optimized. This variable is covered by the deleted lock
Definition at line 186 of file fts0types.h.
mem_heap_t* fts_cache_t::cache_heap |
Cache Heap
Definition at line 191 of file fts0types.h.
ulint fts_cache_t::deleted |
Number of doc ids deleted since last optimized. This variable is covered by deleted_lock
Definition at line 182 of file fts0types.h.
ib_vector_t* fts_cache_t::deleted_doc_ids |
Array of deleted doc ids, each element is of type fts_update_t
Definition at line 146 of file fts0types.h.
ib_mutex_t fts_cache_t::deleted_lock |
Lock covering deleted_doc_ids
Definition at line 142 of file fts0types.h.
ib_mutex_t fts_cache_t::doc_id_lock |
Lock covering Doc ID
Definition at line 144 of file fts0types.h.
doc_id_t fts_cache_t::first_doc_id |
first doc id since this table was opened
Definition at line 179 of file fts0types.h.
ib_vector_t* fts_cache_t::get_docs |
information required to read the document from the table. Each element is of type fts_doc_t
Definition at line 154 of file fts0types.h.
ib_vector_t* fts_cache_t::indexes |
We store the stats and inverted index for the individual FTS indexes in this vector. Each element is an instance of fts_index_cache_t
Definition at line 149 of file fts0types.h.
rw_lock_t fts_cache_t::init_lock |
lock used for the cache intialization, it has different SYNC level as above cache lock
Definition at line 136 of file fts0types.h.
rw_lock_t fts_cache_t::lock |
lock protecting all access to the memory buffer. FIXME: this needs to be our new upgrade-capable rw-lock
Definition at line 132 of file fts0types.h.
doc_id_t fts_cache_t::next_doc_id |
Next doc id
Definition at line 175 of file fts0types.h.
ib_mutex_t fts_cache_t::optimize_lock |
Lock for OPTIMIZE
Definition at line 140 of file fts0types.h.
ib_alloc_t* fts_cache_t::self_heap |
This heap is the heap out of which an instance of the cache itself was created. Objects created using this heap will last for the lifetime of the cache
Definition at line 169 of file fts0types.h.
fts_stopword_t fts_cache_t::stopword_info |
Cached stopwords for the FTS
Definition at line 190 of file fts0types.h.
fts_sync_t* fts_cache_t::sync |
sync structure to sync data to disk
Definition at line 161 of file fts0types.h.
ib_alloc_t* fts_cache_t::sync_heap |
The heap allocator, for indexes and deleted_doc_ids, ie. transient objects, they are recreated after a SYNC is completed
Definition at line 163 of file fts0types.h.
doc_id_t fts_cache_t::synced_doc_id |
Doc ID sync-ed to CONFIG table
Definition at line 177 of file fts0types.h.
ulint fts_cache_t::total_size |
total size consumed by the ilist field of all nodes. SYNC is run whenever this gets too big
Definition at line 158 of file fts0types.h.