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 1wVLXZ-001tgC-0e for pgsql-admin@arkaria.postgresql.org; Fri, 05 Jun 2026 03:48:13 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1wVLXY-009ugY-08 for pgsql-admin@arkaria.postgresql.org; Fri, 05 Jun 2026 03:48:12 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1wVLXX-009ugQ-2B for pgsql-admin@lists.postgresql.org; Fri, 05 Jun 2026 03:48:11 +0000 Received: from mail-lf1-x136.google.com ([2a00:1450:4864:20::136]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.98.2) (envelope-from ) id 1wVLXV-00000001LzJ-332F for pgsql-admin@lists.postgresql.org; Fri, 05 Jun 2026 03:48:11 +0000 Received: by mail-lf1-x136.google.com with SMTP id 2adb3069b0e04-5aa68cfc182so1313078e87.0 for ; Thu, 04 Jun 2026 20:48:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1780631288; cv=none; d=google.com; s=arc-20240605; b=j2Jh5VALTFMPnLv4VePNGLkGxVVvdVyrNbGU7ioD0os5bgj5Gs+193oMTtCXhfhztH ozMrVBoGbNIF9dRwTrroSXYewgwnu8dEuEE8vaHHME/GcFT0hBUuliPJ4lN4HL1dB4lr PFcGwUba+Fyl+0kIsoBHieXVonabWbT4egRr/DMthDbojhufs2tT3nBPmV9eSaR3AMn9 6BQYyLpxCL2qwWAD3BhADwH03bz55aZMwf3n06vuVPLyd9OIGW7aoPQNYPetlpc0YKOD yEjI1hRZe7hQ2/1OkrkRtMJRyE22Lsyp0epg1yd+at9O58gfQDZClFTs1N3e+4+zbSes a5NA== 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=xgLTyNE3Prt6S8rcn6AUkSuORdOa/q8aIWc+cWjhUDY=; fh=gSx3Ozzbf+DhJLozGWu9HDY5BV7LnRTbbr6F1SycGYs=; b=CICOnF+ocz2xkJ9xuGVAzNgV5a4DOepWLDdlvGduL/Efp0nRgaHvcYAvr7PUPBcQRy +69Y2UU+DQrWUUU3/i2X97f8GT+yVnf/jJAHVTrg/Yp0vcvDxYZENOMc5ZiwkJo1g4YS q5tsVGn95vswlTazkg9yRQ6ydTMkajBRiANWdhzsBQH8uzbUKakw+DCv+bXDAy16DaO7 /J+OPcQW1XzAmvZlYVDgiimc2QObGz+Ps3t5OQ2ouvpkdaJUrElXS99Pv9U00nIke7qa aPYlYWph3/ixXY8vgvGDtnED4eoW7Dc40zazBr8uvQJQ1RCAjkC7g3YEr9YEHxtfUHCh nzBA==; 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=1780631288; x=1781236088; 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=xgLTyNE3Prt6S8rcn6AUkSuORdOa/q8aIWc+cWjhUDY=; b=WAq0iqMbTS+F+MYSnvhg9Zw9eGIFtqLyv1rh+ufY6oBIyS5CgEL/Q7cJ5jtCQpt6Fs 3UvEDFxhH892N7GvC7Cd3yC/Z9M8ff7o3ZUV1/jyc0QUlve7ehLsseZ1vnouOrxXLTR4 O7ZDZlyRzhOJqPktPd9CNKpsOtdhdG6d4ZpIdEXR5oDsT1PpFVggPI6C8pmKEjKDxmz0 69X1LVI7tQRxcNFb+zHHhgQxsRx1Z/ayyhVrpq5FtvNyAAGKJ7TLuiU33H1zofwU7tjq S2eyMZNV0ZO1rYcV17xy41l71/6XGG3wA585V5e9EFvsXM1zmHRqjYxawRxRd0G0PzGq Uu7w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1780631288; x=1781236088; 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=xgLTyNE3Prt6S8rcn6AUkSuORdOa/q8aIWc+cWjhUDY=; b=Vf44SlHvRas80VANcRUhI3E/iLAF8lvL3gznJ1dprs4oZgaJjiYtkKiJYDF9SGESUn X9leNGYGDDzE99LD8LPcHq9+kaY/WLESdalh42k+2+kI9QvmXHsiTsCENmEs+/xoMonw qhJPSikv+wcwwyt854HsaDwZIjWJqT+xpndEm2ML71PTq/0ZphOoUBzMysC04AqZ/0rs RaJsIyUdkVJXMlczp5rgGT6z3zEWCc9JxLZ2CJ+xgY4s+0p88qMkYfS4bXu/V891Q62D +6neIuVyctga7Ghl7kH4umixhvKSfvMCvxbAyO6/IAx0RcpfsxWj5JwMQYVbaxbYfWzm HhXA== X-Gm-Message-State: AOJu0YwrTYDB9ywzyp7r4ZyEWqQA8pyWpdybFF9mfviDcraITDm9NepC 47f7rKZQ2bi95gJzmZAJdeqx3vFsk+C3IS1ueALoOYIWI7p83BeQMIMXAP3+jHP0ZHn5brRjQRA PIAL7pW7FQta7/vB4DcHim1rlyd2rT6Q= X-Gm-Gg: Acq92OG1gd5tHxohnSmwYvgN18s+Nnfa4vXsD++O+ytmBKdz1E23d5e1J5kcqG+ksAS AX+B9hAQhnKa/xn8AAatSJUG2XgdGYM0syEtwB+zSqpwmIYEL23Voe+tXjT2hji9SXVVrG9XFlt 7dDOzkidKbYkUnYNTIjQDmz/YveRXZK0rjojy9AlmAqDs/dK0tq7/XLdf6bMhZH/Ybse9+szBM7 UlPCrm3+ph8qPZcwaLRQpy3P8lp+/45PIL9JdXVlIUz+B9/cwi1/GahBXDDzsr9Gc6MbRbvELzE o/xQBBq1a3NbgbEbDPwk7qK19Csjq6+2e2g= X-Received: by 2002:a05:6512:128d:b0:5aa:6358:1b98 with SMTP id 2adb3069b0e04-5aa87baf527mr345575e87.43.1780631287444; Thu, 04 Jun 2026 20:48:07 -0700 (PDT) MIME-Version: 1.0 References: <1F4B10F9-E3E1-4FC9-AD8F-95B20CC48106@elevarq.com> In-Reply-To: <1F4B10F9-E3E1-4FC9-AD8F-95B20CC48106@elevarq.com> From: Raj Date: Fri, 5 Jun 2026 09:17:53 +0530 X-Gm-Features: AVVi8CcF2OvAo2CdYSIXahj5UWUxMR0_ZMkRLLdyvKwRTW4vKNvEEHSrjEigkk4 Message-ID: Subject: Re: Low TPS To: Frank Heikens Cc: Pgsql-admin Content-Type: multipart/alternative; boundary="0000000000005d39140653798702" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --0000000000005d39140653798702 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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 whether > 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, storage > 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 i= s > 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 w= rote: > > > > =EF=BB=BF > > Hi all, > > > > If the application teams they are able achive only 60TPS and this is no= t > expected. They are calculating based on total su=C3=A7cess requests/minut= es 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 > --0000000000005d39140653798702 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Postgres 17.9
VM
= Pgnouncer
Mixed workload

=
Disk utlization means - IO or pgdats is increasing?=


On Thu, 4 Jun 2026, 09:48 Frank Heik= ens, <frank@elevarq.com> wro= te:
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