A database connection consists of a TCP (or UNIX socket) network connection to the database machine and a server process on the database machine that serves client queries. You can see active connections in the view pg_stat_activity
.
That is what is limited myby max_connections
.
Do not confuse concurrent users in your application with concurrent database connections. If you use connection pooling as you should, a database connection can handle requests from many application users.
A database connection consists of a TCP (or UNIX socket) network connection to the database machine and a server process on the database machine that serves client queries. You can see active connections in the view pg_stat_activity
.
That is what is limited my max_connections
.
Do not confuse concurrent users in your application with concurrent database connections. If you use connection pooling as you should, a database connection can handle requests from many application users.
A database connection consists of a TCP (or UNIX socket) network connection to the database machine and a server process on the database machine that serves client queries. You can see active connections in the view pg_stat_activity
.
That is what is limited by max_connections
.
Do not confuse concurrent users in your application with concurrent database connections. If you use connection pooling as you should, a database connection can handle requests from many application users.