上一页 1 2 3 4 5 6 ··· 35 下一页
摘要: ## 功能 1. 先同步表、视图、存储过程、函数、触发器、事件等对象 2. 同步表数据 3. 增量同步 ![image](https://img2024.cnblogs.com/blog/986761/202401/986761-20240115105758282-1072703037.png) # 阅读全文
posted @ 2024-01-15 11:03 chenzechao 阅读(24) 评论(0) 推荐(0) 编辑
摘要: docker run -p 9030:9030 -p 8030:8030 -p 8040:8040 --name starRocks -itd starrocks/allin1-ubuntu:latest docker exec -it starRocks bash docker restart s 阅读全文
posted @ 2024-01-04 15:49 chenzechao 阅读(196) 评论(0) 推荐(0) 编辑
摘要: https://blog.csdn.net/BThinker/article/details/124097795 # 拉取Gitlab镜像 docker pull gitlab/gitlab-ce:latest # 创建目录 mkdir -p /data/gitlab/etc mkdir -p /d 阅读全文
posted @ 2024-01-04 13:03 chenzechao 阅读(3) 评论(0) 推荐(0) 编辑
摘要: https://github.com/JacZhoulang/docker-easyconnect docker run --device /dev/net/tun --cap-add NET_ADMIN -ti -e PASSWORD=xxxx -v $HOME/.ecdata:/root -p 阅读全文
posted @ 2023-12-22 11:42 chenzechao 阅读(55) 评论(0) 推荐(0) 编辑
摘要: 1. 下载源码 wget http://download.redis.io/redis-stable.tar.gz 2. 解压 tar xvzf redis-stable.tar.gz 3. 安装 cd redis-stable make redis-cli sudo cp src/redis-cl 阅读全文
posted @ 2023-11-29 15:05 chenzechao 阅读(91) 评论(0) 推荐(0) 编辑
摘要: 1. 在trino执行SQL报错,如下图 2. 直接查看值没有什么异常 3. 通过将值复制到vim中,发现是特殊字符<200b>导致,为零宽度空格 4. 查看资料,发现有多种处理方式,但均不支持trino -- replace(所在字段,'\u200b','') -- 使用trim()方法可以去除掉 阅读全文
posted @ 2023-11-24 14:51 chenzechao 阅读(87) 评论(0) 推荐(0) 编辑
摘要: -- 此字符只影响终端的查询,如crt,xshell等,在navicat中不受影响 select str ,replace(str,char(13),' ') as str_fix from ( select concat('1',char(13),'2') as str ) t1 ; 阅读全文
posted @ 2023-11-17 15:57 chenzechao 阅读(31) 评论(0) 推荐(0) 编辑
摘要: 1. 开启JDBC rewriteBatchedStatements=true 2. 准备数据 PreparedStatement preparedStatement = connection.prepareStatement(InsertSql); 3. 插入数据并添加到批次 preparedSt 阅读全文
posted @ 2023-11-14 18:48 chenzechao 阅读(35) 评论(0) 推荐(0) 编辑
摘要: ```sql -- mysql 高性能count表 SELECT SQL_CALC_FOUND_ROWS 1 FROM table_name limit 1; SELECT found_rows() AS rowcount; select count(1) as cnt from table_nam 阅读全文
posted @ 2023-08-11 08:49 chenzechao 阅读(21) 评论(0) 推荐(0) 编辑
摘要: ![image](https://img2023.cnblogs.com/blog/986761/202307/986761-20230728182847795-1696970055.png) show variables like '%log_bin%'; mysqlbinlog -v --bas 阅读全文
posted @ 2023-07-28 18:30 chenzechao 阅读(14) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 35 下一页