Estou usando o MariaDB 10.5 no Centos7 com 4G de RAM e 2 CPUs.
Aqui está a configuração do my.cnf
[mysqld]
log-error=/var/lib/mysql/mysql-3.kannel.com.err
max_allowed_packet=1G
event_scheduler = ON
innodb_file_per_table=ON
#innodb_file_format=Barracuda
innodb_buffer_pool_size=3G
innodb_buffer_pool_instances=6
innodb_log_file_size=1G
innodb_log_files_in_group=1
innodb_log_buffer_size=32M
innodb_log_write_ahead_size=32M
innodb_flush_log_at_trx_commit=2
innodb_read_io_threads=32
innodb_write_io_threads=128
innodb_io_capacity=10000
innodb_thread_concurrency=6
innodb_flush_method=o_direct
join_buffer_size=128M
sort_buffer_size=20M
read_rnd_buffer_size=128M
datadir=/var/lib/mysql
open_files_limit=10000
default-storage-engine=InnoDB
max_connections = 500
# CACHES AND LIMITS #
tmp-table-size = 20M
max-heap-table-size = 32M
query-cache-type = 1
thread-cache-size = 50M
table-definition-cache = 128M
table-open-cache = 128M
query_cache_size = 50M
query_cache_limit=128M
Mas quando vejo o status do mecanismo InnoDB usando SHOW ENGINE INNODB STATUS\G;
ele me dá informações abaixo onde Buffer pool size 193296
masTotal large memory allocated 3288334336
BUFFER POOL AND MEMORY
----------------------
Total large memory allocated 3288334336
Dictionary memory allocated 19166328
Buffer pool size 193296
Free buffers 179141
Database pages 49186
Old database pages 18176
Então, se Buffer pool size 193296
, onde o restante da memória está sendo alocado?
Obrigado!