title: How to measure performance of databases in Java?
body: <p>I'm looking for a good way to measure the performance of particular databases in Java and compare them with each other. The databases are: (NoSQL) MongoDB, CouchDB and Cassandra as well as (RDBMS) MySQL, Postgresql.</p>
  
  <p>I'm planning to do some CRUD tests and some more complexer joins/relations tests.
  I thought of using JMH (Java Microbenchmarking Harness) but I don't know whether that is a good idea since it is measuring the ops/s (operations per second).
  Does anybody have a good tip of measuring the performance of these databases in Java? Or is using JMH actually a good option?</p>