上一页 1 ··· 16 17 18 19 20 21 22 23 24 ··· 40 下一页
摘要: # -*- coding: utf-8 -*- import datetime import sys,time import sys from odps import options import smtplib from email.header import Header from email. 阅读全文
posted @ 2020-03-16 09:20 chenzechao 阅读(916) 评论(0) 推荐(0)
摘要: logstash将不同数据源输出到不同的地方https://www.orchome.com/485 阅读全文
posted @ 2020-02-05 09:36 chenzechao 阅读(602) 评论(0) 推荐(0)
摘要: # 1. 开始 >运行 >cmd,或者是window+R组合键,调出命令窗口 # 2. 找出占用端口的PID netstat -aon|findstr "8080" # 3. 根据PID找出程序名 tasklist|findstr "21300"# 4. 结束程序(建议用pid) taskkill 阅读全文
posted @ 2020-01-17 15:17 chenzechao 阅读(146) 评论(0) 推荐(0)
摘要: select name ,greatest(num1,num2,num3,num4) as max_num -- 最大值 ,least(num1,num2,num3,num4) as min_num -- 最小值 from ( select 'a' as name,1 as num1, 3 as num2, 2 as num3,4 as num4 ) t1 ; 阅读全文
posted @ 2019-12-19 16:39 chenzechao 阅读(857) 评论(0) 推荐(0)
摘要: 列转行 SELECT flag ,substring_index(substring_index(t.context,',', b.help_topic_id + 1), ',', -1) as result FROM ( select 'aa' as flag,'1,2,3,4,5,6,7' as 阅读全文
posted @ 2019-12-17 15:21 chenzechao 阅读(1602) 评论(0) 推荐(0)
摘要: 如果只是删除尾部的中文,保留数据,可以用以下的简单方式 阅读全文
posted @ 2019-11-28 19:11 chenzechao 阅读(6975) 评论(0) 推荐(1)
该文被密码保护。 阅读全文
posted @ 2019-11-21 23:08 chenzechao 阅读(2) 评论(0) 推荐(0)
摘要: mysql如果通过超长的字段进行on关联,会导致效率很低,7k关联1.4k,结果为30+W的数据量,执行时间高达50秒。 将这个字段进行md5,然后再通过md5后的值进行关联,执行效率会大大优化,同样的SQL,可在5秒内完成。 阅读全文
posted @ 2019-11-19 17:19 chenzechao 阅读(1045) 评论(0) 推荐(0)
摘要: PPT 阅读全文
posted @ 2019-11-10 17:43 chenzechao 阅读(109) 评论(0) 推荐(0)
摘要: https://blog.csdn.net/qq_22194659/article/details/83829891 https://www.ej-technologies.com/products/jprofiler/overview.html L-J11-Everyone#speedzodiac 阅读全文
posted @ 2019-11-09 17:36 chenzechao 阅读(1691) 评论(0) 推荐(0)
上一页 1 ··· 16 17 18 19 20 21 22 23 24 ··· 40 下一页