add db profiling logging