MySQL 9.0.0
Source Code Documentation
zip_pad_info_t Struct Reference

Data structure to hold information about about how much space in an uncompressed page should be left as padding to avoid compression failures. More...

#include <dict0mem.h>

Public Attributes

SysMutex * mutex
 mutex protecting the info More...
 
std::atomic< ulintpad
 number of bytes used as pad More...
 
ulint success
 successful compression ops during current round More...
 
ulint failure
 failed compression ops during current round More...
 
ulint n_rounds
 number of currently successful rounds More...
 
std::atomic< os_once::state_tmutex_created
 Creation state of mutex member. More...
 

Detailed Description

Data structure to hold information about about how much space in an uncompressed page should be left as padding to avoid compression failures.

This estimate is based on a self-adapting heuristic.

Member Data Documentation

◆ failure

ulint zip_pad_info_t::failure

failed compression ops during current round

◆ mutex

SysMutex* zip_pad_info_t::mutex

mutex protecting the info

◆ mutex_created

std::atomic<os_once::state_t> zip_pad_info_t::mutex_created

Creation state of mutex member.

◆ n_rounds

ulint zip_pad_info_t::n_rounds

number of currently successful rounds

◆ pad

std::atomic<ulint> zip_pad_info_t::pad

number of bytes used as pad

◆ success

ulint zip_pad_info_t::success

successful compression ops during current round


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