flâneur — a map of the web's best reading

PgBouncer PostgreSQL performance

jfrog.com · 1,744 words · saved by 1 readers

This blog post describes step-by-step how to improve the PostgreSQL Database Server architecture connections management, reduce the load on the PostgreSQL Server and improve the performance using the PgBouncer connection pooler. Here is a breakdown of the topics we will discover in this article First, let’s start with some basic concepts. A PostgreSQL Database Server accepts, processes requests, and returns results. The requests are received from client applications. The application code interacts with the database. The database searches, saves, manipulates data, and responds to the client. PostgreSQL creates a separate process for each client connection that serves that connection. For example: if there are ten client connections, PostgreSQL creates ten processes and allocates memory per connection. if there are one hundred client connections, then one hundred PostgreSQL Server processes serve those one hundred client connections. This type of architecture is called the Client-Server

PgBouncer PostgreSQL performance Using PgBouncer to improve performance and reduce the load on PostgreSQL By Dmitry Romanoff, Tech Lead @JFrog June 16, 2023 9 min read SHARE: This blog post describes step-by-step how to improve the PostgreSQL Database Server architecture connections management, reduce the load on the PostgreSQL Server and improve the performance using the PgBouncer connection pooler. Here is a breakdown of the topics we will discover in this article How a PostgreSQL Database Server Works Improving efficiency with PgBouncer poolers How to install and configure PgBouncer First,

Explore this link on the map →

related reading