Added config to turn off db query profiling.