WIP moving towards using postgres in profiling