1. Add Unique Key constraints.

2. Check if Mysql throws errors: .ORA-04091: table  is mutating, trigger/function may not see it., http://asktom.oracle.com/tkyte/Mutate/, http://www.dbforums.com/ansi-sql/415216-ora-04091-table-mutating-trigger-function-may-not-see.html 

3. Table partitioning: metric, statuschange_service_profile 
