{"id":6257,"date":"2026-11-23T07:00:00","date_gmt":"2026-11-23T04:00:00","guid":{"rendered":"https:\/\/www.dataplatform.gr\/?p=6257"},"modified":"2026-11-23T21:51:02","modified_gmt":"2026-11-23T18:51:02","slug":"pos-na-kaneis-connection-pooling-stin-postgresql-to-pgbouncer","status":"publish","type":"post","link":"https:\/\/www.dataplatform.gr\/en\/pos-na-kaneis-connection-pooling-stin-postgresql-to-pgbouncer\/","title":{"rendered":"How to do Connection Pooling in PostgreSQL with PgBouncer"},"content":{"rendered":"<p class=\"wp-block-paragraph\">In <strong>PostgreSQL<\/strong>, each new connection from an application or user creates a separate process in the operating system. When the connections are few, everything works smoothly. But when we have hundreds or thousands of simultaneous connections from applications, the database spends huge resources in RAM and CPU just to open and close and manage these processes.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Here comes the <strong>PgBouncer<\/strong>. It is a <strong>Connection Pooler<\/strong> for PostgreSQL. It sits between the application and the database, keeps a fixed, small number of open connections to PostgreSQL, and distributes thousands of incoming client connections across these few real connections.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">PgBouncer supports three operating modes (<code>pool_mode<\/code>):<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Session pooling (default):<\/strong> The connection to the database is reserved by the client for the entire duration it is connected.<\/li>\n\n\n\n<li><strong>Transaction pooling:<\/strong> The connection to the database is given to the client <strong>only<\/strong> for as long as a transaction lasts. Once it is done <code>COMMIT<\/code> the <code>ROLLBACK<\/code>, the connection immediately returns to the pool to serve the next client. It is the ideal choice for maximum performance.<\/li>\n\n\n\n<li><strong>Statement pooling:<\/strong> The connection returns to the pool after each individual query (does not allow multi-statement transactions).<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Installing PgBouncer<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">In environment <strong>RHEL \/ Oracle Linux<\/strong>, install the package <code>pgbouncer<\/code>:<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\" data-no-translation=\"\" data-no-auto-translation=\"\">sudo yum install -y --nogpgcheck pgbouncer\n<\/pre>\n\n\n\n<h4 class=\"wp-block-heading\">Parameterization<\/h4>\n\n\n\n<p class=\"wp-block-paragraph\">We open the main PgBouncer configuration file:<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\" data-no-translation=\"\" data-no-auto-translation=\"\">sudo vi \/etc\/pgbouncer\/pgbouncer.ini\n<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">In the section <code>databases<\/code> we declare which databases the pooler will serve and where they are located (in the classic port <code>5432<\/code> of PostgreSQL). In the section <code>pgbouncer<\/code> we define the port that PgBouncer will listen to (<code>6432<\/code>), the authentication method <code>scram-sha-256<\/code>, as well as the pool limits, <code class=\"\">max_client_conn = 1000<\/code> incoming connections that will be served by just <code class=\"\">default_pool_size = 20<\/code> actual connections per database:<\/p>\n\n\n\n<pre class=\"wp-block-code\" data-no-translation=\"\" data-no-auto-translation=\"\"><code>&#91;databases]\ndb_test = host=127.0.0.1 port=5432 dbname=db_test\npostgres = host=127.0.0.1 port=5432 dbname=postgres\n\n&#91;pgbouncer]\nlisten_addr = 0.0.0.0\nlisten_port = 6432\nauth_type = scram-sha-256\nauth_file = \/etc\/pgbouncer\/userlist.txt\nlogfile = \/var\/log\/pgbouncer\/pgbouncer.log\npidfile = \/var\/run\/pgbouncer\/pgbouncer.pid\nadmin_users = postgres\nstats_users = stats, postgres\n\n;pooling-mode\npool_mode = transaction\nmax_client_conn = 1000\ndefault_pool_size = 20\n<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<h4 class=\"wp-block-heading\">User authentication setup<\/h4>\n\n\n\n<p class=\"wp-block-paragraph\">In order for PgBouncer to authenticate users without querying the database each time, it needs the users&#039; password hashes in the file <code>\/etc\/pgbouncer\/userlist.txt<\/code>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">These hashes are located in the system table. <code class=\"\">pg_shadow<\/code> of PostgreSQL:<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\" data-no-translation=\"\" data-no-auto-translation=\"\">SELECT usename, passwd FROM pg_shadow;\n<\/pre>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"520\" src=\"https:\/\/www.dataplatform.gr\/wp-content\/uploads\/2026\/10\/dpbo_01-1024x520.png\" alt=\"\" class=\"wp-image-6258\" srcset=\"https:\/\/www.dataplatform.gr\/wp-content\/uploads\/2026\/10\/dpbo_01-1024x520.png 1024w, https:\/\/www.dataplatform.gr\/wp-content\/uploads\/2026\/10\/dpbo_01-300x152.png 300w, https:\/\/www.dataplatform.gr\/wp-content\/uploads\/2026\/10\/dpbo_01-18x9.png 18w, https:\/\/www.dataplatform.gr\/wp-content\/uploads\/2026\/10\/dpbo_01-767x389.png 767w, https:\/\/www.dataplatform.gr\/wp-content\/uploads\/2026\/10\/dpbo_01.png 1092w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><figcaption class=\"wp-element-caption\">01<\/figcaption><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Alternatively, we can automatically export all users and their accounts with a single command from the terminal. <code>SCRAM-SHA-256<\/code> their hashes in the exact format required by the <code class=\"\">userlist.txt<\/code>:<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\" data-no-translation=\"\" data-no-auto-translation=\"\">sudo -u postgres psql -At -c \"SELECT format('\\\"%s\\\" \\\"%s\\\"', usename, passwd) FROM pg_shadow;\" | sudo tee -a \/etc\/pgbouncer\/userlist.txt\n<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">If we open the file we will see that the users have been passed:<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\" data-no-translation=\"\" data-no-auto-translation=\"\">sudo vi \/etc\/pgbouncer\/userlist.txt\n<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">For example:<\/p>\n\n\n\n<pre class=\"wp-block-code\" data-no-translation=\"\" data-no-auto-translation=\"\"><code>\"stratos\" \"SCRAM-SHA-256$4096:wLZNjbAW4IwpnYLK2WkwqA==$uxoJFZ4HCUvTnxes8qFqymhCyVno5iEWHjt15sw7g14=:HouE32Db3EAcfWaBGsgTKJf3WnMdfmAYDqLxZnVeSvY=\"\n\"postgres\" \"SCRAM-SHA-256$4096:ZHvh6l\/T65w3NHOrckXPyQ==$B41RvwPvqKKJvZR2wPq9SjBVK3c\/YcaiqjCIfnclYtc=:PweXqH2NfQ2W9PKTJAahPUWVhOXCjgTQ2g84zyQ5lUs=\"\n<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<h4 class=\"wp-block-heading\">PgBouncer Startup<\/h4>\n\n\n\n<p class=\"wp-block-paragraph\">We enable the PgBouncer service so that it starts automatically with the system:<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\" data-no-translation=\"\" data-no-auto-translation=\"\">sudo systemctl enable --now pgbouncer\n<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">We are now trying to connect to our base, not the door. <code>5432<\/code>, but at the door <strong><code>6432<\/code><\/strong> of PgBouncer (it will ask us for the user&#039;s password for authentication):<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\" data-no-translation=\"\" data-no-auto-translation=\"\">psql -h 127.0.0.1 -p 6432 -U postgres -d db_test\n<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Stress Test with <code>pgbench<\/code><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">To see connection pooling in action, we use the tool <code>pgbench<\/code>. We send <strong>100 simultaneous clients<\/strong> with 10 threads for 30 seconds on the door <code>6432<\/code>:<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\" data-no-translation=\"\" data-no-auto-translation=\"\">pgbench -c 100 -j 10 -T 30 -M simple -h 127.0.0.1 -p 6432 -U stratos db_test\n<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Although the <code>pgbench<\/code> opened 100 connections, PostgreSQL behind accepted at most <strong>20 connections<\/strong> (<code>default_pool_size = 20<\/code>), keeping memory and CPU consumption at perfectly controlled levels.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Monitoring PgBouncer through pgAdmin (with <code>dblink<\/code>)<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">PgBouncer has its own virtual management database named <code>pgbouncer<\/code>, in which we can run commands like <code>SHOW POOLS<\/code> and <code>SHOW STATS<\/code> through the <code>psql<\/code>However, because it is not a true PostgreSQL database, tools like <strong>pgAdmin<\/strong> they cannot be connected directly to it.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">So that we can see PgBouncer statistics with simple <code>SELECT<\/code> through pgAdmin, we can use <strong><code>dblink<\/code><\/strong>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">First, we activate the extension in our database:<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"sql\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\" data-no-translation=\"\" data-no-auto-translation=\"\">CREATE EXTENSION IF NOT EXISTS dblink;\n<\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">1. Create a View for <code>SHOW POOLS<\/code><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">We create the view <code class=\"\">pgbouncer_pools<\/code> which is connected internally to the door <code>6432<\/code> and brings the image of the pools into a regular table:<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"sql\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\" data-no-translation=\"\" data-no-auto-translation=\"\">CREATE OR REPLACE VIEW pgbouncer_pools AS\nSELECT *\nFROM dblink(\n    'host=127.0.0.1 port=6432 dbname=pgbouncer user=postgres password=Password',\n    'SHOW POOLS;'\n) AS t (\n    database text,\n    \"user\" text,\n    cl_active int,\n    cl_waiting int,\n    cl_active_cancel_req int,\n    cl_waiting_cancel_req int,\n    sv_active int,\n    sv_active_cancel int,\n    sv_being_canceled int,\n    sv_idle int,\n    sv_used int,\n    sv_tested int,\n    sv_login int,\n    maxwait int,\n    maxwait_us int,\n    pool_mode text\n);\n<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Now we can check the pools with a simple <code>SELECT<\/code>:<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"sql\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\" data-no-translation=\"\" data-no-auto-translation=\"\">SELECT * FROM pgbouncer_pools;\n<\/pre>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"370\" src=\"https:\/\/www.dataplatform.gr\/wp-content\/uploads\/2026\/10\/dpbo_02-1024x370.png\" alt=\"\" class=\"wp-image-6259\" srcset=\"https:\/\/www.dataplatform.gr\/wp-content\/uploads\/2026\/10\/dpbo_02-1024x370.png 1024w, https:\/\/www.dataplatform.gr\/wp-content\/uploads\/2026\/10\/dpbo_02-18x7.png 18w, https:\/\/www.dataplatform.gr\/wp-content\/uploads\/2026\/10\/dpbo_02-766x277.png 766w, https:\/\/www.dataplatform.gr\/wp-content\/uploads\/2026\/10\/dpbo_02-300x108.png 300w, https:\/\/www.dataplatform.gr\/wp-content\/uploads\/2026\/10\/dpbo_02.png 1214w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><figcaption class=\"wp-element-caption\">02<\/figcaption><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">2. Create a View for <code>SHOW STATS<\/code><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Accordingly, we create a second view for overall traffic and response time statistics:<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"sql\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\" data-no-translation=\"\" data-no-auto-translation=\"\">CREATE OR REPLACE VIEW pgbouncer_stats AS\nSELECT *\nFROM dblink(\n    'host=127.0.0.1 port=6432 dbname=pgbouncer user=postgres password=Password',\n    'SHOW STATS;'\n) AS t (\n    database text,\n    total_server_assignment_count bigint,\n    total_xact_count bigint,\n    total_query_count bigint,\n    total_received bigint,\n    total_sent bigint,\n    total_xact_time bigint,\n    total_query_time bigint,\n    total_wait_time bigint,\n    avg_server_assignment_count bigint,\n    avg_xact_count bigint,\n    avg_query_count bigint,\n    avg_recv bigint,\n    avg_sent bigint,\n    avg_xact_time bigint,\n    avg_query_time bigint,\n    avg_wait_time bigint\n);\n<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">And we see the results with:<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"sql\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\" data-no-translation=\"\" data-no-auto-translation=\"\">SELECT * FROM pgbouncer_stats;\n<\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">3. Unified Dashboard Query with <code>JOIN<\/code><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Now that we have both views in PostgreSQL, we can join them with a <code>JOIN<\/code> to have on one screen in pgAdmin the active connections with the actual connections to the database, the total queries and the average latency:<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"sql\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\" data-no-translation=\"\" data-no-auto-translation=\"\">SELECT \n    p.database, \n    p.cl_active AS active_clients, \n    p.sv_active AS backend_connections, \n    s.total_query_count, \n    s.avg_query_time AS latency_avg\nFROM pgbouncer_pools p\nJOIN pgbouncer_stats s ON p.database = s.database;\n<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Running this query during the benchmark, we clearly see how while the <code>active_clients<\/code> they go up, the <code>backend_connections<\/code> are stuck at the limit we have set (<code>20<\/code>)<sup><\/sup>.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"493\" src=\"https:\/\/www.dataplatform.gr\/wp-content\/uploads\/2026\/10\/dpbo_03-1024x493.png\" alt=\"\" class=\"wp-image-6260\" srcset=\"https:\/\/www.dataplatform.gr\/wp-content\/uploads\/2026\/10\/dpbo_03-1024x493.png 1024w, https:\/\/www.dataplatform.gr\/wp-content\/uploads\/2026\/10\/dpbo_03-300x144.png 300w, https:\/\/www.dataplatform.gr\/wp-content\/uploads\/2026\/10\/dpbo_03-766x369.png 766w, https:\/\/www.dataplatform.gr\/wp-content\/uploads\/2026\/10\/dpbo_03-18x9.png 18w, https:\/\/www.dataplatform.gr\/wp-content\/uploads\/2026\/10\/dpbo_03.png 1034w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><figcaption class=\"wp-element-caption\">03<\/figcaption><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">What will we see if we check what is happening right now from the <code>pg_stat_activity<\/code><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">A very important feature of PgBouncer is that it works as <strong>transparent proxy<\/strong>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">If during the time there are active sessions we check the system view <code>pg_stat_activity<\/code> of PostgreSQL, <strong>we will not see the 100 connections that the application opened to PgBouncer, but only the actual (up to 20) connections that PgBouncer has opened to the database<\/strong>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">At the same time, because PgBouncer is transparent:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>In the column <code>login_name <\/code>of <code>pg_stat_activity<\/code> we will normally see the name of the actual user of the application (e.g. <code>stratospheric<\/code>) and not a general user <code>pgbouncer<\/code>.<\/li>\n\n\n\n<li>In the column <code>program_name <\/code>the name of the application that sent the query is passed as is (e.g. <code>pgbench<\/code>).<\/li>\n\n\n\n<li>In the column <code>client_addr<\/code> we will see the IP of PgBouncer (<code>127.0.0.1<\/code> if it runs on the same server).<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"608\" src=\"https:\/\/www.dataplatform.gr\/wp-content\/uploads\/2026\/10\/dpbo_04-1024x608.png\" alt=\"\" class=\"wp-image-6261\" srcset=\"https:\/\/www.dataplatform.gr\/wp-content\/uploads\/2026\/10\/dpbo_04-1024x608.png 1024w, https:\/\/www.dataplatform.gr\/wp-content\/uploads\/2026\/10\/dpbo_04-300x178.png 300w, https:\/\/www.dataplatform.gr\/wp-content\/uploads\/2026\/10\/dpbo_04-767x455.png 767w, https:\/\/www.dataplatform.gr\/wp-content\/uploads\/2026\/10\/dpbo_04-18x11.png 18w, https:\/\/www.dataplatform.gr\/wp-content\/uploads\/2026\/10\/dpbo_04.png 1247w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><figcaption class=\"wp-element-caption\">04<\/figcaption><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Sources:<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/www.postgresql.org\/docs\/current\/\">PostgreSQL 18.4 Documentation<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/www.pgbouncer.org\/usage.html\" data-type=\"link\" data-id=\"https:\/\/www.pgbouncer.org\/usage.html\">PgBouncer Official Documentation<\/a><\/li>\n<\/ul>","protected":false},"excerpt":{"rendered":"<p>In PostgreSQL, each new connection from an application or user creates a separate process in the operating system. When there are few connections, everything works smoothly. But when we have hundreds or thousands of simultaneous connections from applications, the database spends huge resources in RAM and CPU just to open and close and manage these [\u2026]<\/p>","protected":false},"author":1,"featured_media":2376,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[11,123],"tags":[29,48,124,30],"class_list":["post-6257","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-databases","category-postgresql","tag-databases","tag-performance_tuning","tag-postgresql","tag-rdbms"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.8 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>\u03a0\u03ce\u03c2 \u03bd\u03b1 \u03ba\u03ac\u03bd\u03b5\u03b9\u03c2 Connection Pooling \u03c3\u03c4\u03b7\u03bd PostgreSQL \u03bc\u03b5 \u03c4\u03bf PgBouncer - DataPlatform.gr<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.dataplatform.gr\/en\/pos-na-kaneis-connection-pooling-stin-postgresql-to-pgbouncer\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u03a0\u03ce\u03c2 \u03bd\u03b1 \u03ba\u03ac\u03bd\u03b5\u03b9\u03c2 Connection Pooling \u03c3\u03c4\u03b7\u03bd PostgreSQL \u03bc\u03b5 \u03c4\u03bf PgBouncer - DataPlatform.gr\" \/>\n<meta property=\"og:description\" content=\"\u03a3\u03c4\u03b7\u03bd PostgreSQL, \u03ba\u03ac\u03b8\u03b5 \u03bd\u03ad\u03b1 \u03c3\u03cd\u03bd\u03b4\u03b5\u03c3\u03b7 \u03b1\u03c0\u03cc \u03bc\u03b9\u03b1 \u03b5\u03c6\u03b1\u03c1\u03bc\u03bf\u03b3\u03ae \u03ae \u03ad\u03bd\u03b1\u03bd \u03c7\u03c1\u03ae\u03c3\u03c4\u03b7 \u03b4\u03b7\u03bc\u03b9\u03bf\u03c5\u03c1\u03b3\u03b5\u03af \u03ad\u03bd\u03b1 \u03be\u03b5\u03c7\u03c9\u03c1\u03b9\u03c3\u03c4\u03cc process \u03c3\u03c4\u03bf \u03bb\u03b5\u03b9\u03c4\u03bf\u03c5\u03c1\u03b3\u03b9\u03ba\u03cc \u03c3\u03cd\u03c3\u03c4\u03b7\u03bc\u03b1. \u038c\u03c4\u03b1\u03bd \u03bf\u03b9 \u03c3\u03c5\u03bd\u03b4\u03ad\u03c3\u03b5\u03b9\u03c2 \u03b5\u03af\u03bd\u03b1\u03b9 \u03bb\u03af\u03b3\u03b5\u03c2, \u03cc\u03bb\u03b1 \u03bb\u03b5\u03b9\u03c4\u03bf\u03c5\u03c1\u03b3\u03bf\u03cd\u03bd \u03bf\u03bc\u03b1\u03bb\u03ac. \u038c\u03c4\u03b1\u03bd \u03cc\u03bc\u03c9\u03c2 \u03ad\u03c7\u03bf\u03c5\u03bc\u03b5 \u03b5\u03ba\u03b1\u03c4\u03bf\u03bd\u03c4\u03ac\u03b4\u03b5\u03c2 \u03ae \u03c7\u03b9\u03bb\u03b9\u03ac\u03b4\u03b5\u03c2 \u03c4\u03b1\u03c5\u03c4\u03cc\u03c7\u03c1\u03bf\u03bd\u03b1 connections \u03b1\u03c0\u03cc \u03b5\u03c6\u03b1\u03c1\u03bc\u03bf\u03b3\u03ad\u03c2, \u03b7 \u03b2\u03ac\u03c3\u03b7 \u03b4\u03b5\u03b4\u03bf\u03bc\u03ad\u03bd\u03c9\u03bd \u03be\u03bf\u03b4\u03b5\u03cd\u03b5\u03b9 \u03c4\u03b5\u03c1\u03ac\u03c3\u03c4\u03b9\u03bf\u03c5\u03c2 \u03c0\u03cc\u03c1\u03bf\u03c5\u03c2 \u03c3\u03b5 \u03bc\u03bd\u03ae\u03bc\u03b7 RAM \u03ba\u03b1\u03b9 CPU \u03b1\u03c0\u03bb\u03ac \u03b3\u03b9\u03b1 \u03bd\u03b1 \u03b1\u03bd\u03bf\u03b9\u03b3\u03bf\u03ba\u03bb\u03b5\u03af\u03bd\u03b5\u03b9 \u03ba\u03b1\u03b9 \u03bd\u03b1 \u03b4\u03b9\u03b1\u03c7\u03b5\u03b9\u03c1\u03af\u03b6\u03b5\u03c4\u03b1\u03b9 \u03b1\u03c5\u03c4\u03ac [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.dataplatform.gr\/en\/pos-na-kaneis-connection-pooling-stin-postgresql-to-pgbouncer\/\" \/>\n<meta property=\"og:site_name\" content=\"DataPlatform.gr\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/dataplatform.gr\/\" \/>\n<meta property=\"article:published_time\" content=\"2026-11-23T04:00:00+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2026-11-23T18:51:02+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.dataplatform.gr\/wp-content\/uploads\/2020\/10\/db_postgresql.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1280\" \/>\n\t<meta property=\"og:image:height\" content=\"720\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Stratos Matzouranis\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Stratos Matzouranis\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.dataplatform.gr\\\/pos-na-kaneis-connection-pooling-stin-postgresql-to-pgbouncer\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.dataplatform.gr\\\/pos-na-kaneis-connection-pooling-stin-postgresql-to-pgbouncer\\\/\"},\"author\":{\"name\":\"Stratos Matzouranis\",\"@id\":\"https:\\\/\\\/www.dataplatform.gr\\\/#\\\/schema\\\/person\\\/e87bf4fd02b65cb6aa0942f87245bbaf\"},\"headline\":\"\u03a0\u03ce\u03c2 \u03bd\u03b1 \u03ba\u03ac\u03bd\u03b5\u03b9\u03c2 Connection Pooling \u03c3\u03c4\u03b7\u03bd PostgreSQL \u03bc\u03b5 \u03c4\u03bf PgBouncer\",\"datePublished\":\"2026-11-23T04:00:00+00:00\",\"dateModified\":\"2026-11-23T18:51:02+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.dataplatform.gr\\\/pos-na-kaneis-connection-pooling-stin-postgresql-to-pgbouncer\\\/\"},\"wordCount\":113,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/www.dataplatform.gr\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.dataplatform.gr\\\/pos-na-kaneis-connection-pooling-stin-postgresql-to-pgbouncer\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.dataplatform.gr\\\/wp-content\\\/uploads\\\/2020\\\/10\\\/db_postgresql.png\",\"keywords\":[\"Databases\",\"Performance Tuning\",\"PostgreSQL\",\"RDBMS\"],\"articleSection\":[\"Databases\",\"PostgreSQL\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.dataplatform.gr\\\/pos-na-kaneis-connection-pooling-stin-postgresql-to-pgbouncer\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.dataplatform.gr\\\/pos-na-kaneis-connection-pooling-stin-postgresql-to-pgbouncer\\\/\",\"url\":\"https:\\\/\\\/www.dataplatform.gr\\\/pos-na-kaneis-connection-pooling-stin-postgresql-to-pgbouncer\\\/\",\"name\":\"\u03a0\u03ce\u03c2 \u03bd\u03b1 \u03ba\u03ac\u03bd\u03b5\u03b9\u03c2 Connection Pooling \u03c3\u03c4\u03b7\u03bd PostgreSQL \u03bc\u03b5 \u03c4\u03bf PgBouncer - DataPlatform.gr\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.dataplatform.gr\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.dataplatform.gr\\\/pos-na-kaneis-connection-pooling-stin-postgresql-to-pgbouncer\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.dataplatform.gr\\\/pos-na-kaneis-connection-pooling-stin-postgresql-to-pgbouncer\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.dataplatform.gr\\\/wp-content\\\/uploads\\\/2020\\\/10\\\/db_postgresql.png\",\"datePublished\":\"2026-11-23T04:00:00+00:00\",\"dateModified\":\"2026-11-23T18:51:02+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.dataplatform.gr\\\/pos-na-kaneis-connection-pooling-stin-postgresql-to-pgbouncer\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.dataplatform.gr\\\/pos-na-kaneis-connection-pooling-stin-postgresql-to-pgbouncer\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.dataplatform.gr\\\/pos-na-kaneis-connection-pooling-stin-postgresql-to-pgbouncer\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.dataplatform.gr\\\/wp-content\\\/uploads\\\/2020\\\/10\\\/db_postgresql.png\",\"contentUrl\":\"https:\\\/\\\/www.dataplatform.gr\\\/wp-content\\\/uploads\\\/2020\\\/10\\\/db_postgresql.png\",\"width\":1280,\"height\":720},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.dataplatform.gr\\\/pos-na-kaneis-connection-pooling-stin-postgresql-to-pgbouncer\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u0391\u03c1\u03c7\u03b9\u03ba\u03ae\",\"item\":\"https:\\\/\\\/www.dataplatform.gr\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Databases\",\"item\":\"https:\\\/\\\/www.dataplatform.gr\\\/category\\\/databases\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"PostgreSQL\",\"item\":\"https:\\\/\\\/www.dataplatform.gr\\\/category\\\/databases\\\/postgresql\\\/\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"\u03a0\u03ce\u03c2 \u03bd\u03b1 \u03ba\u03ac\u03bd\u03b5\u03b9\u03c2 Connection Pooling \u03c3\u03c4\u03b7\u03bd PostgreSQL \u03bc\u03b5 \u03c4\u03bf PgBouncer\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.dataplatform.gr\\\/#website\",\"url\":\"https:\\\/\\\/www.dataplatform.gr\\\/\",\"name\":\"dataplatform.gr - Sky is not the limit!\",\"description\":\"\u0398\u03b5\u03c9\u03c1\u03af\u03b1, \u03bf\u03b4\u03b7\u03b3\u03bf\u03af \u03ba\u03b1\u03b9 \u03c3\u03ba\u03ad\u03c8\u03b5\u03b9\u03c2 \u03b3\u03b9\u03b1 \u03bd\u03b1 \u03ba\u03ac\u03bd\u03b5\u03c4\u03b5 \u03c4\u03b7 \u03b4\u03bf\u03c5\u03bb\u03b5\u03b9\u03ac \u03c3\u03b1\u03c2 \u03c0\u03b9\u03bf \u03c0\u03b1\u03c1\u03b1\u03b3\u03c9\u03b3\u03b9\u03ba\u03ac \u03ba\u03b1\u03b9 \u03c0\u03b9\u03bf \u03b5\u03cd\u03ba\u03bf\u03bb\u03b1 \u03c0\u03ac\u03bd\u03c9 \u03c3\u03c4\u03b9\u03c2 \u03b2\u03ac\u03c3\u03b5\u03b9\u03c2 \u03b4\u03b5\u03b4\u03bf\u03bc\u03ad\u03bd\u03c9\u03bd, \u03c3\u03c4\u03b7\u03bd SQL, \u03c3\u03c4\u03bf Business Intelligence \u03ba\u03b1\u03b9 \u03c3\u03c4\u03b1 \u03b4\u03b5\u03b4\u03bf\u03bc\u03ad\u03bd\u03b1 \u03b3\u03b5\u03bd\u03b9\u03ba\u03cc\u03c4\u03b5\u03c1\u03b1.\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.dataplatform.gr\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.dataplatform.gr\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.dataplatform.gr\\\/#organization\",\"name\":\"dataplatform.gr\",\"url\":\"https:\\\/\\\/www.dataplatform.gr\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.dataplatform.gr\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.dataplatform.gr\\\/wp-content\\\/uploads\\\/2020\\\/06\\\/dp_logo_wbacki.png\",\"contentUrl\":\"https:\\\/\\\/www.dataplatform.gr\\\/wp-content\\\/uploads\\\/2020\\\/06\\\/dp_logo_wbacki.png\",\"width\":322,\"height\":139,\"caption\":\"dataplatform.gr\"},\"image\":{\"@id\":\"https:\\\/\\\/www.dataplatform.gr\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/dataplatform.gr\\\/\",\"https:\\\/\\\/www.linkedin.com\\\/company\\\/dataplatform-gr\\\/\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.dataplatform.gr\\\/#\\\/schema\\\/person\\\/e87bf4fd02b65cb6aa0942f87245bbaf\",\"name\":\"Stratos Matzouranis\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/ab973bc4bd1673c43d45de5633a624d9ad13c06902dfdd5a6e3fd9885903865e?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/ab973bc4bd1673c43d45de5633a624d9ad13c06902dfdd5a6e3fd9885903865e?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/ab973bc4bd1673c43d45de5633a624d9ad13c06902dfdd5a6e3fd9885903865e?s=96&d=mm&r=g\",\"caption\":\"Stratos Matzouranis\"},\"sameAs\":[\"https:\\\/\\\/www.dataplatform.gr\"],\"url\":\"https:\\\/\\\/www.dataplatform.gr\\\/en\\\/author\\\/stratos-matzouranis\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\u03a0\u03ce\u03c2 \u03bd\u03b1 \u03ba\u03ac\u03bd\u03b5\u03b9\u03c2 Connection Pooling \u03c3\u03c4\u03b7\u03bd PostgreSQL \u03bc\u03b5 \u03c4\u03bf PgBouncer - DataPlatform.gr","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.dataplatform.gr\/en\/pos-na-kaneis-connection-pooling-stin-postgresql-to-pgbouncer\/","og_locale":"en_US","og_type":"article","og_title":"\u03a0\u03ce\u03c2 \u03bd\u03b1 \u03ba\u03ac\u03bd\u03b5\u03b9\u03c2 Connection Pooling \u03c3\u03c4\u03b7\u03bd PostgreSQL \u03bc\u03b5 \u03c4\u03bf PgBouncer - DataPlatform.gr","og_description":"\u03a3\u03c4\u03b7\u03bd PostgreSQL, \u03ba\u03ac\u03b8\u03b5 \u03bd\u03ad\u03b1 \u03c3\u03cd\u03bd\u03b4\u03b5\u03c3\u03b7 \u03b1\u03c0\u03cc \u03bc\u03b9\u03b1 \u03b5\u03c6\u03b1\u03c1\u03bc\u03bf\u03b3\u03ae \u03ae \u03ad\u03bd\u03b1\u03bd \u03c7\u03c1\u03ae\u03c3\u03c4\u03b7 \u03b4\u03b7\u03bc\u03b9\u03bf\u03c5\u03c1\u03b3\u03b5\u03af \u03ad\u03bd\u03b1 \u03be\u03b5\u03c7\u03c9\u03c1\u03b9\u03c3\u03c4\u03cc process \u03c3\u03c4\u03bf \u03bb\u03b5\u03b9\u03c4\u03bf\u03c5\u03c1\u03b3\u03b9\u03ba\u03cc \u03c3\u03cd\u03c3\u03c4\u03b7\u03bc\u03b1. \u038c\u03c4\u03b1\u03bd \u03bf\u03b9 \u03c3\u03c5\u03bd\u03b4\u03ad\u03c3\u03b5\u03b9\u03c2 \u03b5\u03af\u03bd\u03b1\u03b9 \u03bb\u03af\u03b3\u03b5\u03c2, \u03cc\u03bb\u03b1 \u03bb\u03b5\u03b9\u03c4\u03bf\u03c5\u03c1\u03b3\u03bf\u03cd\u03bd \u03bf\u03bc\u03b1\u03bb\u03ac. \u038c\u03c4\u03b1\u03bd \u03cc\u03bc\u03c9\u03c2 \u03ad\u03c7\u03bf\u03c5\u03bc\u03b5 \u03b5\u03ba\u03b1\u03c4\u03bf\u03bd\u03c4\u03ac\u03b4\u03b5\u03c2 \u03ae \u03c7\u03b9\u03bb\u03b9\u03ac\u03b4\u03b5\u03c2 \u03c4\u03b1\u03c5\u03c4\u03cc\u03c7\u03c1\u03bf\u03bd\u03b1 connections \u03b1\u03c0\u03cc \u03b5\u03c6\u03b1\u03c1\u03bc\u03bf\u03b3\u03ad\u03c2, \u03b7 \u03b2\u03ac\u03c3\u03b7 \u03b4\u03b5\u03b4\u03bf\u03bc\u03ad\u03bd\u03c9\u03bd \u03be\u03bf\u03b4\u03b5\u03cd\u03b5\u03b9 \u03c4\u03b5\u03c1\u03ac\u03c3\u03c4\u03b9\u03bf\u03c5\u03c2 \u03c0\u03cc\u03c1\u03bf\u03c5\u03c2 \u03c3\u03b5 \u03bc\u03bd\u03ae\u03bc\u03b7 RAM \u03ba\u03b1\u03b9 CPU \u03b1\u03c0\u03bb\u03ac \u03b3\u03b9\u03b1 \u03bd\u03b1 \u03b1\u03bd\u03bf\u03b9\u03b3\u03bf\u03ba\u03bb\u03b5\u03af\u03bd\u03b5\u03b9 \u03ba\u03b1\u03b9 \u03bd\u03b1 \u03b4\u03b9\u03b1\u03c7\u03b5\u03b9\u03c1\u03af\u03b6\u03b5\u03c4\u03b1\u03b9 \u03b1\u03c5\u03c4\u03ac [&hellip;]","og_url":"https:\/\/www.dataplatform.gr\/en\/pos-na-kaneis-connection-pooling-stin-postgresql-to-pgbouncer\/","og_site_name":"DataPlatform.gr","article_publisher":"https:\/\/www.facebook.com\/dataplatform.gr\/","article_published_time":"2026-11-23T04:00:00+00:00","article_modified_time":"2026-11-23T18:51:02+00:00","og_image":[{"width":1280,"height":720,"url":"https:\/\/www.dataplatform.gr\/wp-content\/uploads\/2020\/10\/db_postgresql.png","type":"image\/png"}],"author":"Stratos Matzouranis","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Stratos Matzouranis","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.dataplatform.gr\/pos-na-kaneis-connection-pooling-stin-postgresql-to-pgbouncer\/#article","isPartOf":{"@id":"https:\/\/www.dataplatform.gr\/pos-na-kaneis-connection-pooling-stin-postgresql-to-pgbouncer\/"},"author":{"name":"Stratos Matzouranis","@id":"https:\/\/www.dataplatform.gr\/#\/schema\/person\/e87bf4fd02b65cb6aa0942f87245bbaf"},"headline":"\u03a0\u03ce\u03c2 \u03bd\u03b1 \u03ba\u03ac\u03bd\u03b5\u03b9\u03c2 Connection Pooling \u03c3\u03c4\u03b7\u03bd PostgreSQL \u03bc\u03b5 \u03c4\u03bf PgBouncer","datePublished":"2026-11-23T04:00:00+00:00","dateModified":"2026-11-23T18:51:02+00:00","mainEntityOfPage":{"@id":"https:\/\/www.dataplatform.gr\/pos-na-kaneis-connection-pooling-stin-postgresql-to-pgbouncer\/"},"wordCount":113,"commentCount":0,"publisher":{"@id":"https:\/\/www.dataplatform.gr\/#organization"},"image":{"@id":"https:\/\/www.dataplatform.gr\/pos-na-kaneis-connection-pooling-stin-postgresql-to-pgbouncer\/#primaryimage"},"thumbnailUrl":"https:\/\/www.dataplatform.gr\/wp-content\/uploads\/2020\/10\/db_postgresql.png","keywords":["Databases","Performance Tuning","PostgreSQL","RDBMS"],"articleSection":["Databases","PostgreSQL"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.dataplatform.gr\/pos-na-kaneis-connection-pooling-stin-postgresql-to-pgbouncer\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.dataplatform.gr\/pos-na-kaneis-connection-pooling-stin-postgresql-to-pgbouncer\/","url":"https:\/\/www.dataplatform.gr\/pos-na-kaneis-connection-pooling-stin-postgresql-to-pgbouncer\/","name":"\u03a0\u03ce\u03c2 \u03bd\u03b1 \u03ba\u03ac\u03bd\u03b5\u03b9\u03c2 Connection Pooling \u03c3\u03c4\u03b7\u03bd PostgreSQL \u03bc\u03b5 \u03c4\u03bf PgBouncer - DataPlatform.gr","isPartOf":{"@id":"https:\/\/www.dataplatform.gr\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.dataplatform.gr\/pos-na-kaneis-connection-pooling-stin-postgresql-to-pgbouncer\/#primaryimage"},"image":{"@id":"https:\/\/www.dataplatform.gr\/pos-na-kaneis-connection-pooling-stin-postgresql-to-pgbouncer\/#primaryimage"},"thumbnailUrl":"https:\/\/www.dataplatform.gr\/wp-content\/uploads\/2020\/10\/db_postgresql.png","datePublished":"2026-11-23T04:00:00+00:00","dateModified":"2026-11-23T18:51:02+00:00","breadcrumb":{"@id":"https:\/\/www.dataplatform.gr\/pos-na-kaneis-connection-pooling-stin-postgresql-to-pgbouncer\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.dataplatform.gr\/pos-na-kaneis-connection-pooling-stin-postgresql-to-pgbouncer\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.dataplatform.gr\/pos-na-kaneis-connection-pooling-stin-postgresql-to-pgbouncer\/#primaryimage","url":"https:\/\/www.dataplatform.gr\/wp-content\/uploads\/2020\/10\/db_postgresql.png","contentUrl":"https:\/\/www.dataplatform.gr\/wp-content\/uploads\/2020\/10\/db_postgresql.png","width":1280,"height":720},{"@type":"BreadcrumbList","@id":"https:\/\/www.dataplatform.gr\/pos-na-kaneis-connection-pooling-stin-postgresql-to-pgbouncer\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u0391\u03c1\u03c7\u03b9\u03ba\u03ae","item":"https:\/\/www.dataplatform.gr\/"},{"@type":"ListItem","position":2,"name":"Databases","item":"https:\/\/www.dataplatform.gr\/category\/databases\/"},{"@type":"ListItem","position":3,"name":"PostgreSQL","item":"https:\/\/www.dataplatform.gr\/category\/databases\/postgresql\/"},{"@type":"ListItem","position":4,"name":"\u03a0\u03ce\u03c2 \u03bd\u03b1 \u03ba\u03ac\u03bd\u03b5\u03b9\u03c2 Connection Pooling \u03c3\u03c4\u03b7\u03bd PostgreSQL \u03bc\u03b5 \u03c4\u03bf PgBouncer"}]},{"@type":"WebSite","@id":"https:\/\/www.dataplatform.gr\/#website","url":"https:\/\/www.dataplatform.gr\/","name":"dataplatform.gr - Sky is not the limit!","description":"\u0398\u03b5\u03c9\u03c1\u03af\u03b1, \u03bf\u03b4\u03b7\u03b3\u03bf\u03af \u03ba\u03b1\u03b9 \u03c3\u03ba\u03ad\u03c8\u03b5\u03b9\u03c2 \u03b3\u03b9\u03b1 \u03bd\u03b1 \u03ba\u03ac\u03bd\u03b5\u03c4\u03b5 \u03c4\u03b7 \u03b4\u03bf\u03c5\u03bb\u03b5\u03b9\u03ac \u03c3\u03b1\u03c2 \u03c0\u03b9\u03bf \u03c0\u03b1\u03c1\u03b1\u03b3\u03c9\u03b3\u03b9\u03ba\u03ac \u03ba\u03b1\u03b9 \u03c0\u03b9\u03bf \u03b5\u03cd\u03ba\u03bf\u03bb\u03b1 \u03c0\u03ac\u03bd\u03c9 \u03c3\u03c4\u03b9\u03c2 \u03b2\u03ac\u03c3\u03b5\u03b9\u03c2 \u03b4\u03b5\u03b4\u03bf\u03bc\u03ad\u03bd\u03c9\u03bd, \u03c3\u03c4\u03b7\u03bd SQL, \u03c3\u03c4\u03bf Business Intelligence \u03ba\u03b1\u03b9 \u03c3\u03c4\u03b1 \u03b4\u03b5\u03b4\u03bf\u03bc\u03ad\u03bd\u03b1 \u03b3\u03b5\u03bd\u03b9\u03ba\u03cc\u03c4\u03b5\u03c1\u03b1.","publisher":{"@id":"https:\/\/www.dataplatform.gr\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.dataplatform.gr\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.dataplatform.gr\/#organization","name":"dataplatform.gr","url":"https:\/\/www.dataplatform.gr\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.dataplatform.gr\/#\/schema\/logo\/image\/","url":"https:\/\/www.dataplatform.gr\/wp-content\/uploads\/2020\/06\/dp_logo_wbacki.png","contentUrl":"https:\/\/www.dataplatform.gr\/wp-content\/uploads\/2020\/06\/dp_logo_wbacki.png","width":322,"height":139,"caption":"dataplatform.gr"},"image":{"@id":"https:\/\/www.dataplatform.gr\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/dataplatform.gr\/","https:\/\/www.linkedin.com\/company\/dataplatform-gr\/"]},{"@type":"Person","@id":"https:\/\/www.dataplatform.gr\/#\/schema\/person\/e87bf4fd02b65cb6aa0942f87245bbaf","name":"Stratos Matzouranis","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/ab973bc4bd1673c43d45de5633a624d9ad13c06902dfdd5a6e3fd9885903865e?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/ab973bc4bd1673c43d45de5633a624d9ad13c06902dfdd5a6e3fd9885903865e?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/ab973bc4bd1673c43d45de5633a624d9ad13c06902dfdd5a6e3fd9885903865e?s=96&d=mm&r=g","caption":"Stratos Matzouranis"},"sameAs":["https:\/\/www.dataplatform.gr"],"url":"https:\/\/www.dataplatform.gr\/en\/author\/stratos-matzouranis\/"}]}},"_links":{"self":[{"href":"https:\/\/www.dataplatform.gr\/en\/wp-json\/wp\/v2\/posts\/6257","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.dataplatform.gr\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.dataplatform.gr\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.dataplatform.gr\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.dataplatform.gr\/en\/wp-json\/wp\/v2\/comments?post=6257"}],"version-history":[{"count":6,"href":"https:\/\/www.dataplatform.gr\/en\/wp-json\/wp\/v2\/posts\/6257\/revisions"}],"predecessor-version":[{"id":6267,"href":"https:\/\/www.dataplatform.gr\/en\/wp-json\/wp\/v2\/posts\/6257\/revisions\/6267"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.dataplatform.gr\/en\/wp-json\/wp\/v2\/media\/2376"}],"wp:attachment":[{"href":"https:\/\/www.dataplatform.gr\/en\/wp-json\/wp\/v2\/media?parent=6257"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.dataplatform.gr\/en\/wp-json\/wp\/v2\/categories?post=6257"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.dataplatform.gr\/en\/wp-json\/wp\/v2\/tags?post=6257"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}