![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
awk
acho_cl
java.shell.awk.linux.oracle
展开
-
awk稽核重复数据
需求找出两个文本文件的重复数据$wc -l sms.txt13659910 sms.txt$wc -l tmp_sms.txt 154 tmp_sms.txt -l, --lines print the newline counts步骤查看编码$file sms.txtsms.txt: UTF-8 Unicode te...原创 2019-04-15 09:39:37 · 267 阅读 · 0 评论 -
编写shell脚本(awk)分析sqlldr入库日志
需求 对于使用sqlldr入库异常需要手动处理,由于数据量较大,错误日志会记录每一条数据入库失败的原因,所以直接查看日志,对于整体入库异常分析不够全面,所以编写脚本分析日志。案列:表prod_offer_merger_relation数据文件数据总数:9653 入库数:9134 入库失败数:519 账期:20190325步骤1查看日志wc -l INSER...原创 2019-04-15 09:39:09 · 846 阅读 · 0 评论