Database performance logging.