1、组件添加 1.1、@Configuration 基本使用 Full模式与Lite模式 示例 实践 配置类组件之间无依赖关系用Lite模式加速容器启动过程,减少判断。 配置类组件之间有依赖关系,方法会被调用得到之前单实例组件,用Full模式。 配置类: 1 /** 2 * 1. @Configur ...
分类:
编程语言 时间:
2021-07-26 16:45:07
阅读次数:
0
数据积压指的是消费者因为一些外部的IO、一些比较耗时的操作(full GC--stop the world),就会造成消息在partition中一直存在得不到消费,就会产生数据积压。 所以需要监控系统(kafka的监控系统Eagle),如果出现这种情况,需要尽快处理,虽然后续的spark strea ...
分类:
其他好文 时间:
2021-07-13 17:40:18
阅读次数:
0
本文使用代码参考于https://www.cnblogs.com/leemang/p/3215499.html 一、全角字符 全角字符(Full-width characters)指一个字符占用两个标准字符位置,汉字字符和规定了全角的英文字符及国标GB2312-80中的图形符号和特殊字符都是全角字符 ...
分类:
其他好文 时间:
2021-06-28 20:02:30
阅读次数:
0
原文:https://www.huaweicloud.com/articles/0bd52c317b5d1757b62914c05dbe1522.html Backup一直是数据库最重要的环节,mysql也比例外。而mysql最好的备份工具就是Percona xtrabackup和Mysql Ent ...
分类:
其他好文 时间:
2021-06-23 17:11:14
阅读次数:
0
1、sudo xbstream -x -C /data/data_10 < ~/test.xb 2、sudo xtrabackup --decompress --target-dir=/data/data_10 3、sudo xtrabackup --prepare --target-dir=/da ...
分类:
数据库 时间:
2021-06-04 18:45:14
阅读次数:
0
--create directory create directory dump_dir as '/splex/dump'; grant read,write on directory dump_dir to public; --export full database schema expdp u ...
分类:
数据库 时间:
2021-06-02 14:24:07
阅读次数:
0
一、背景 1.1、需求来源 需要给客户将生产环境的数据恢复到测试环境,但是线上环境的xtrabackup全备数据量太大,拷贝下来比较麻烦,并且需要恢复的数据只有整库中的两张表的数据,所以客户只是将全备中的对应表的ibd文件以及frm文件拷贝下来了,要求根据ibd文件以及frm文件进行数据恢复。 1. ...
分类:
其他好文 时间:
2021-05-24 17:15:26
阅读次数:
0
更新软件包 sudo apt update sudo apt install nginx 查看状态 sudo systemctl status nginx 状态显示绿色active表示正常运行 防火墙开放相关端口 sudo ufw allow 'Nginx Full' 重新加载规则 sudo ufw ...
分类:
系统相关 时间:
2021-05-24 15:33:12
阅读次数:
0
1、全备 [root@test3 ~]# innobackupex --user=root --password=123456 --no-timestamp /data/backup/full_backup[root@test3 backup]# ls #全部备份的文件full_backup 2、对 ...
分类:
数据库 时间:
2021-05-24 13:04:29
阅读次数:
0
valgrind使用 valgrind --tool=memcheck --leak-check=full --log-file=valgrind-log.txt ./build/executable --args gdb使用带参数 gdb --args ./build/executable --a ...
分类:
其他好文 时间:
2021-05-24 12:21:49
阅读次数:
0