Quantcast
Channel: User Christoffer - Stack Overflow
Viewing all articles
Browse latest Browse all 45

Comment by Christoffer on Django settings when using pgbouncer

$
0
0
default_pool_size should for sure be lower than max_client_conn in your pgbouncer.ini. Your default_pool_size is the amount of connections to your database from pgbouncer (per user. Most setups only has one). The default max connections for a postgresql database is 100. You need to leave a few of these connections for admin access etc, so default_pool_size should be max 95. but better set it at 20 or even less and let pgbouncer handle the pooling.

Viewing all articles
Browse latest Browse all 45

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>