Re: Prepare enabled pgbench - Mailing list pgsql-hackers

From Curtis Faith
Subject Re: Prepare enabled pgbench
Date
Msg-id DMEEJMCDOJAKPPFACMPMEECJCFAA.curtis@galtair.com
Whole thread Raw
In response to Re: Prepare enabled pgbench  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Prepare enabled pgbench  (Justin Clift <justin@postgresql.org>)
List pgsql-hackers
> Tatsuo Ishii <t-ishii@sra.co.jp> writes:
> > Thanks. I can commit it for 7.4. BTW, it would be nice if we could
> > have a switch to turn on/off PREPARE/EXECUTE in pgbench so that we
> > could see how PRPARE/EXECUTE could improve the performance...

tom lane replies:
> That is a *must*.  Otherwise, you've simply made an arbitrary change
> in the benchmark ... which is no benchmark at all.
> 
>             regards, tom lane

I will add it as a switched option.

It should be possible to keep most of the code common for the two cases.

- Curtis


pgsql-hackers by date:

Previous
From: Philip Warner
Date:
Subject: Re: pg_dump in 7.4
Next
From: Rod Taylor
Date:
Subject: Re: pg_dump in 7.4