摘要:
以天做时间隔断 函数值当天某项数据平均值SELECT AVG(phv_phsa) FROM 子表 WHERE ts> '2023-05-10 00:00:00' INTERVAL(1d);连续几天的某项数据平均值 1天为间隔 有填充不进行填充:NONE(默认填充模式)。VALUE 填充:固定值填充, 阅读全文
摘要:
一安装docker 二、修改配制vi /etc/docker/daemon.json { "registry-mirrors": ["http://hub-mirror.c.163.com"], "log-driver":"json-file", "log-opts":{ "max-size" :" 阅读全文
摘要:
docker run -d \-e MODE=standalone \ -e JVM_XMS=256m \ -e JVM_XMX=256m \ -e SPRING_DATASOURCE_PLATFORM=mysql \-e MYSQL_SERVICE_HOST=192.168.100.166 \-e 阅读全文
摘要:
git clone -b 代码分支 http://账号:密码@ip:port/xx/up_defend.git git clone http://xiaohaitun:xiaoshazi@10.1.6.20:8279/code/up_defend.git 阅读全文
摘要:
1、建表 CREATE TABLE `test` ( `id` bigint NOT NULL, `name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL, `msg` json NU 阅读全文
摘要:
1、由于做了资源限制, 并且没有使用swarm, 所以要加上--compatibility参数, 不然会报错 2、docker-compose --compatibility up -d 阅读全文
摘要:
docker update -m 4G --memory-swap -1 容器id -m 和 --memory-swap docker run -it --rm -m 100M --memory-swap -1 ubuntu-stress:latest /bin/bash 指定限制内存大小并且设置 阅读全文
摘要:
导出 1、进入容器 docker exec -it 容器id bash 2、mongodump -h 127.0.0.1:27017 --authenticationDatabase=admin -u admin -p xxx --archive=/root/feng.gz --gzip -d io 阅读全文