Re: building a performance test suite

From: Dimitri Fontaine <dfontaine(at)hi-media(dot)com>
To: pgsql-performance(at)postgresql(dot)org
Cc: Kevin Kempter <kevin(at)kevinkempterllc(dot)com>
Subject: Re: building a performance test suite
Date: 2007-10-11 08:52:05
Message-ID: 200710111052.07722.dfontaine@hi-media.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

Hi,

Le jeudi 11 octobre 2007, Kevin Kempter a écrit :
> I'm preparing to create a test suite of very complex queries that can be
> profiled in terms of load and performance. The ultimate goal is to define a
> load/performance profile during a run of the old application code base and
> then again with changes to the application code base.

You may want to consider using pgfouine and Tsung, the former to create tsung
sessions from PostgreSQL logs and the latter to replay them simulating any
number of concurrent users.

Tsung can also operate as PostgreSQL proxy recorder, you point your
application to it, it forwards the queries and record a session file for you.

The replay process can mix several sessions and use several phases of
different load behaviours.

Then a little helper named tsung-plotter could be useful to draw several Tsung
results on the same charts for comparing.

Some links:
http://pgfouine.projects.postgresql.org/tsung.html
http://tsung.erlang-projects.org/
http://debian.dalibo.org/sid/tsung-ploter_0.1-1_all.deb
http://debian.dalibo.org/sid/tsung-ploter_0.1-1.tar.gz

Hope this helps, regards,
--
dim

In response to

Browse pgsql-performance by date

  From Date Subject
Next Message Richard Huxton 2007-10-11 09:12:46 Re: Performance problems with prepared statements
Previous Message Cédric Villemain 2007-10-11 08:51:58 Re: Performance problems with prepared statements