MySQL 26.7.0
Source Code Documentation
ib::fil::Tablespaces_nodes_interface::Node_info Struct Reference

Stored general information about the storage node at the time of calling the get_node_info(). More...

#include <fil0tablespaces_nodes_interface.h>

Public Attributes

page_no_t size
 Size of the node in pages. More...
 
uint32_t block_size
 Block size to use for IO in bytes. More...
 
uint64_t alloc_size
 Actual file size that is, the amount of space allocated on the file system. More...
 
Access_permissions access_permissions
 Determines if caller would succeed to open the path if they tried now, with specified access modes. More...
 

Detailed Description

Stored general information about the storage node at the time of calling the get_node_info().

Member Data Documentation

◆ access_permissions

Access_permissions ib::fil::Tablespaces_nodes_interface::Node_info::access_permissions

Determines if caller would succeed to open the path if they tried now, with specified access modes.

This value is reliable only when Node_hints::m_check_permissions was true. When a false permission is reported after an explicit permission check, it may mean that it is a temporary problem which may go away if another thread/process unlocks the file. This temporary problem is more common on Windows as the default setting is to lock the files when opening them.

◆ alloc_size

uint64_t ib::fil::Tablespaces_nodes_interface::Node_info::alloc_size

Actual file size that is, the amount of space allocated on the file system.

◆ block_size

uint32_t ib::fil::Tablespaces_nodes_interface::Node_info::block_size

Block size to use for IO in bytes.

If transparent page compression is used, the buffer size for write_page()/write_page_async() must be multiple of this value.

◆ size

page_no_t ib::fil::Tablespaces_nodes_interface::Node_info::size

Size of the node in pages.


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