摘要:
canal的介绍 6.2 开启binlog模式 先使用docker 创建mysql容器,此处不再演示. (1) 连接到mysql中,并修改/etc/mysql/mysql.conf.d/mysqld.cnf 需要开启主 从模式,开启binlog模式。 执... 阅读全文
posted @ 2021-03-06 08:48
My--style
阅读(55)
评论(0)
推荐(0)
摘要:
原理:先手动添加几个数据库,通过查询已经添加的数据集合,通过遍历添加, mapper.xml代码 这里集合数据不应超过500,300即可,如果集合过大添加效率反而降低; INSERT INTO w_href (name, csdnHref, cre... 阅读全文
posted @ 2021-03-06 08:46
My--style
阅读(159)
评论(0)
推荐(0)
摘要:
java导出word文件,包括导出图片和表格 如下图: 导出word所需maven依赖 org.apache.poi poi 3.14 org.apache.poi poi-ooxml 3.14 org.... 阅读全文
posted @ 2021-03-06 08:44
My--style
阅读(688)
评论(0)
推荐(0)
摘要:
目录 1、Ribbon: 2、Feign: 3、Sentinel --服务容错 4、Feign整合Sentinel 5、Gateway--服务网关 6、Rocketmq--消息驱动 1、什么是Ribbon: Ribbon是Spring Cloud的一个组件, ... 阅读全文
posted @ 2021-03-06 08:44
My--style
阅读(52)
评论(0)
推荐(0)
摘要:
优化SQL步骤 1、 查看SQL执行频率 MySQL 客户端连接成功后,通过 show [session|global] status 命令可以提供服务器状态信息。show [session|global] status 可以根据需要加上参数“ses... 阅读全文
posted @ 2021-03-06 08:43
My--style
阅读(68)
评论(0)
推荐(0)

浙公网安备 33010602011771号