more accurate Performance logging for db access