Re: pgbench stats per script & other stuff
От | Josh Berkus |
---|---|
Тема | Re: pgbench stats per script & other stuff |
Дата | |
Msg-id | 55AEDDA4.8020009@agliodbs.com обсуждение исходный текст |
Ответ на | pgbench stats per script & other stuff (Fabien <coelho@cri.ensmp.fr>) |
Ответы |
Re: pgbench stats per script & other stuff
|
Список | pgsql-hackers |
On 07/21/2015 09:29 AM, Fabien COELHO wrote: > Maybe -f file.sql:weight (yuk from my point of view, but it can be done > easily). Maybe it's past time for pgbench to have a config file? Given that we want to define some per-workload options, the config file would probably need to be YAML or JSON, e.g.: pgbench --config=workload1.pgb workload1.pgb ------------- database: bench port: 5432 host: localhost user: josh clients : 16 threads : 4 response-times : on stats-level: script script1:file: script1.benchweight: 3 script2:file: script2.benchweight: 1 the above would execute a pgbench with 16 clients, 4 threads, "script1" three times as often as script2, and report stats at the script (rather than SQL statement) level. -- Josh Berkus PostgreSQL Experts Inc. http://pgexperts.com
В списке pgsql-hackers по дате отправления: