performance

log slow queries

/etc/postgresql/13/main/conf.d/log-slow-queries.conf
log_min_duration_statement=10000
sudo systemctl reload postgresql