「MySQL」- 安装部署



Oracle doesn’t publish such specs because it depends so much on how the server will be used, and on the OS.

See MySQL Memory Allocation for some pointers.

You could probably get by with 512MB or less, but I would not want to.

One core is usually adequate. — MySQL won’t use more than one core per connection, so having multiple cores is not needed until you have a lot of traffic.

MySQL has done just fine with simple spinning disks; RAID and/or SSDs are nice, but not a requirement.

However, if you are going with less than 4GB of RAM, you will need to crank down the tunables. Swapping is really bad for performance.


Setting up MySQL Replication Clusters in Kubernetes
– 参考一下就可以了,应该还有其他更好的实践。


在Unix/Linux上,使用通用二进制文件安装MySQL 5.7
在Unix/Linux上,使用通用二进制文件安装MySQL 5.6
MySQL 5.7 Minimum Server Requirements
How do you determine the hardware needed for a server?


「MySQL」- mysql-single-deployment.yaml
「MariaDB」- 从「10.0」升级到「10.3」版本
「MySQL and MariaDB」- 升级
「MySQL」- mysql-single-pv.yaml
「MySQL 5.7」- 使用“通用的二进制程序”安装
「MySQL 5.6」- 通过源码编译安装
「Kubernetes」- 部署 MySQL 服务(单实例,测试)