博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
一条霸气的分析binlog的命令
阅读量:7156 次
发布时间:2019-06-29

本文共 308 字,大约阅读时间需要 1 分钟。

/u01/percona55_debug/bin/mysqlbinlog -vv   mysql-bin.000039    |  \   grep -i -e "^update" -e "^insert" -e "^delete" -e "^replace" -e "^alter"  | \   cut -c1-100 | tr '[A-Z]' '[a-z]' |  \   sed -e "s/\t/ /g;s/\`//g;s/(.*$//;s/ set .*$//;s/ as .*$//" | sed -e "s/ where .*$//" |  \   sort | uniq -c | sort -nr

转载地址:http://pmegl.baihongyu.com/

你可能感兴趣的文章
本地计算机 上的 MySQL 服务启动后停止。某些服务在未由其他服务或程序使用时将自动停止。...
查看>>
调用系统拍照
查看>>
NSUserDefaults保存应用中的数据
查看>>
用Gvim建立IDE编程环境 (Windows篇)_Nothing is impossible for a willing heart._百度空间...
查看>>
Chrome 插件
查看>>
c++的重载,覆盖与隐藏
查看>>
大数据的三个入口
查看>>
void指针
查看>>
hackerrank-knapsack
查看>>
Atitit. 软件开发中的管理哲学--一个伟大的事业必然是过程导向为主 过程导向 vs 结果导向...
查看>>
hive load from hdfs出错
查看>>
IOS开发:xcode5版本引发的问题
查看>>
asp.net 负载均衡下session存储的解决方法
查看>>
构建ASP.NET MVC4+EF5+EasyUI+Unity2.x注入的后台管理系统(17)-LinQ动态排序
查看>>
领域驱动开发推荐代码示例 — Microsoft NLayerApp
查看>>
Linux 安装Rsync和配置
查看>>
hadoop fs -mkdir testdata错误 提示No such file or directory
查看>>
zebra路由软件使用大全
查看>>
PostgreSQL security - don't use password method in pg_hba.conf
查看>>
RDS MySql支持online ddl
查看>>