Closed cuducos closed 6 years ago
Does the performance improved?
Does the performance improved?
Yep. I just ran simple tests locally and it was slightly quicker — nothing so surprising as in the reference, but worth it ; )
There are other recommendations on https://speakerdeck.com/ongres/postgresql-configuration-for-humans
Closed by #303
What is the problem? A bottleneck for Jarbas is Postgres performance. This article suggests that setting
random_page_cost
lower works well when using SSD (which is our case).How can this be addressed? First compare some queries (special the ones from the Jarbas Dashboard) execution time with
random_page_cost=4
(default) andrandom_page_cost=1
. If it really works, we need to adapt our Docker architecture to start the service with that custom setting.Who could help with this issue? Not sure… maybe @caduvieira? @fredgcosta?