12 2020 档案

该文被密码保护。
posted @ 2020-12-31 17:15 chenzechao 阅读(0) 评论(0) 推荐(0) 编辑
摘要:https://blog.csdn.net/xyang81/article/details/51555473 https://www.cnblogs.com/mzli/p/12621422.html 阅读全文
posted @ 2020-12-25 15:43 chenzechao 阅读(59) 评论(0) 推荐(0) 编辑
摘要:-- 检查表的元数据是否有异常 -- 判断逻辑为如果表有记录,但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 阅读(153) 评论(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 阅读(230) 评论(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 阅读(296) 评论(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 阅读(216) 评论(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 阅读(293) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示