Re: Some minor changes to pgbench - Mailing list pgsql-patches

From Joshua D. Drake
Subject Re: Some minor changes to pgbench
Date
Msg-id 44EC646B.4040103@commandprompt.com
Whole thread Raw
In response to Re: Some minor changes to pgbench  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Some minor changes to pgbench
List pgsql-patches
Tom Lane wrote:
> "Joshua D. Drake" <jd@commandprompt.com> writes:
>> Tom Lane wrote:
>>> Addition of foreign key checking will certainly impact performance
>>> significantly.
>
>> That is kind of the point. Without foreign keys it is a flawed test
>> because you wouldn't be running in production without them and thus you
>> can't bench without them.
>
> pgbench is not about reality, though.  If we can't rely on it to give
> consistent results across versions then I don't think it's useful at all.
> There are many other benchmarks you can run that do speak to reality
> (eg OSDL's work).

Would it be worthwhile to add a switch so that the foreign key test is
only used "if" they use the switch in conjunction with a -i?

Joshua D. Drake


>
>             regards, tom lane
>


--

    === The PostgreSQL Company: Command Prompt, Inc. ===
Sales/Support: +1.503.667.4564 || 24x7/Emergency: +1.800.492.2240
    Providing the most comprehensive  PostgreSQL solutions since 1997
              http://www.commandprompt.com/



pgsql-patches by date:

Previous
From: Tom Lane
Date:
Subject: Re: Some minor changes to pgbench
Next
From: Alvaro Herrera
Date:
Subject: Re: [HACKERS] COPY view