[db] first working version of a host profiler