Profiling DB for Python