Profiling the databases