add flag use_statistics in get_host_data()