Public Member Functions | |
UT_LIST_BASE_NODE_T (fil_node_t) chain | |
UT_LIST_NODE_T (fil_space_t) unflushed_spaces | |
UT_LIST_NODE_T (fil_space_t) space_list | |
UT_LIST_BASE_NODE_T (fil_node_t) chain | |
UT_LIST_NODE_T (fil_space_t) unflushed_spaces | |
UT_LIST_NODE_T (fil_space_t) space_list | |
Public Attributes | |
char * | name |
ulint | id |
ib_int64_t | tablespace_version |
ibool | mark |
ibool | stop_ios |
ibool | stop_ibuf_merges |
ibool | is_being_deleted |
ulint | purpose |
ulint | size |
ulint | flags |
ulint | n_reserved_extents |
ulint | n_pending_flushes |
ulint | n_pending_ibuf_merges |
hash_node_t | hash |
hash_node_t | name_hash |
rw_lock_t | latch |
ibool | is_in_unflushed_spaces |
ulint | magic_n |
Tablespace or log data space: let us call them by a common name space
Definition at line 171 of file fil0fil.cc.
fil_space_struct::UT_LIST_BASE_NODE_T | ( | fil_node_t | ) |
base node for the file chain
fil_space_struct::UT_LIST_BASE_NODE_T | ( | fil_node_t | ) |
base node for the file chain
fil_space_struct::UT_LIST_NODE_T | ( | fil_space_t | ) |
list of spaces with at least one unflushed
file we have written to
fil_space_struct::UT_LIST_NODE_T | ( | fil_space_t | ) |
list of spaces with at least one unflushed
file we have written to
fil_space_struct::UT_LIST_NODE_T | ( | fil_space_t | ) |
list of all spaces
fil_space_struct::UT_LIST_NODE_T | ( | fil_space_t | ) |
list of all spaces
ulint fil_space_struct::flags |
compressed page size and file format, or 0
Definition at line 207 of file fil0fil.cc.
Referenced by fil_extend_space_to_desired_size(), fil_space_create(), fil_space_get_flags(), and fil_space_get_latch().
hash_node_t fil_space_struct::hash |
hash chain node
Definition at line 220 of file fil0fil.cc.
ulint fil_space_struct::id |
space id
Definition at line 174 of file fil0fil.cc.
Referenced by fil_close_all_files(), fil_flush_file_spaces(), fil_io(), fil_is_exist(), fil_open_log_and_system_tablespace_files(), fil_space_create(), fil_space_for_table_exists_in_mem(), fil_validate(), and fil_write_flushed_lsn_to_data_files().
ibool fil_space_struct::is_being_deleted |
this is set to TRUE when we start
deleting a single-table tablespace and its file; when this flag is set no further i/o or flush requests can be placed on this space, though there may be such requests still being processed on this space
Definition at line 192 of file fil0fil.cc.
Referenced by fil_delete_tablespace(), fil_flush(), fil_flush_file_spaces(), fil_space_create(), fil_tablespace_deleted_or_being_deleted_in_mem(), and fil_tablespace_is_being_deleted().
ibool fil_space_struct::is_in_unflushed_spaces |
TRUE if this space is
currently in unflushed_spaces
Definition at line 229 of file fil0fil.cc.
Referenced by fil_flush(), and fil_space_create().
rw_lock_t fil_space_struct::latch |
latch protecting the file space storage
allocation
latch protecting the file space storage allocation
Definition at line 223 of file fil0fil.cc.
Referenced by fil_delete_tablespace(), fil_space_create(), and fil_space_get_latch().
ulint fil_space_struct::magic_n |
ibool fil_space_struct::mark |
this is set to TRUE at database startup if
the space corresponds to a table in the InnoDB data dictionary; so we can print a warning of orphaned tablespaces
this is set to TRUE at database startup if the space corresponds to a table in the InnoDB data dictionary; so we can print a warning of orphaned tablespaces
Definition at line 181 of file fil0fil.cc.
Referenced by fil_space_create(), and fil_space_for_table_exists_in_mem().
ulint fil_space_struct::n_pending_flushes |
this is positive when flushing
the tablespace to disk; dropping of the tablespace is forbidden if this is positive
Definition at line 211 of file fil0fil.cc.
Referenced by fil_delete_tablespace(), fil_flush(), and fil_space_create().
ulint fil_space_struct::n_pending_ibuf_merges |
this is positive
when merging insert buffer entries to a page so that we may need to access the ibuf bitmap page in the tablespade: dropping of the tablespace is forbidden if this is positive
Definition at line 214 of file fil0fil.cc.
Referenced by fil_decr_pending_ibuf_merges(), fil_delete_tablespace(), fil_inc_pending_ibuf_merges(), and fil_space_create().
ulint fil_space_struct::n_reserved_extents |
number of reserved free extents for
ongoing operations like B-tree page split
Definition at line 208 of file fil0fil.cc.
Referenced by fil_space_create(), fil_space_get_n_reserved_extents(), fil_space_release_free_extents(), and fil_space_reserve_free_extents().
char * fil_space_struct::name |
space name = the path to the first file in
it
space name = the path to the first file in it
Definition at line 172 of file fil0fil.cc.
Referenced by fil_delete_tablespace(), fil_io(), fil_rename_tablespace(), fil_space_create(), and fil_space_for_table_exists_in_mem().
hash_node_t fil_space_struct::name_hash |
hash chain the name_hash table
Definition at line 221 of file fil0fil.cc.
ulint fil_space_struct::purpose |
FIL_TABLESPACE, FIL_LOG, or
FIL_ARCH_LOG
FIL_TABLESPACE, FIL_LOG, or FIL_ARCH_LOG
Definition at line 199 of file fil0fil.cc.
Referenced by fil_aio_wait(), fil_flush(), fil_flush_file_spaces(), fil_io(), fil_is_exist(), fil_open_log_and_system_tablespace_files(), fil_space_create(), fil_space_get_flags(), fil_space_get_size(), fil_space_get_type(), fil_validate(), and fil_write_flushed_lsn_to_data_files().
ulint fil_space_struct::size |
space size in pages; 0 if a single-table
tablespace whose size we do not know yet; last incomplete megabytes in data files may be ignored if space == 0
space size in pages; 0 if a single-table tablespace whose size we do not know yet; last incomplete megabytes in data files may be ignored if space == 0
Definition at line 203 of file fil0fil.cc.
Referenced by fil_extend_space_to_desired_size(), fil_node_create(), fil_space_create(), fil_space_get_flags(), and fil_space_get_size().
ibool fil_space_struct::stop_ibuf_merges |
we set this TRUE when we start
deleting a single-table tablespace
Definition at line 189 of file fil0fil.cc.
Referenced by fil_delete_tablespace(), fil_inc_pending_ibuf_merges(), and fil_space_create().
ibool fil_space_struct::stop_ios |
TRUE if we want to rename the
.ibd file of tablespace and want to stop temporarily posting of new i/o requests on the file
TRUE if we want to rename the .ibd file of tablespace and want to stop temporarily posting of new i/o requests on the file
Definition at line 185 of file fil0fil.cc.
Referenced by fil_rename_tablespace(), and fil_space_create().
ib_int64_t fil_space_struct::tablespace_version |
in DISCARD/IMPORT this timestamp
is used to check if we should ignore an insert buffer merge request for a page because it actually was for the previous incarnation of the space
Definition at line 175 of file fil0fil.cc.
Referenced by fil_space_create(), fil_space_get_version(), and fil_tablespace_deleted_or_being_deleted_in_mem().