MySQL数值运算符函数
SELECT CEIL(3.01) ==>4 /*有n.xx 都是n+1 进一取整 向上取整 … 继续阅读 MySQL数值运算符函数
SELECT CEIL(3.01) ==>4 /*有n.xx 都是n+1 进一取整 向上取整 … 继续阅读 MySQL数值运算符函数
1、查询是否锁表 show OPEN TABLES where In_use > 0; sho… 继续阅读 MySQL死锁查询
#!/bin/bash #mysql数据库改名,官方没有直接修改数据库名称的命令 #只有通过修改表名… 继续阅读 mysql数据库改名
下载: wget http://dl.mycat.io/1.6-RELEASE/Mycat-serv… 继续阅读 mycat安装配置
(1)直接分析慢查询文件: pt-query-digest slow.log > slow_r… 继续阅读 MySQL慢查询分析
1、字符串的拼接 1.1 CONCAT(s1,s2,…)函数 返回连接参数产生的字符串,一个或多… 继续阅读 MySQL字符串函数
限制条件: 1、MySQL(5.6.6及以上); 2、innodb_file_per_table开启… 继续阅读 mysql表空间传输
https://help.aliyun.com/document_detail/86552.html… 继续阅读 kubernetes部署阿里log-pilot日志收集平台
https://www.elastic.co/guide/en/cloud-on-k8s/curre… 继续阅读 用ECK部署Kibana 6.8.0
git config –global http.version HTTP/1.1
pvc mongo-test apiVersion: v1 kind: PersistentVolu… 继续阅读 kubernetes快速部署mongo:4.2.6单机版
在ingress实例注解加入超时配置(默认60s) metadata: annotations: k… 继续阅读 ingress 504超时问题
Proxy:Harbor的registry, UI, token等服务,通过一个前置的反向代理统一接… 继续阅读 harbor组件概念
把Arthas安装到基础镜像里 FROM openjdk:8-jdk-alpine # copy a… 继续阅读 java诊断工具arthas
https://mirrors.huaweicloud.com/java/jdk/
Harbor Chart helm repo add harbor https://helm.goh… 继续阅读 helm部署harbor高可用仓库
创建随机字符串 head -c 512 /dev/urandom | LC_CTYPE=C tr -… 继续阅读 shell密码生成器
解决: tar zxvf ***.tgz –warning=no-timestamp
Harbor Chart helm repo add harbor https://helm.goh… 继续阅读 helm 部署高可用Harbor
tail -n 1 sed -n ‘$p’ sed ‘$!N;$!D’ awk ‘END {prin… 继续阅读 shell取文本最后一行