I have a symfony 5 project, with mongodb as db and doctrine odm.
Everything looks and works fine, except that fact that on a huge collection every query takes ages. I