2 for f in mysql-bin.[0-9]*
6 db=substr($2,1,index($2,"/")-1)
9 if ($2=="IGNORE") { table=$4 } else { table=$3 }
10 if (index(table,".")<=0) table=db"."table
11 printf("%s %s\n",$1,table)
15 if (index(table,".")<=0) table=db"."table
16 printf("%s %s\n",$1,table)
19 done | sort | uniq -c | sort -n | tail -10