Commit Graph

628 Commits

Author SHA1 Message Date
Mr Chen e443b88ad9 phpredisadmin 2023-12-30 04:12:15 +08:00
Mr Chen 8077b4cb13 Update gtid.cnf 2023-12-25 19:58:20 +08:00
Mr Chen 7a9f1ebf5e Create orm.py 2023-12-25 19:56:48 +08:00
Mr Chen af7698e157 update 2023-12-22 22:02:46 +08:00
Mr Chen 64ccba7595 Update index.py 2023-12-22 21:37:57 +08:00
Mr Chen b1935372a1 Update index.py 2023-12-22 21:37:37 +08:00
Mr Chen c522738df5 Update mysql.js 2023-12-22 15:20:37 +08:00
Mr Chen 9276e811c2 update 2023-12-22 14:50:50 +08:00
Mr Chen d1493ca13f Update index.py 2023-12-22 05:27:01 +08:00
Mr Chen 13c605d58a Update index.py 2023-12-22 05:26:16 +08:00
Mr Chen dbe2a1f0df Update index.py 2023-12-22 04:56:05 +08:00
Mr Chen de36f41182 Update index.py 2023-12-22 04:51:07 +08:00
Mr Chen e45604f211 update 2023-12-22 02:49:13 +08:00
Mr Chen 4f22d9ae70 update 2023-12-22 02:39:43 +08:00
Mr Chen bc688aa93f update 2023-12-22 01:23:47 +08:00
Mr Chen 56ed68b888 mariadb 二进制查看 2023-12-22 01:17:45 +08:00
Mr Chen 3a80a27970 Update mysql.js 2023-12-22 00:56:02 +08:00
Mr Chen fc0974dc91 mysql修复功能-敏感功能优化 2023-12-22 00:34:23 +08:00
Mr Chen 4942c92b33 Update index.py 2023-12-22 00:24:08 +08:00
Mr Chen e173c2e51a mysql修复功能-敏感功能优化 2023-12-22 00:18:41 +08:00
Mr Chen 8f80336901 Update index.py 2023-12-18 22:18:54 +08:00
Mr Chen 0a78dda06c update 2023-12-18 22:13:03 +08:00
Mr Chen b6c3020705 Update index.py 2023-12-18 21:42:56 +08:00
Mr Chen ed70d4faa3 Update index.py 2023-12-18 21:41:26 +08:00
Mr Chen a349b2bc81 Update install.sh 2023-12-14 14:00:31 +08:00
Mr Chen 4f3fe2af54 Update index.py 2023-12-14 13:59:08 +08:00
Mr Chen 4670811fd6 Create my8.2.cnf 2023-12-14 13:33:04 +08:00
Mr Chen e1fb85859a Update install.sh 2023-12-14 01:01:21 +08:00
Mr Chen c0fc1148eb Update install.sh 2023-12-14 01:01:01 +08:00
Mr Chen 50052e7650 Update install.sh 2023-12-14 00:58:02 +08:00
Mr Chen 8053f9b593 Update install.sh 2023-12-14 00:30:58 +08:00
Mr Chen 1a5cdca70d Update mysql.js 2023-12-14 00:22:27 +08:00
Mr Chen 341690d234 Update mysql.js 2023-12-14 00:20:24 +08:00
Mr Chen d76654b853 Update mysql.js 2023-12-14 00:17:37 +08:00
Mr Chen 0ef35e1474 Update mysql.js 2023-12-14 00:12:56 +08:00
Mr Chen 9ea52e452a mysql识别登录加密规则 2023-12-14 00:04:48 +08:00
Mr Chen 5e39e1a463 Update my8.0.cnf 2023-12-13 23:54:39 +08:00
Mr Chen 36421ae254 update 2023-12-13 23:51:18 +08:00
Mr Chen a34f025a36 Update index.py 2023-12-13 23:33:25 +08:00
Mr Chen 7be4f9ea98 Update index.py 2023-12-13 23:32:59 +08:00
Mr Chen 2dc93bf490 Update my8.0.cnf 2023-12-13 23:27:18 +08:00
Mr Chen bf370685b3 Update install.sh 2023-12-07 13:27:46 +08:00
Mr Chen 8f9bdde0a1 Update info.json 2023-12-06 21:10:32 +08:00
Mr Chen dbbc32258a Create install.sh 2023-12-06 21:09:56 +08:00
Mr Chen fbef641839 update 2023-11-16 15:29:21 +08:00
Mr Chen 49cfeb7a39 mysql config 2023-11-16 00:34:03 +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 1996cb03ce 兼容新版mac 2023-11-09 01:32:59 +08:00
midoks e73533b611 Update mysql.js 2023-11-08 02:04:14 +08:00