add profiling opt to Db