Re: [PATCH] pgbench: new feature allowing to launch shell commands

Поиск
Список
Период
Сортировка
От Itagaki Takahiro
Тема Re: [PATCH] pgbench: new feature allowing to launch shell commands
Дата
Msg-id 20090807124716.97A0.52131E4D@oss.ntt.co.jp
обсуждение исходный текст
Ответ на Re: [PATCH] pgbench: new feature allowing to launch shell commands  (Michael Paquier <michael.paquier@gmail.com>)
Ответы Re: [PATCH] pgbench: new feature allowing to launch shell commands  (Michael Paquier <michael.paquier@gmail.com>)
Список pgsql-hackers
Michael Paquier <michael.paquier@gmail.com> wrote:

> > Here is a short patch implementing a new feature in pgbench so as to allow
> > shell commands to be launched in a transaction file of pgbench.
> > \shell ls ~/pg_twophase;

+1 for \shell command itself, but does the performance fit for your purpose?
Spawning a new process is not so cheap, no?

-1 for -P option because it is too narrow purpose and 'ls' and '/tmp/'
is not portable. We don't need to include your workload because you can
use -f FILENAME to run your benchmark script.

Regards,
---
ITAGAKI Takahiro
NTT Open Source Software Center




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

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: [PATCH] pgbench: new feature allowing to launch shell commands
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: [PATCH] pgbench: new feature allowing to launch shell commands