上一页 1 ··· 18 19 20 21 22 23 24 25 26 ··· 39 下一页
摘要: select TABLE_NAME from ( select TABLE_NAME ,count(1) as cnt from information_schema.tables where TABLE_SCHEMA in ('db_a','db_b') and (table_name not like '%2018%' and table_name not like '%2019%') gro 阅读全文
posted @ 2019-08-28 14:30 chenzechao 阅读(613) 评论(0) 推荐(0)
摘要: #!/bin/sh bin=$(cd `dirname $0`;pwd) cd ${bin} ### 定义检查函数 chk(){ programName=$1 correctNum=$2 programSubName=$3 # 判断是否带子程序名 if [ -n "${programSubName}" ] then programNum=$(ps -ef|grep -Ewv "grep|less| 阅读全文
posted @ 2019-08-26 08:42 chenzechao 阅读(425) 评论(0) 推荐(0)
摘要: # 注意awk的文件不能单独一行 awk打印单双引号 设置超时结束 ref: https://blog.csdn.net/kouryoushine/article/details/92838138ref: https://www.cnblogs.com/emanlee/p/3620785.html 阅读全文
posted @ 2019-08-19 15:32 chenzechao 阅读(197) 评论(0) 推荐(0)
摘要: -- Jira数据库中,用户信息都存放在表 cwd_user中 -- 切换到jiar数据库 use jiradb; -- 更改密码为sphere update cwd_user set credential='uQieO/1CGMUIXXftw3ynrsaYLShI+GTcPS4LdUGWbIusFvHPfUzD7CZvms6yMMvA8I7FViHVEqr6Mj4pCLKAFQ==' where 阅读全文
posted @ 2019-08-07 23:00 chenzechao 阅读(9958) 评论(0) 推荐(0)
摘要: curl -fsSL https://get.docker.com -o get-docker.sh sh get-docker.sh 阅读全文
posted @ 2019-08-05 00:43 chenzechao 阅读(131) 评论(0) 推荐(0)
摘要: -- 查看正在被锁定的的表 show OPEN TABLES where In_use > 0; -- 查看进程号 show processlist; -- 杀掉进程 kill 123456; -- 表级锁次数 show status like 'Table%'; +----------------------------+---------+ | Variable_name ... 阅读全文
posted @ 2019-08-02 11:48 chenzechao 阅读(1725) 评论(0) 推荐(0)
该文被密码保护。 阅读全文
posted @ 2019-08-01 16:52 chenzechao 阅读(4) 评论(0) 推荐(0)
摘要: 最近RDS FOR MYSQL5.6的统计信息有问题,一些表明明的数据,但统计信息里去显示为空表,导致执行计划出错,查询效率很低,所以查看下相关的信息。 ref: https://www.cnblogs.com/zengkefu/p/5634858.htmlref: https://www.cnbl 阅读全文
posted @ 2019-08-01 11:08 chenzechao 阅读(405) 评论(0) 推荐(0)
摘要: https://gitbook.cn/books/5d2d822f175a450263e945f9/index.html 阅读全文
posted @ 2019-08-01 09:06 chenzechao 阅读(168) 评论(0) 推荐(0)
摘要: 在MySQL JDBC连接字符串中还可以加入参数, rewriteBatchedStatements=true,mysql默认关闭了batch处理,通过此参数进行打开,这个参数可以重写向数据库提交的SQL语句,具体参见:http://www.cnblogs.com/chenjianjx/archiv 阅读全文
posted @ 2019-08-01 00:01 chenzechao 阅读(3640) 评论(0) 推荐(0)
上一页 1 ··· 18 19 20 21 22 23 24 25 26 ··· 39 下一页