Re: PostgreSQL Load Testing - Mailing list pgsql-admin

From zaidagilist
Subject Re: PostgreSQL Load Testing
Date
Msg-id CAFS1Kf7P-eB8a0zZFmp-wjhfSpoqr1o-L6JaToV0UbFDd1diWA@mail.gmail.com
Whole thread Raw
List pgsql-admin
Hello Edwin,

A couple of open-source PostgreSQL load testing tools are available. As mentioned in the previous thread, pgbench is the native and reliable option. However, there are a few other dependable tools as well. The following table may help you choose the right tool based on your requirements.

 
ToolCLI/GUIPrimary Load TypeDB IntegrationCPU/I/O/Memory StressOutput InterfaceReference Link
pgbenchCLI onlyPostgreSQL transactions (OLTP)Uses libpq (built-in)SQL transactions (stresses CPU + disk I/O)Plain-text 
HammerDBGUI + CLITPC-C/TPC-H style OLTP/OLAPPgtcl (PostgreSQL)Realistic OLTP/OLAP workload (high CPU and I/O)GUI charts + CLI console, real-time metrics
JMeterGUI + CLIGeneral load (incl. JDBC/SQL)JDBC driver for PGThroughput of user-defined SQL queries (CPU/I/O via queries)GUI listeners, HTML reports; console log
SysbenchCLI onlyCPU, memory, file I/OVia libpqDedicated CPU, RAM or disk benchmarks; OLTP SQLPlain-text 


Regards,
Zaid


On Mon, May 19, 2025 at 5:21 AM Edwin UY <edwin.uy@gmail.com> wrote:
Hi,

Anyone know any 'free' scripts to use for load testing, I/O, memory and CPU?
For PostgreSQL on-prem and AWS RDS+Serverless maybe?


pgsql-admin by date:

Previous
From: Laurenz Albe
Date:
Subject: Re: PATH for your scripts/SQL for psql
Next
From: Антон Глушаков
Date:
Subject: Re: query hangs out