09 2022 档案

摘要:find . -type f -name *.log -mtime + -exec rm {} \; 阅读全文
posted @ 2022-09-30 10:56 不会跳舞的胖子 阅读(376) 评论(0) 推荐(0) 编辑
摘要:mysql> select version(); + + | version() | + + | 8.0.22 | + + 1 row in set (0.01 sec) mysql> show variables like '%expire%'; + + + | Variable_name | V 阅读全文
posted @ 2022-09-26 09:31 不会跳舞的胖子 阅读(1263) 评论(0) 推荐(0) 编辑
摘要:检查当前 ~# echo $LANG en_US.UTF-8 安装中文包 yum search Chinese vim /etc/locale.conf LANG=zh_CN.UTF-8 source /etc/locale.conf 阅读全文
posted @ 2022-09-26 09:23 不会跳舞的胖子 阅读(31) 评论(0) 推荐(0) 编辑
摘要:全量同步报错 {"succeeded":false,"resultMessage":"导入ES 数据:0 条","errorMessage":"topicanalysismsg etl failed! ==>cannot write xcontent for unknown value of typ 阅读全文
posted @ 2022-09-16 15:00 不会跳舞的胖子 阅读(1609) 评论(0) 推荐(0) 编辑
摘要:# 第06章_多表查询 /* SELECT ...,....,.... FROM .... WHERE .... AND / OR / NOT.... ORDER BY .... (ASC/DESC),....,... LIMIT ...,... */ #1. 熟悉常见的几个表 DESC emplo 阅读全文
posted @ 2022-09-13 21:28 不会跳舞的胖子 阅读(492) 评论(0) 推荐(0) 编辑
摘要:#第05章_排序与分页 #1. 排序 # 如果没有使用排序操作,默认情况下查询返回的数据是按照添加数据的顺序显示的。 SELECT * FROM employees; # 1.1 基本使用 # 使用 ORDER BY 对查询到的数据进行排序操作。 # 升序:ASC (ascend) 默认方式 # 降 阅读全文
posted @ 2022-09-13 21:27 不会跳舞的胖子 阅读(130) 评论(0) 推荐(0) 编辑
摘要:UserParameter=mongo.service,ps -ef |grep mongo |grep -v grep |wc -l echo "rs.status()" |mongo 127.0.0.1:27017 | grep "_id" |wc -l UserParameter=mongo. 阅读全文
posted @ 2022-09-08 15:31 不会跳舞的胖子 阅读(116) 评论(0) 推荐(0) 编辑
摘要:28 uname -a 29 cat /etc/redhat-release 30 rpm --import https://www.elrepo.org/RPM-GPG-KEY-elrepo.org 31 rpm -Uvh http://www.elrepo.org/elrepo-release- 阅读全文
posted @ 2022-09-07 12:45 不会跳舞的胖子 阅读(46) 评论(0) 推荐(0) 编辑
摘要:python -W ignore file.py 阅读全文
posted @ 2022-09-06 13:54 不会跳舞的胖子 阅读(46) 评论(0) 推荐(0) 编辑
摘要:查询 去重 SELECT DISTINCT department_id FROM employees; 空值参数运算 如果值为null则使用0替换,任何值与null计算都为null SELECT employee_id,salary "月工资",salary * (1 + IFNULL(commis 阅读全文
posted @ 2022-09-02 14:00 不会跳舞的胖子 阅读(153) 评论(0) 推荐(0) 编辑
摘要:调整系统参数 vi /etc/sysctl.conf #添加下面配置: vm.max_map_count= 262144 #生效 sysctl -p es配置文件修改 cat jvm.options -Xms16g -Xmx16g 配置证书 cd /usr/share/elasticsearch/b 阅读全文
posted @ 2022-09-02 11:53 不会跳舞的胖子 阅读(48) 评论(0) 推荐(0) 编辑

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