Improve query performance for Derby by additional FLOWS table and trigger