MySQL 26.7.0
Source Code Documentation
fsp0sysspace.cc File Reference

Multi file, shared, system tablespace implementation. More...

#include <stdlib.h>
#include <sys/types.h>
#include <optional>
#include "dict0load.h"
#include "fil0tablespace_node_handle_interface.h"
#include "fil0tablespaces_nodes_interface.h"
#include "fsp0sysspace.h"
#include "ha_prototypes.h"
#include "mem0mem.h"
#include "mysqld.h"
#include "os0file.h"
#include "row0mysql.h"
#include "page0page.h"
#include "srv0start.h"
#include "trx0sys.h"
#include "ut0new.h"

Namespaces

namespace  ib
 
namespace  ib::fsp
 

Variables

ib::fsp::SysTablespace srv_sys_space (TRX_SYS_SPACE, FIL_TYPE_TABLESPACE)
 The server header file is included to access opt_initialize global variable. More...
 
ib::fsp::SysTablespace srv_tmp_space (dict_sys_t::s_temp_space_id, FIL_TYPE_TEMPORARY)
 The control info of a temporary table shared tablespace. More...
 
ulong sys_tablespace_auto_extend_increment
 If the last data file is auto-extended, we add this many pages to it at a time. More...
 
bool srv_skip_temp_table_checks_debug = true
 Control if extra debug checks need to be done for temporary tablespace. More...
 

Detailed Description

Multi file, shared, system tablespace implementation.

Created 2012-11-16 by Sunny Bains as srv/srv0space.cc Refactored 2013-7-26 by Kevin Lewis

Variable Documentation

◆ srv_skip_temp_table_checks_debug

bool srv_skip_temp_table_checks_debug = true

Control if extra debug checks need to be done for temporary tablespace.

Default = true that is disable such checks. This variable is not exposed to end-user but still kept as variable for developer to enable it during debug.

◆ srv_sys_space

The server header file is included to access opt_initialize global variable.

If server passes the option for create/open DB to SE, we should remove such direct reference to server header and global variable The control info of the system tablespace.

◆ srv_tmp_space

The control info of a temporary table shared tablespace.

◆ sys_tablespace_auto_extend_increment

ulong sys_tablespace_auto_extend_increment

If the last data file is auto-extended, we add this many pages to it at a time.

We have to make this public because it is a config variable.