上一页 1 2 3 4 5 6 ··· 11 下一页
摘要: 步骤 进入mysql的binlog目录, 我的在 /var/lib/mysql 解析数据 基于错误数据,在解析出的 SQL 文件中搜索匹配 mysql mysqlbinlog 的解析命令 sudo mysqlbinlog --no-defaults --base64-output=decode-ro 阅读全文
posted @ 2023-04-11 20:30 DaleyZou 阅读(17) 评论(0) 推荐(0) 编辑
摘要: 背景 根据方法传入的字符串,做相同字符串的互斥操作 思路 1、使用 string.intern() 方法 -- 不推荐 2、自己定义个工厂 自己使用工厂实现 实现 package com.example.demo; import lombok.Data; import org.springframe 阅读全文
posted @ 2022-08-05 12:07 DaleyZou 阅读(91) 评论(0) 推荐(0) 编辑
摘要: ###题目描述 启动两个线程,交替打印1-100,不允许使用AtomicInteger等 代码 package com.daleyzou.Test; import java.util.concurrent.locks.Condition; import java.util.concurrent.lo 阅读全文
posted @ 2022-04-20 21:19 DaleyZou 阅读(33) 评论(0) 推荐(0) 编辑
摘要: select @@global.tx_isolation; show variables like 'binlog_format'; 阅读全文
posted @ 2022-03-29 11:53 DaleyZou 阅读(73) 评论(0) 推荐(0) 编辑
摘要: https://kentxxq.com/contents/%E6%88%91%E5%AF%B9go%E8%AF%AD%E8%A8%80%E7%9A%84%E4%BA%86%E8%A7%A3/ http://www.codebaoku.com/it-go/it-go-197312.html 阅读全文
posted @ 2021-12-08 23:55 DaleyZou 阅读(61) 评论(0) 推荐(0) 编辑
摘要: https://www.percona.com/doc/percona-toolkit/3.0/pt-query-digest.html 阅读全文
posted @ 2021-10-20 10:18 DaleyZou 阅读(56) 评论(0) 推荐(0) 编辑
摘要: 前端让返回的时间格式 HH:mm:ss 举例:HH:mm:ss 阅读全文
posted @ 2021-03-02 22:52 DaleyZou 阅读(1501) 评论(0) 推荐(0) 编辑
摘要: springboot1.5和jpa利用HikariCP实现多数据源的使用 阅读全文
posted @ 2020-10-13 21:50 DaleyZou 阅读(1054) 评论(0) 推荐(0) 编辑
摘要: 同一条数据被用户点击了多次,导致数据冗余,需要防止弱网络等环境下的重复点击.。防止前端的数据重复提交 阅读全文
posted @ 2020-09-28 20:04 DaleyZou 阅读(15219) 评论(8) 推荐(3) 编辑
摘要: InnoDB表只是把自增主键的最大ID记录到内存中,所以重启数据库或者是对表进行OPTIMIZE操作,都会导致最大ID丢失。 阅读全文
posted @ 2020-07-23 15:22 DaleyZou 阅读(541) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 11 下一页