上一页 1 2 3 4 5 6 7 8 ··· 39 下一页
摘要: #!/bin/bash # 根据建表语句,将字段由驼峰命名(camelCase)转换为下划线命名(snake_case) # 连续的大写字母只在第一个字段前添加下划线 flag=" " grep -Ev "CREATE TABLE|PRIMARY KEY|ENGINE=InnoDB" tmpa|aw 阅读全文
posted @ 2024-10-11 17:00 chenzechao 阅读(81) 评论(0) 推荐(0)
该文被密码保护。 阅读全文
posted @ 2024-09-14 10:01 chenzechao 阅读(1) 评论(0) 推荐(0)
摘要: import java.util.concurrent.TimeUnit; import cn.hutool.core.thread.ExecutorBuilder; import cn.hutool.core.thread.ThreadFactoryBuilder; //构造多线程,可修改线程数 阅读全文
posted @ 2024-09-12 12:29 chenzechao 阅读(27) 评论(0) 推荐(0)
摘要: # 启动容器 docker run -it -d --name centos7 centos:centos7 bash # 进入容器 docker exec -it centos7 bash # 初始化yum源 rm -f /etc/yum.repos.d/* curl https://mirror 阅读全文
posted @ 2024-09-04 11:54 chenzechao 阅读(37) 评论(0) 推荐(0)
摘要: select t1.tenantcode ,t1.custom_field_htid ,t1.custom_field_zcid ,unnest as zcid_item from ( select a.tenantcode ,a.custom_field_htid ,a.custom_field_ 阅读全文
posted @ 2024-08-22 16:09 chenzechao 阅读(250) 评论(0) 推荐(0)
摘要: 停止docker systemctl stop docker 迁移文件 mkdir -p /data/docker/lib/docker/ rsync -av /var/lib/docker/ /data/docker/lib/docker/ 修改配置 # /etc/docker/daemon.js 阅读全文
posted @ 2024-07-19 10:12 chenzechao 阅读(73) 评论(0) 推荐(1)
摘要: select t3.* ,case when day_start > month_current and day_end < month_last then TIMESTAMPDIFF(DAY,day_start,day_end) + 1 -- '中间,结束时间 - 开始时间' when day_s 阅读全文
posted @ 2024-07-18 17:07 chenzechao 阅读(32) 评论(0) 推荐(0)
摘要: 复制字段 从本地Windows (C:\Windows\Fonts ) 复制一个中文字体simsun.tcc 在Linux系统上安装字体 yum -y install fontconfig mkdir -p /usr/share/fonts/chinese cd /usr/share/fonts/c 阅读全文
posted @ 2024-07-02 18:32 chenzechao 阅读(415) 评论(0) 推荐(0)
摘要: OLTP压测 MySQL 压测与结果分析 https://blog.csdn.net/qq_42768234/article/details/136732147 OLAP压测 MySQL 决策支持的基本测试标准TPC-DS测试数据的生成及导入 https://developer.aliyun.com 阅读全文
posted @ 2024-05-11 11:09 chenzechao 阅读(15) 评论(0) 推荐(0)
摘要: 基础镜像 WORKDIR="/data/docker/pytest_base_images" mkdir -p ${WORKDIR} cd ${WORKDIR} cat >dockerfile<<'EOF' # 使用官方的 CentOS 7 镜像作为基础镜像 FROM centos:7 # modi 阅读全文
posted @ 2024-04-09 16:52 chenzechao 阅读(58) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 8 ··· 39 下一页