10 2020 档案

摘要:一、 功能描述: 1.对List中的数据进行分割并作为参数使用多线程处理对应逻辑 2.避免了使用runnable方式和spring容器中的bean无法注入的问题 3.可以极大提高程序的执行效率、本程序中的线程数可以灵活配置 二、 代码1: public Object demo() { //1.获取对 阅读全文
posted @ 2020-10-30 10:58 DiligentCoder 阅读(1265) 评论(0) 推荐(0) 编辑
摘要:1.创建虚拟列 alter table otc_transaction_complete add column create_time_index datetime GENERATED ALWAYS AS (date_format(create_time,'%Y-%m-%d')); 上面这条语句解释 阅读全文
posted @ 2020-10-27 17:22 DiligentCoder 阅读(1093) 评论(0) 推荐(0) 编辑
摘要:防火墙方式:https://blog.csdn.net/loongwong2011/article/details/52709853 mysql自带方式: mysql 8.X.X版本多个ip限制访问 随笔记录,由于客户要求数据库不同ip访问,查了很多,多数都是ip段或者所有ip可以访问; selec 阅读全文
posted @ 2020-10-24 18:04 DiligentCoder 阅读(225) 评论(0) 推荐(0) 编辑
摘要:https://github.com/danfengcao/binlog2sql 阅读全文
posted @ 2020-10-22 17:18 DiligentCoder 阅读(83) 评论(0) 推荐(0) 编辑
摘要:https://www.jianshu.com/p/c517f09df025 阅读全文
posted @ 2020-10-21 11:04 DiligentCoder 阅读(74) 评论(0) 推荐(0) 编辑
摘要:实验环境: MYSQL 5.7.22 开启二进志日志 日志格式MIXED 实验过程: 1、执行:FLUSH LOGS; master-bin.000014 文件就是新生成的文件 刷新日志是为了实验内容更直观,更容易观察到整个实验过程的内容。 我看到网上许多文章有在用REST MASTER;而未说明此 阅读全文
posted @ 2020-10-20 10:57 DiligentCoder 阅读(441) 评论(1) 推荐(0) 编辑
摘要:ALTER USER 'jmselect'@'%' IDENTIFIED BY 'select94129'; GRANT ALL ON . TO 'jmselect'@'%'; set GLOBAL validate_password.policy=0; grant select on otc.* 阅读全文
posted @ 2020-10-14 14:26 DiligentCoder 阅读(92) 评论(0) 推荐(0) 编辑
摘要:https://blog.csdn.net/u013905744/article/details/102897226 阅读全文
posted @ 2020-10-09 22:39 DiligentCoder 阅读(67) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示