Re: enhanced pgbench

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: enhanced pgbench
Дата
Msg-id 6835.1127922089@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: enhanced pgbench  (Tatsuo Ishii <ishii@sraoss.co.jp>)
Ответы Re: enhanced pgbench  (Tatsuo Ishii <ishii@sraoss.co.jp>)
Список pgsql-hackers
Tatsuo Ishii <ishii@sraoss.co.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


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: \d on database with a lot of tables is slow
Следующее
От: Tom Lane
Дата:
Сообщение: Re: [PATCHES] Proposed patch for sequence-renaming problems