Drizzled Public API Documentation

fil_system_struct Struct Reference

List of all members.

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

Public Attributes

mutex_t mutex
hash_table_tspaces
hash_table_tname_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

Detailed Description

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 245 of file fil0fil.cc.


Member Function Documentation

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

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

list of all file spaces


Member Data Documentation

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 276 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().

n_open is not allowed to exceed this

Definition at line 272 of file fil0fil.cc.

Referenced by fil_init(), and fil_open_log_and_system_tablespace_files().

when we write to a file we increment this by one

Definition at line 274 of file fil0fil.cc.

number of files currently open

Definition at line 271 of file fil0fil.cc.

Referenced by fil_open_log_and_system_tablespace_files(), and fil_validate().

hash table based on the space name

Definition at line 252 of file fil0fil.cc.

Referenced by fil_close(), fil_init(), and fil_space_create().

The hash table of spaces in the system; they are hashed on the space id

Definition at line 249 of file fil0fil.cc.

Referenced by fil_close(), fil_init(), fil_space_create(), and fil_validate().

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 283 of file fil0fil.cc.

Referenced by fil_space_create().


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