The bacterial and viral communities were studied in bulking and non-bulking AS. The relative abundance of bacteria and virus-like particles varied in the bulking AS. The diversity of bacterial and viral communities decreased in the bulking AS. The abundance of some bulking causative bacteria increased sharply in the bulking AS. Two dominant families of bacteriophages increased sharply in the bulking AS.