Create Check_statistics_for_database