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

Re: enhanced pgbench

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Tatsuo Ishii <ishii(at)sraoss(dot)co(dot)jp>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: enhanced pgbench
Date: 2005-09-28 15:41:29
Message-ID: 6835.1127922089@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-hackers
Tatsuo Ishii <ishii(at)sraoss(dot)co(dot)jp> writes:
> 2) it requires a location where those scripts reside. $prefix/etc
>    seems appropriate?

I was thinking of just embedding the default scripts as constants in
the program text.  A little bit ugly but saves a lot of headache with
needing to find installed files.

>> Also it seems like it'd be useful if there could be more than one
>> script, so as to test situations where the clients aren't all doing
>> exactly the same thing.

> How do you assign different scripts to different clients?

I'd be happy with either round-robin or random selection of a new script
each time a thread finishes a script.

			regards, tom lane

In response to

Responses

pgsql-hackers by date

Next:From: Tom LaneDate: 2005-09-28 15:53:13
Subject: Re: [PATCHES] Proposed patch for sequence-renaming problems
Previous:From: Tom LaneDate: 2005-09-28 15:35:31
Subject: Re: \d on database with a lot of tables is slow

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