Commit Graph

5050 Commits

Author SHA1 Message Date
Mr Chen e2d680cb2a 修复反向代理代过来的数据 2023-11-18 02:36:18 +08:00
Mr Chen 719eec4b98 Update install.sh 2023-11-18 01:51:25 +08:00
Mr Chen 9ea859f94c Update install.sh 2023-11-18 01:51:11 +08:00
Mr Chen 0bdd384f46 Update install.sh 2023-11-18 01:50:21 +08:00
Mr Chen c3d20f358c Update install.sh 2023-11-18 01:04:50 +08:00
Mr Chen d683069fef Update info.json 2023-11-17 23:45:41 +08:00
Mr Chen 5e7e7af1a7 update 2023-11-17 23:35:23 +08:00
Mr Chen 1cd4996527 Update linux.conf 2023-11-17 20:58:46 +08:00
Mr Chen 78786a92e9 Update linux.conf 2023-11-17 20:57:41 +08:00
Mr Chen 67d5d3fac5 Update linux.conf 2023-11-17 20:57:26 +08:00
Mr Chen 5caf8f52bc Update index.html 2023-11-17 19:16:58 +08:00
Mr Chen b838caea8b update 2023-11-17 18:56:07 +08:00
Mr Chen 57d4ef5fc9 Update index.py 2023-11-17 18:52:05 +08:00
Mr Chen ca3d8cccc9 Update install.sh 2023-11-17 18:33:39 +08:00
Mr Chen c56aa2efa3 Update install.sh 2023-11-17 18:33:21 +08:00
Mr Chen f41ef634bf Update install.sh 2023-11-17 18:30:41 +08:00
Mr Chen 80e3a73fa4 Update install.sh 2023-11-17 17:54:08 +08:00
Mr Chen c4788c03f9 update 2023-11-17 17:49:42 +08:00
Mr Chen 501012b4e6 初始化lvs插件 2023-11-17 17:40:58 +08:00
Mr Chen e7b927bdef Update keepalived.mysql.note.conf 2023-11-16 20:26:45 +08:00
Mr Chen 9c818b0a5d Update keepalived.conf 2023-11-16 20:03:23 +08:00
Mr Chen 8faf553e1d Update chk.sh 2023-11-16 19:55:18 +08:00
Mr Chen e22f296e38 Update chk.sh 2023-11-16 19:45:43 +08:00
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