groovy scripts to measure select and inserts for mysql and mongodb