Recently i have figured out that we can over-allocate InnoDB buffer pool size as I have already reported:
So as a result I can start MySQL with 300GB buffer pool size in my 16G laptop.
Config:
innodb_buffer_pool_size=300G
innodb_buffer_pool_instances=64
Started as:
2016-01-05 15:23:58 16211 [Note] InnoDB: Initializing
buffer pool, size = 300.0G
2016-01-05 15:24:31 16211 [Note] InnoDB: Completed initialization
of buffer pool
If you think that it is not harmful, let’s examine another report:
With MySQL 5.7.10 in my VM on CentOS 7:
I have:
[root@mysql-57 ~]# free -m
total used free shared buff/cache available
Mem: 3428 …