Public Member Functions | |
UT_LIST_BASE_NODE_T (fil_node_t) LRU | |
UT_LIST_BASE_NODE_T (fil_space_t) unflushed_spaces | |
UT_LIST_BASE_NODE_T (fil_space_t) space_list | |
UT_LIST_BASE_NODE_T (fil_node_t) LRU | |
UT_LIST_BASE_NODE_T (fil_space_t) unflushed_spaces | |
UT_LIST_BASE_NODE_T (fil_space_t) space_list |
Public Attributes | |
mutex_t | mutex |
hash_table_t * | spaces |
hash_table_t * | name_hash |
ulint | n_open |
ulint | max_n_open |
ib_int64_t | modification_counter |
ulint | max_assigned_id |
ib_int64_t | tablespace_version |
ibool | space_id_reuse_warned |
The tablespace memory cache; also the totality of logs (the log
data space) is stored here; below we talk about tablespaces, but also the ib_logfiles form a 'space' and it is handled here
Definition at line 246 of file fil0fil.cc.
fil_system_struct::UT_LIST_BASE_NODE_T | ( | fil_node_t | ) |
base node for the LRU list of the most recently used open files with no pending i/o's; if we start an i/o on the file, we first remove it from this list, and return it to the start of the list when the i/o ends; log files and the system tablespace are not put to this list: they are opened after the startup, and kept open until shutdown
fil_system_struct::UT_LIST_BASE_NODE_T | ( | fil_node_t | ) |
base node for the LRU list of the most recently used open files with no pending i/o's; if we start an i/o on the file, we first remove it from this list, and return it to the start of the list when the i/o ends; log files and the system tablespace are not put to this list: they are opened after the startup, and kept open until shutdown
fil_system_struct::UT_LIST_BASE_NODE_T | ( | fil_space_t | ) |
base node for the list of those tablespaces whose files contain unflushed writes; those spaces have at least one file node where modification_counter > flush_counter
fil_system_struct::UT_LIST_BASE_NODE_T | ( | fil_space_t | ) |
base node for the list of those tablespaces whose files contain unflushed writes; those spaces have at least one file node where modification_counter > flush_counter
fil_system_struct::UT_LIST_BASE_NODE_T | ( | fil_space_t | ) |
list of all file spaces
fil_system_struct::UT_LIST_BASE_NODE_T | ( | fil_space_t | ) |
list of all file spaces
ulint fil_system_struct::max_assigned_id |
maximum space id in the existing tables, or assigned during the time mysqld has been up; at an InnoDB startup we scan the data dictionary and set here the maximum of the space id's of the tables there
Definition at line 277 of file fil0fil.cc.
Referenced by fil_assign_new_space_id(), fil_node_create(), fil_set_max_space_id_if_bigger(), and fil_space_create().
ulint fil_system_struct::max_n_open |
n_open is not allowed to exceed this
Definition at line 273 of file fil0fil.cc.
Referenced by fil_init(), and fil_open_log_and_system_tablespace_files().
ib_int64_t fil_system_struct::modification_counter |
when we write to a file we increment this by one
Definition at line 275 of file fil0fil.cc.
mutex_t fil_system_struct::mutex |
The mutex protecting the cache
Definition at line 248 of file fil0fil.cc.
Referenced by fil_aio_wait(), fil_assign_new_space_id(), fil_close(), fil_close_all_files(), fil_decr_pending_ibuf_merges(), fil_delete_tablespace(), fil_extend_space_to_desired_size(), fil_flush(), fil_flush_file_spaces(), fil_inc_pending_ibuf_merges(), fil_init(), fil_io(), fil_is_exist(), fil_node_create(), fil_open_log_and_system_tablespace_files(), fil_rename_tablespace(), fil_set_max_space_id_if_bigger(), fil_space_create(), fil_space_for_table_exists_in_mem(), fil_space_get_flags(), fil_space_get_latch(), fil_space_get_n_reserved_extents(), fil_space_get_size(), fil_space_get_type(), fil_space_get_version(), fil_space_release_free_extents(), fil_space_reserve_free_extents(), fil_tablespace_deleted_or_being_deleted_in_mem(), fil_tablespace_exists_in_mem(), fil_tablespace_is_being_deleted(), fil_validate(), and fil_write_flushed_lsn_to_data_files().
ulint fil_system_struct::n_open |
number of files currently open
Definition at line 272 of file fil0fil.cc.
Referenced by fil_open_log_and_system_tablespace_files(), and fil_validate().
hash_table_t * fil_system_struct::name_hash |
hash table based on the space name
Definition at line 253 of file fil0fil.cc.
Referenced by fil_close(), fil_init(), and fil_space_create().
hash_table_t * fil_system_struct::spaces |
The hash table of spaces in the system; they are hashed on the space id
Definition at line 250 of file fil0fil.cc.
Referenced by fil_close(), fil_init(), fil_space_create(), and fil_validate().
ib_int64_t fil_system_struct::tablespace_version |
a counter which is incremented for every space object memory creation; every space mem object gets a 'timestamp' from this; in DISCARD/ IMPORT this is used to check if we should ignore an insert buffer merge request
Definition at line 284 of file fil0fil.cc.
Referenced by fil_space_create().