上一页 1 ··· 11 12 13 14 15 16 17 18 19 ··· 40 下一页
摘要: -- 检查表的元数据是否有异常 -- 判断逻辑为如果表有记录,但table_rows为0则异常 select t2.table_name ,t1.cnt ,t2.table_rows ,case when t1.cnt = 10 and t2.table_rows = 0 then 1 else 0 阅读全文
posted @ 2020-12-25 15:41 chenzechao 阅读(184) 评论(0) 推荐(0)
摘要: #!/bin/sh max_length=0 for table_name in `cat tables` do current_length=$(echo ${table_name}|wc -c) if [ ${current_length} -gt ${max_length} ] then ma 阅读全文
posted @ 2020-12-22 14:51 chenzechao 阅读(255) 评论(0) 推荐(0)
该文被密码保护。 阅读全文
posted @ 2020-12-11 15:50 chenzechao 阅读(0) 评论(0) 推荐(0)
该文被密码保护。 阅读全文
posted @ 2020-12-10 17:25 chenzechao 阅读(0) 评论(0) 推荐(0)
摘要: MYSQL压缩表测试 1. 创建表 -- 压缩表 SET GLOBAL innodb_file_per_table=1; SET GLOBAL innodb_file_format=Barracuda; CREATE TABLE compress_01 ( id varchar(36) PRIMAR 阅读全文
posted @ 2020-12-10 17:21 chenzechao 阅读(316) 评论(0) 推荐(0)
摘要: MySQL [DB_NAME]> desc TABLE_NAME; | status | enum('待派单','待指派','待整改','已整改','已通过','被退回','已作废','非正常关闭') | YES | | NULL | | select status+0 as status_num, 阅读全文
posted @ 2020-12-02 10:34 chenzechao 阅读(242) 评论(0) 推荐(0)
摘要: # https://www.cnblogs.com/pmars/archive/2013/02/17/2914444.html 在SHELL编程中,经常要处理一些字符串变量。比如,计算长度啊、截取子串啊、字符替换啊等等,常常要用到awk、expr、sed、tr等命令。下面给大家介绍个简单的字符串处理 阅读全文
posted @ 2020-12-01 17:05 chenzechao 阅读(310) 评论(0) 推荐(0)
摘要: 1. help->Edit Custom VM Options在最下面加上一行代码:-javaagent:$USER_HOME/Downloads/jetbrains-agent.jar 2. 重启idea,然后点击help -> Registerhttp://fls.jetbrains-agent 阅读全文
posted @ 2020-11-24 15:08 chenzechao 阅读(108) 评论(0) 推荐(0)
摘要: https://blog.csdn.net/zzhongcy/article/details/108538581?utm_medium=distribute.pc_relevant_t0.none-task-blog-BlogCommendFromMachineLearnPai2-1.channel 阅读全文
posted @ 2020-11-05 15:11 chenzechao 阅读(472) 评论(0) 推荐(0)
摘要: ## 1. 开启```bashdocker run -d -it \--name doris \--net=host \-v /volume1/doris/incubator-doris:/root/incubator-doris/ apachedoris/doris-dev:build-env-1 阅读全文
posted @ 2020-11-03 22:52 chenzechao 阅读(1487) 评论(0) 推荐(0)
上一页 1 ··· 11 12 13 14 15 16 17 18 19 ··· 40 下一页