Influx Db queries are quite slow


I am quite new to Influx db and I would like to understand why the queries on the Acceptance environment take much longer to respond than Production when both have the same CPU, RAM and queries too. In fact the data on Production is at least 4 times more than the acceptance one. The queries are quite slow on Acceptance. The same queries are quite fast on Production. I would like to know the root cause and debug the issue. I looked for solution on the internet, but nothing helped.

Thank you,

Which version of InfluxDB are you using? Please be as specific as possible.

On both acceptance and production, we are on version 1.8.4.