@tadano @silverpill hey bros, with https://pgtune.leopard.in.ua/, what should I set the number of connections to?
-
@tadano @silverpill hey bros, with https://pgtune.leopard.in.ua/, what should I set the number of connections to? I set it to 20 because of the pleroma guide, but I don't know what it'd be for #Mitra
-
silverpillreplied to christmas skibidi tomato :nix: :tomatock: last edited by
I don't use pgtune. My config has
max_connections = 100
which is probably the default, and it works fine.If performance is poor this is likely mitra's fault, not postrges. For example, it could be caused by slow database queries, you can see them in your postgresql log if you add
log_min_duration_statement = 500
topostgresql.conf
(that will log every query that runs for more than 500 milliseconds)
Copyright © 2024 NodeBB | Contributors