title: How to check cost of derby(apache in-memory datadase)
body: <p>I am using memory database(derby) with spring framework.</p>
  
  <p>I am using that with bunch of annotations and xml. It works nice, but I am not sure my SQL is good enough or needs some optimizations.</p>
  
  <p>Is there anyway to check the cost of SQL with derby? 
  (I already visited derby homepage, but I need more examples) Thanks. </p>