标签:sort efault ++ col decode mysq count delete base
mysqlbinlog --no-defaults --base64-output=decode-rows -v -v mysql-bin.000002 |awk ‘/###/{if($0~/UPDATE|INSERT|DELETE/)count[$2" "$NF]++}END{for(i in count)print i,"\t",count[i]}‘|column -t|sort -k3nr|more
标签:sort efault ++ col decode mysq count delete base
原文地址:https://www.cnblogs.com/gaoyuechen/p/10220255.html