investigated reason behind database bad performance and had to upgrade the PG heroku plan