Error when running a count query


I am trying to count the IDs for a table in a postgres Database using the filter functions. The table is quite big and I always get this error for one specific table. On most of the other tables of the database it works without problems.

ERROR: canceling statement due to conflict with recovery
Detail: User query might have needed to see row versions that must be removed.

What happens if you run the same query directly on your postgres? Skipping metabase?

Cause it seems to be a DB issue