我在谷歌上做了研究,阅读了一些博客,但没有发现任何对我来说真正有效的方法。在我的 mysql 多次测试配置崩溃后,我别无选择,只能在这里寻求帮助。
有人能给我一些关于在 my.cnf 中为具有以下规格的重型数据库服务器(12 个表,超过 50G 的数据)推荐哪些值的提示:`
root@blah:/etc/mysql# lscpu
Architecture: x86_64
CPU op-mode(s): 32-bit, 64-bit
Byte Order: Little Endian
CPU(s): 16
On-line CPU(s) list: 0-15
Thread(s) per core: 16
Core(s) per socket: 1
Socket(s): 1
NUMA node(s): 1
Vendor ID: GenuineIntel
CPU family: 6
Model: 62
Stepping: 4
CPU MHz: 2600.092
BogoMIPS: 5200.18
Hypervisor vendor: Xen
Virtualization type: full
L1d cache: 32K
L1i cache: 32K
L2 cache: 256K
L3 cache: 20480K
NUMA node0 CPU(s): 0-15
root@blah:/etc/mysql# free -m …Run Code Online (Sandbox Code Playgroud) mysql ×1