MySQL 9.1.0
Source Code Documentation
constants.h File Reference

TempTable constants. More...

#include "my_config.h"

Go to the source code of this file.

Namespaces

namespace  temptable
 

Functions

constexpr unsigned long long temptable::operator""_KiB (unsigned long long n)
 Multiply a number by 1024. More...
 
constexpr unsigned long long temptable::operator""_MiB (unsigned long long n)
 Multiply a number by 1024 * 1024. More...
 
constexpr unsigned long long temptable::operator""_GiB (unsigned long long n)
 Multiply a number by 1024 * 1024 * 1024. More...
 

Variables

constexpr size_t temptable::ALLOCATOR_MAX_BLOCK_MB_EXP = 9
 log2(allocator max block size in MiB). More...
 
constexpr size_t temptable::ALLOCATOR_MAX_BLOCK_BYTES
 Limit on the size of a block created by Allocator (in bytes). More...
 
constexpr size_t temptable::STORAGE_PAGE_SIZE = 64_KiB
 Storage page size. More...
 
constexpr size_t temptable::INDEX_DEFAULT_HASH_TABLE_BUCKETS = 1024
 Number of buckets to have by default in a hash index. More...
 
constexpr bool temptable::DEBUG_BUILD = true
 Store build-type information into the constexpr expression. More...
 
constexpr size_t temptable::L1_DCACHE_SIZE = CPU_LEVEL1_DCACHE_LINESIZE
 Store L1-dcache size information into the constexpr expression. More...
 
constexpr size_t temptable::KV_STORE_SHARDS_COUNT = 16 * 1024
 Number of shards in key-value store. More...
 
constexpr size_t temptable::SHARED_BLOCK_POOL_SIZE = 16 * 1024
 Size of a pool containing shared-blocks. More...
 

Detailed Description

TempTable constants.