|
drizzle
C++ MySQL-protocol-compatible database server
|
#include <dict0mem.h>
Public Attributes | |
| index_id_t | id |
| mem_heap_t * | heap |
| const char * | name |
| const char * | table_name |
| dict_table_t * | table |
| unsigned | space:32 |
| unsigned | page:32 |
| unsigned | type:4 |
| unsigned | trx_id_offset:10 |
| unsigned | n_user_defined_cols:10 |
| unsigned | n_uniq:10 |
| unsigned | n_def:10 |
| unsigned | n_fields:10 |
| unsigned | n_nullable:10 |
| unsigned | cached:1 |
| unsigned | to_be_dropped:1 |
| unsigned | corrupted:1 |
| dict_field_t * | fields |
| indexes | |
| btr_search_t * | search_info |
| ib_int64_t * | stat_n_diff_key_vals |
| ib_int64_t * | stat_n_non_null_key_vals |
| ulint | stat_index_size |
| ulint | stat_n_leaf_pages |
| rw_lock_t | lock |
| trx_id_t | trx_id |
Data structure for an index. Most fields will be initialized to 0, NULL or FALSE in dict_mem_index_create().
Definition at line 328 of file dict0mem.h.
| unsigned dict_index_struct::cached |
TRUE if the index object is in the dictionary cache
Definition at line 355 of file dict0mem.h.
| unsigned dict_index_struct::corrupted |
TRUE if the index object is corrupted
Definition at line 361 of file dict0mem.h.
| dict_field_t* dict_index_struct::fields |
array of field descriptions
Definition at line 363 of file dict0mem.h.
| mem_heap_t* dict_index_struct::heap |
memory heap
Definition at line 330 of file dict0mem.h.
| index_id_t dict_index_struct::id |
id of the index
Definition at line 329 of file dict0mem.h.
| dict_index_struct::indexes |
list of indexes of the table
Definition at line 366 of file dict0mem.h.
| rw_lock_t dict_index_struct::lock |
read-write lock protecting the upper levels of the index tree
Definition at line 391 of file dict0mem.h.
| unsigned dict_index_struct::n_def |
number of fields defined so far
Definition at line 352 of file dict0mem.h.
| unsigned dict_index_struct::n_fields |
number of fields in the index
Definition at line 353 of file dict0mem.h.
| unsigned dict_index_struct::n_nullable |
number of nullable fields
Definition at line 354 of file dict0mem.h.
| unsigned dict_index_struct::n_uniq |
number of fields from the beginning which are enough to determine an index entry uniquely
Definition at line 349 of file dict0mem.h.
| unsigned dict_index_struct::n_user_defined_cols |
number of columns the user defined to be in the index: in the internal representation we add more columns
Definition at line 345 of file dict0mem.h.
| const char* dict_index_struct::name |
index name
Definition at line 331 of file dict0mem.h.
| unsigned dict_index_struct::page |
index tree root page number
Definition at line 337 of file dict0mem.h.
| btr_search_t* dict_index_struct::search_info |
info used in optimistic searches
Definition at line 367 of file dict0mem.h.
| unsigned dict_index_struct::space |
space where the index tree is placed
Definition at line 335 of file dict0mem.h.
| ulint dict_index_struct::stat_index_size |
approximate index size in database pages
Definition at line 384 of file dict0mem.h.
| ib_int64_t* dict_index_struct::stat_n_diff_key_vals |
Statistics for query optimization approximate number of different key values for this index, for each n-column prefix where n <= dict_get_n_unique(index); we periodically calculate new estimates
Definition at line 371 of file dict0mem.h.
| ulint dict_index_struct::stat_n_leaf_pages |
approximate number of leaf pages in the index tree
Definition at line 387 of file dict0mem.h.
| ib_int64_t* dict_index_struct::stat_n_non_null_key_vals |
Definition at line 378 of file dict0mem.h.
| dict_table_t* dict_index_struct::table |
back pointer to table
Definition at line 333 of file dict0mem.h.
| const char* dict_index_struct::table_name |
table name
Definition at line 332 of file dict0mem.h.
| unsigned dict_index_struct::to_be_dropped |
TRUE if this index is marked to be dropped in ha_innobase::prepare_drop_index(), otherwise FALSE
Definition at line 357 of file dict0mem.h.
| trx_id_t dict_index_struct::trx_id |
id of the transaction that created this index, or 0 if the index existed when InnoDB was started up
Definition at line 393 of file dict0mem.h.
| unsigned dict_index_struct::trx_id_offset |
position of the trx id column in a clustered index record, if the fields before it are known to be of a fixed size, 0 otherwise
Definition at line 341 of file dict0mem.h.
| unsigned dict_index_struct::type |
index type (DICT_CLUSTERED, DICT_UNIQUE, DICT_UNIVERSAL, DICT_IBUF)
Definition at line 339 of file dict0mem.h.