improve db_results_analyzer