![]()  | 
  
    MySQL 9.5.0
    
   Source Code Documentation 
   | 
 
Classes | |
| class | Tablespace | 
| Session Temporary tablespace.  More... | |
| class | Tablespace_pool | 
| Pool of session temporary tablespaces.  More... | |
Enumerations | |
| enum | tbsp_purpose { TBSP_NONE = 0 , TBSP_USER , TBSP_INTRINSIC , TBSP_SLAVE } | 
| Purpose for using tablespace.  More... | |
Functions | |
| dberr_t | open_or_create (bool create_new_db) | 
| Create the session temporary tablespaces on startup.  More... | |
| void | free_tmp (Tablespace *ts) | 
| Release a tablespace back to the pool.  More... | |
| void | delete_pool_manager () | 
| Delete the pool manager.  More... | |
| void | close_files () | 
| Close all files in the pool.  More... | |
| Tablespace * | get_rpl_slave_tblsp () | 
| static dberr_t | create_temp_dir () | 
| Create the directory holding the temporary pool tablespaces.  More... | |
Variables | |
| class Tablespace_pool * | tbsp_pool = nullptr | 
| Pool of temporary tablespace.  More... | |
| char * | srv_temp_dir = nullptr | 
| Server temp tablespaces directory, can be absolute path.  More... | |
| const uint32_t | INIT_SIZE = 10 | 
| The initial size of temporary tablespace pool.  More... | |
| const uint32_t | POOL_EXPAND_SIZE = 10 | 
| The number of tablespaces added to the pool every time the pool is expanded.  More... | |
| const uint32_t | SLAVE_THREAD_ID = UINT32_MAX | 
| Thread id for the replication thread.  More... | |
| static const char | DIR_NAME [] = "#innodb_temp" | 
| Directory to store the session temporary tablespaces.  More... | |
| static const char | PREFIX_NAME [] = "temp_" | 
| Filename prefix to identify the session temporary tablespaces.  More... | |
| static std::string | temp_tbsp_dir | 
| Directory name where session temporary tablespaces are stored.  More... | |
| static Tablespace * | rpl_slave_tblsp = nullptr | 
| Tablespace to be used by the replication thread.  More... | |
| enum ibt::tbsp_purpose | 
| void ibt::close_files | ( | ) | 
Close all files in the pool.
      
  | 
  static | 
Create the directory holding the temporary pool tablespaces.
| void ibt::delete_pool_manager | ( | ) | 
Delete the pool manager.
This should be called only on shutdown
| void ibt::free_tmp | ( | Tablespace * | ts | ) | 
Release a tablespace back to the pool.
The tablespace will be truncated before adding back to pool
| Tablespace * ibt::get_rpl_slave_tblsp | ( | ) | 
| dberr_t ibt::open_or_create | ( | bool | create_new_db | ) | 
Create the session temporary tablespaces on startup.
| [in] | create_new_db | true if bootstrapping | 
      
  | 
  static | 
Directory to store the session temporary tablespaces.
Used when user doesn't provide a temporary tablespace dir
| const uint32_t ibt::INIT_SIZE = 10 | 
The initial size of temporary tablespace pool.
| const uint32_t ibt::POOL_EXPAND_SIZE = 10 | 
The number of tablespaces added to the pool every time the pool is expanded.
      
  | 
  static | 
Filename prefix to identify the session temporary tablespaces.
They are of pattern temp_*.ibt
      
  | 
  static | 
Tablespace to be used by the replication thread.
| const uint32_t ibt::SLAVE_THREAD_ID = UINT32_MAX | 
Thread id for the replication thread.
| char * ibt::srv_temp_dir = nullptr | 
Server temp tablespaces directory, can be absolute path.
| Tablespace_pool * ibt::tbsp_pool = nullptr | 
Pool of temporary tablespace.
      
  | 
  static | 
Directory name where session temporary tablespaces are stored.
This location is decided after consulting srv_temp_dir