Commit Graph

5027 Commits

Author SHA1 Message Date
Mr Chen 2ddb4e9ef8 Update chk.sh 2023-11-16 19:34:58 +08:00
Mr Chen 74b1d424b9 Update chk_mysql.sh 2023-11-16 19:34:32 +08:00
Mr Chen cd13d0bbe7 update 2023-11-16 19:30:43 +08:00
Mr Chen 5dc97276c1 keepalived 脚本模板 2023-11-16 19:16:14 +08:00
Mr Chen 9da7f04379 Update keepalived.mysql.conf 2023-11-16 18:03:09 +08:00
Mr Chen 0bee208795 update 2023-11-16 18:02:34 +08:00
Mr Chen af660daa30 update 2023-11-16 18:00:53 +08:00
Mr Chen ad644c3cf9 Update chk_mysql.sh 2023-11-16 17:19:35 +08:00
Mr Chen e676790250 update 2023-11-16 17:11:49 +08:00
Mr Chen 135b307a98 update 2023-11-16 16:11:17 +08:00
Mr Chen c95c760aef Update index.py 2023-11-16 16:06:15 +08:00
Mr Chen 60125e6bbb Update keepalived.mysql.note.conf 2023-11-16 16:03:30 +08:00
Mr Chen fbef641839 update 2023-11-16 15:29:21 +08:00
Mr Chen 37431a76b6 update 2023-11-16 03:07:51 +08:00
Mr Chen 49cfeb7a39 mysql config 2023-11-16 00:34:03 +08:00
Mr Chen faf433b77d Update install.sh 2023-11-15 19:58:21 +08:00
Mr Chen d0b70841c2 Update install.sh 2023-11-15 19:58:03 +08:00
Mr Chen bf8a820343 Update install.sh 2023-11-15 19:21:27 +08:00
Mr Chen ae1e2cd972 php-fpm状态展示说明 2023-11-15 16:44:20 +08:00
Mr Chen 46da6c0dd0 php性能调整优化 2023-11-14 01:52:02 +08:00
Mr Chen 1e827944ab update 2023-11-14 01:41:51 +08:00
Mr Chen 09bbd5280d update 2023-11-12 13:15:23 +08:00
Mr Chen 01a887efad sync_binlog
默认,sync_binlog=0,表示MySQL不控制binlog的刷新,由文件系统自己控制它的缓存的刷新。这时候的性能是最好的,但是风险也是最大的。因为一旦系统Crash,在binlog_cache中的所有binlog信息都会被丢失。

如果sync_binlog>0,表示每sync_binlog次事务提交,MySQL调用文件系统的刷新操作将缓存刷下去。最安全的就是sync_binlog=1了,表示每次事务提交,MySQL都会把binlog刷下去,是最安全但是性能损耗最大的设置。这样的话,在数据库所在的主机操作系统损坏或者突然掉电的情况下,系统才有可能丢失1个事务的数据。但是binlog虽然是顺序IO,但是设置sync_binlog=1,多个事务同时提交,同样很大的影响MySQL和IO性能。虽然可以通过group commit的补丁缓解,但是刷新的频率过高对IO的影响也非常大。对于高并发事务的系统来说,“sync_binlog”设置为0和设置为1的系统写入性能差距可能高达5倍甚至更多
2023-11-12 13:12:58 +08:00
Mr Chen aa236bac0b up 2023-11-12 12:45:44 +08:00
Mr Chen bcc1ae3b8f ad 改动 2023-11-12 12:22:34 +08:00
Mr Chen 1acc9a4b76 Update index.py 2023-11-11 16:13:11 +08:00
Mr Chen e1b57621d5 Update index.py 2023-11-11 16:12:46 +08:00
Mr Chen 0f9bd8d387 Update install.sh 2023-11-11 03:17:10 +08:00
Mr Chen 24eb4fe994 没成功,不管了 2023-11-11 01:14:06 +08:00
Mr Chen 7799d3436a php56 ,55 mac m2 ok 2023-11-11 00:47:32 +08:00
Mr Chen f3f1aaa041 php 70 mac m2 ok 2023-11-11 00:32:20 +08:00
Mr Chen d7d907945a php 71 mac m2 ok 2023-11-11 00:28:10 +08:00
Mr Chen 6961ff7996 Update install.sh 2023-11-10 23:34:57 +08:00
Mr Chen 27047cb169 php 54 mac m2 编译 2023-11-10 23:34:08 +08:00
Mr Chen 25f3b5b18d Create pcre.sh 2023-11-10 23:29:36 +08:00
Mr Chen a9efe0f808 update 2023-11-10 21:51:50 +08:00
Mr Chen 847a40e743 Update install.sh 2023-11-10 21:42:05 +08:00
Mr Chen 9f59f479a2 update 2023-11-10 20:18:15 +08:00
Mr Chen c8b955f282 update 2023-11-10 20:03:04 +08:00
Mr Chen a33c1261b3 更好的重启 2023-11-10 19:20:23 +08:00
Mr Chen 8fd3476126 up 2023-11-10 19:06:31 +08:00
Mr Chen 664852c26f update 2023-11-10 18:47:32 +08:00
Mr Chen b356ad5a43 Update index.py 2023-11-10 05:05:49 +08:00
Mr Chen ce96f54aa7 update 2023-11-10 05:01:06 +08:00
Mr Chen 66f0b8691c 群集创建说明 2023-11-10 01:45:27 +08:00
Mr Chen 22ac89bc2c 集群节点暂时 2023-11-10 00:13:32 +08:00
Mr Chen 4edf9c1bb7 Update redis.tpl 2023-11-09 22:52:59 +08:00
Mr Chen 8169f89ddb Update redis.js 2023-11-09 22:31:47 +08:00
Mr Chen 8c82641cb0 Update index.py 2023-11-09 22:26:48 +08:00
Mr Chen 5e5606a586 Update redis.js 2023-11-09 22:26:24 +08:00