https://how2.sh/posts/how-to-optimize-postgresql-performance/
How to Optimize PostgreSQL Performance for Production Workloads