Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1wVMRY-001uF9-0Q for pgsql-admin@arkaria.postgresql.org; Fri, 05 Jun 2026 04:46:04 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1wVMRX-00A77U-0J for pgsql-admin@arkaria.postgresql.org; Fri, 05 Jun 2026 04:46:03 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1wVMRW-00A77M-23 for pgsql-admin@lists.postgresql.org; Fri, 05 Jun 2026 04:46:02 +0000 Received: from mail-lj1-x22b.google.com ([2a00:1450:4864:20::22b]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.98.2) (envelope-from ) id 1wVMRU-00000001BGu-3P2d for pgsql-admin@lists.postgresql.org; Fri, 05 Jun 2026 04:46:01 +0000 Received: by mail-lj1-x22b.google.com with SMTP id 38308e7fff4ca-396775c2720so13529191fa.2 for ; Thu, 04 Jun 2026 21:46:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1780634759; cv=none; d=google.com; s=arc-20240605; b=iHHNZx53EA45GoaYmLLYNDbHVbXoqSFvwKMk2tPAyTV7DG24e86X8Vjy1Zh8UErFSY TU39czPnHA4I8vHgex67OaPOMVk/ws231WnJwE8/zKG3q9iDjH3v0moE/Y1rLo0NQv6l mR/tgpXNCk0b5X6TpcosDw09ScKtWZOu6OzWxk7ReiPUlUa3frgyVVpEntrLxda74scF WsDh++YYCDQeqkftJE6QQVSEA3lxdDTGpHZXkwnzl0kLYca7QrSGYJVJvm2KhmG5KDga AkNJf9cv7aQQa/kSR1iKoChGDOju+jgEqvKW3zJyMLIhqxABdzBhW+7Y8nIriR30uoWF Ckjg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:dkim-signature; bh=wfJwAvLUPaJu4XkI/P3hdVqdwtnNnea8y7d99mcy9qs=; fh=gSx3Ozzbf+DhJLozGWu9HDY5BV7LnRTbbr6F1SycGYs=; b=EZuuOnTeFmd1BxPkOUuSMPaOq1bUmcgnZUt3DrSMlRAD89T7fn+59/9uIoTP3WnRJE LCiyQkGK2qWlqbZzzIaZsAC7lYA81bYKCUJ9BAgnzfYvg8x+HhqlKqp2RTEBLA3WUQkd u5yteXcPIoJp2KRYqHRTUYNCTjLBlIMeHPChXJ61FrlX7eYQ/8zK9K0yNMc9IhW2qf/+ qipdc9P0zHL5MhBJQx6+ZGGOEli0ITgKv29VvNN54JT0sY64dmA7OlbGR2ILwjZE3Y1X 1d0ZheU0X+hli/zQUVfLbrhH/GFgXGwcBKOpd6LQuj4MBds8dknfDIcbB9zxb8z0iICL j4UA==; darn=lists.postgresql.org ARC-Authentication-Results: i=1; mx.google.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1780634759; x=1781239559; darn=lists.postgresql.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=wfJwAvLUPaJu4XkI/P3hdVqdwtnNnea8y7d99mcy9qs=; b=QuSpG3Jf4jq8lLQhB+y+0kP548YkgFgU3wMIlRBhZ45xxBGvSZbTctHnMx80JPqASi hsu7FTkx8mNq3IG6ZOOu1RFYx06OqrrvenQ5gr0fv9sVyhLW5hDGZPuzW4Pl4TPARg25 jxrmDxU9OWwEISjQJDzve4Q1jQmvS492gAk15UxvLLQDMfr89zYINrPRonhk+ULzX5/1 404Cm8KqI83EqzPuKXiPy6SA/4WR18XD9qbk1kz3uBOx/F4bBK8c+HjqRrVTYlhMotRs aEBHXMMr68bNCmmUC1CZCkrOfTryz9+rVOw3FB1eKHxOutX0aaO237brZJgjcFnvJVD3 SqGA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1780634759; x=1781239559; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=wfJwAvLUPaJu4XkI/P3hdVqdwtnNnea8y7d99mcy9qs=; b=HnrEC8oYdkc9tbAPt1DikBHc9H+GNFmSN0rRkXTh9ZPt2pOcxIaT4xKukTql7R/1yW YAiL1p7/okttbL9+XqlVd6BbPRZ8sQ6sy+iOEx16KLffTEeoNof5CpQG1qbkbnB5xj5I zDxRrznf7+dRQoVTOnUlYi72E0vB0yCEeHMOgMYSNA27u0IsopdV9XXlgMZLL9TdQNgd cpZVDyDa/tlDtbsDG/g7oF/c9FSBc4wu7LQTL23Yu/LEkq1ocXS13XZkE+zmLtsmIq1p r0u8zxFoSba1QBuZQR6g3U2VWpw04w38nFcsxaEjmC4MfxnN0U8UyL2AbJfqjKSD0Fj4 wYAw== X-Gm-Message-State: AOJu0Yz/+++9TfJYYdMN3BJDg55dEhB1S28A5253iZOuzke9mWLVwhNd n9YHAZ7oipSuZs3YmDEr+TN5mgi/3F5dwkXgs3C9GxIREoPo4mWGSo3Za571yEhwD0HsZd9D8jo 1MIuabtfqDyLJy0j+IQZIZlRkLLRuxIHksw== X-Gm-Gg: Acq92OEnLlRCYcoEq48lRTTI+P6uRCug2/Aeo3oJ/wVGYdcU7I7WK+HNiwFhol5C5wc deUdz4cRNERSHr1ZxPYOl1WxZJqd5ChqBuJv6CCGuUdBPNVSghzAt9dg0ww+tv0Wfgu+9vmWHaT IIuP3nG7NqwR0VpFs55JkEz+lKT9hQMUXMPjHGB9vOHqX9Uy9bdZ2F8JtPhejhNtld/5nr4W3Di 0CaJA6vcGA/gXAz+DjDDoJgwqRLTCfhaCLEIgN9+x+Zwb/+0ji4nAPaSsTjw7ugEx/mmbaHFlBf 9ijPPPWzVl2TxDKdiFR8fcq+naV3oDEbeLc= X-Received: by 2002:a05:651c:144c:b0:396:76f9:ac7c with SMTP id 38308e7fff4ca-396d07d3844mr3719291fa.1.1780634758750; Thu, 04 Jun 2026 21:45:58 -0700 (PDT) MIME-Version: 1.0 References: <1F4B10F9-E3E1-4FC9-AD8F-95B20CC48106@elevarq.com> In-Reply-To: From: Raj Date: Fri, 5 Jun 2026 10:15:46 +0530 X-Gm-Features: AVVi8CfWntVD9TEFEZ6ndMQc15y8d11ju102Af-zOF6Zos8oQdj26v9wImLP7Mw Message-ID: Subject: Re: Low TPS To: Frank Heikens Cc: Pgsql-admin Content-Type: multipart/alternative; boundary="0000000000004524ba06537a56e2" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --0000000000004524ba06537a56e2 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable We font have any graphs...we have to monitor manually... I am using the OS watch command to.monitor multiple metrics in multiple screens On Fri, 5 Jun 2026, 10:14 Raj, wrote: > Cache hir ratio is 74. When I checked there were only couple of big > partition tables have less cache hit ratio > > On Fri, 5 Jun 2026, 09:17 Raj, wrote: > >> Postgres 17.9 >> VM >> Pgnouncer >> Mixed workload >> >> Disk utlization means - IO or pgdats is increasing? >> >> >> On Thu, 4 Jun 2026, 09:48 Frank Heikens, wrote: >> >>> Hi, >>> >>> At the moment there isn=E2=80=99t enough information to determine wheth= er >>> PostgreSQL is the bottleneck. >>> >>> A throughput of 60 TPS by itself does not tell us much. The limitation >>> could be in the application, connection pool, network, database, storag= e >>> subsystem, external services, or even the load test setup itself. >>> >>> Could you provide some additional information? >>> >>> * PostgreSQL version >>> * Deployment type (bare metal, VM, AWS RDS, Azure, etc.) >>> * Number of application instances >>> * Connection pool being used (PgBouncer, HikariCP, etc.) >>> * Average response time during the test >>> * Number of active database connections >>> * CPU, memory, and disk utilization during the test >>> * Top queries from pg_stat_statements >>> * Wait events observed during the test >>> * Whether the workload is read-heavy, write-heavy, or mixed >>> >>> From the database side, I would monitor at least: >>> >>> * CPU utilization >>> * Memory utilization >>> * I/O throughput and latency >>> * Active sessions (pg_stat_activity) >>> * Wait events >>> * Transactions per second >>> * Cache hit ratio >>> * Checkpoint activity >>> * WAL generation rate >>> * Query execution times (pg_stat_statements) >>> * Lock contention >>> * Replication lag (if applicable) >>> >>> Without these metrics, it is impossible to determine whether PostgreSQL >>> is actually limiting throughput or whether the bottleneck is elsewhere. >>> >>> Could you share the above information and some monitoring graphs from >>> the load test? >>> >>> Frank >>> >>> >>> >>> > On Jun 3, 2026, at 9:11=E2=80=AFPM, Raj = wrote: >>> > >>> > =EF=BB=BF >>> > Hi all, >>> > >>> > If the application teams they are able achive only 60TPS and this is >>> not expected. They are calculating based on total su=C3=A7cess requests= /minutes >>> we ran load test*60. >>> > >>> > From Database side what we can do and during.load test what are >>> all.the metric we need to monitor from our side. Vcpu 32, 128GB RAM >>> >> --0000000000004524ba06537a56e2 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
We font have any graphs...we have to monitor manually... = I am using the OS watch command to.monitor multiple metrics in multiple scr= eens

On Fri, 5 Jun 2026, 10:14 Raj, <rajeshkumar.dba09@gmail.com> wrote:=
Cache hir ratio = is 74. When I checked there were only couple of big partition tables have l= ess cache hit ratio=C2=A0

On Fri, 5 Jun 2026, 09:17 Raj, <rajesh= kumar.dba09@gmail.com> wrote:
Postgres 17.9
VM
Pgnouncer
Mixed workload
Disk utlization means - IO or pgdats is increasin= g?


On Thu, 4 Jun 2026, 09:48 Frank Heikens, <f= rank@elevarq.com> wrote:
Hi,=

At the moment there isn=E2=80=99t enough information to determine whether P= ostgreSQL is the bottleneck.

A throughput of 60 TPS by itself does not tell us much. The limitation coul= d be in the application, connection pool, network, database, storage subsys= tem, external services, or even the load test setup itself.

Could you provide some additional information?

* PostgreSQL version
* Deployment type (bare metal, VM, AWS RDS, Azure, etc.)
* Number of application instances
* Connection pool being used (PgBouncer, HikariCP, etc.)
* Average response time during the test
* Number of active database connections
* CPU, memory, and disk utilization during the test
* Top queries from pg_stat_statements
* Wait events observed during the test
* Whether the workload is read-heavy, write-heavy, or mixed