Hi all
Lately I’ve having an issue while running analytics. Everything seems to be running well until the task “Swapping analytics tables” starts. That task can take up to 2 hours.
Could anyone help me on fixing this issue? What I do that works is to shutdown Tomcat, restart Postgres service, and then start Tomcat. After this if I run analytics, it will run smoothly as expected.
My server specs are:
CPU cores = 8
RAM = 32GB
OS = Ubuntu 18.04
PostgreSQL 13.10
Tomcat 9
Java 11, -Xms8184m -Xmx12288m
Thank you for the article. I took in consideration the concenpts referred in the article and tried to do some more tuning of my Postgres configuration, but the issue still remains, and sometimes even after restarting Tomcat and Postgres, when running analytics again it gets stuck on that process, “Swapping analytics table”