![]() |
MySQL 9.4.0
Source Code Documentation
|
Compression statistics for a given page size. More...
#include <page0types.h>
Public Member Functions | |
page_zip_stat_t () | |
Public Attributes | |
ulint | compressed |
Number of page compressions. More... | |
ulint | compressed_ok |
Number of successful page compressions. More... | |
ulint | decompressed |
Number of page decompressions. More... | |
std::chrono::microseconds | compress_time |
Duration of page compressions. More... | |
std::chrono::microseconds | decompress_time |
Duration of page decompressions. More... | |
bool | dropped {false} |
The pages can linger in BP for a while after the index was already dropped. More... | |
Compression statistics for a given page size.
|
inline |
std::chrono::microseconds page_zip_stat_t::compress_time |
Duration of page compressions.
ulint page_zip_stat_t::compressed |
Number of page compressions.
ulint page_zip_stat_t::compressed_ok |
Number of successful page compressions.
std::chrono::microseconds page_zip_stat_t::decompress_time |
Duration of page decompressions.
ulint page_zip_stat_t::decompressed |
Number of page decompressions.
bool page_zip_stat_t::dropped {false} |
The pages can linger in BP for a while after the index was already dropped.
Compression and decompression are done at very low level. We have no access to a dict_index_t object there. Such objects might be evicted by LRU anyway. We use this flag here to indicate that the stats for this index are no longer of interest. This way this information is easily accessible to the low-level logic, and can outlive eviction or drop of dict_index_t.