Open srggrs opened 4 years ago
One solution for the COUNT query might be found in https://www.citusdata.com/blog/2016/10/12/count-performance/
More general optimization on PostgreSQL can be found here https://wiki.postgresql.org/wiki/Performance_Optimization
Also would be worth setting up a Postgres Cluster . . . (e.g. 2 or more containers) and increase the maximum number of connections
At the moment queries seems a bit slow, mostly for datatables (I think it does a COUNT and then a SELECT ... FROM ...). I've been suggested (from ADASS conference networking) to look into these things:
It came from this guy: