Skip site navigation (1) Skip section navigation (2)

Re: Some minor changes to pgbench

From: "Joshua D(dot) Drake" <jd(at)commandprompt(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-hackers(at)postgresql(dot)org, PostgreSQL-patches <pgsql-patches(at)postgresql(dot)org>
Subject: Re: Some minor changes to pgbench
Date: 2006-08-24 03:18:56
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-hackerspgsql-patches
Tom Lane wrote:
> "Joshua D. Drake" <jd(at)commandprompt(dot)com> writes:
>> 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?
> I wouldn't object to providing that as a (non default) option.

O.k. I will take a look at what that would take..

> The int8 change should be unnecessary in view of Tatsuo's recent fix
> to make the random deltas symmetrical about zero.

O.k. that may be the case, my testing was with the 8.1 version pgbench. 
I will verify with -HEAD before I change the int8.

>  I would counsel
> against making the other changes either, as they seem to accomplish
> little except make the comparability of results more doubtful.

I am not interested in really changing the overall internals. I just 
wanted the foreign key option.


Joshua D. Drake

> 			regards, tom lane
> ---------------------------(end of broadcast)---------------------------
> TIP 9: In versions below 8.0, the planner will ignore your desire to
>        choose an index scan if your joining column's datatypes do not
>        match


    === 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

In response to


pgsql-hackers by date

Next:From: Tom LaneDate: 2006-08-24 03:19:30
Subject: Re: seahorse again failing
Previous:From: Tom LaneDate: 2006-08-24 02:46:18
Subject: Re: Tricky bugs in concurrent index build

pgsql-patches by date

Next:From: Alvaro HerreraDate: 2006-08-24 03:50:47
Subject: Re: pgsql-patches reply-to (was Re: [PATCHES] selecting large result sets in psql using cursors)
Previous:From: Tom LaneDate: 2006-08-24 02:40:35
Subject: Re: Some minor changes to pgbench

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group