Re: pgbench stats per script & other stuff
От
Fabien COELHO
Тема
Re: pgbench stats per script & other stuff
Дата
Msg-id
alpine.DEB.2.10.1507220655270.5636@sto
Ответ на
Re: pgbench stats per script & other stuff (Robert Haas)
Список
Дерево обсуждения
pgbench stats per script & other stuff Fabien <coelho@cri.ensmp.fr>
Re: pgbench stats per script & other stuff Fabien COELHO <coelho@cri.ensmp.fr>
Re: pgbench stats per script & other stuff Robert Haas <robertmhaas@gmail.com>
Re: pgbench stats per script & other stuff Fabien COELHO <coelho@cri.ensmp.fr>
Re: pgbench stats per script & other stuff Robert Haas <robertmhaas@gmail.com>
Re: pgbench stats per script & other stuff Fabien COELHO <coelho@cri.ensmp.fr>
Re: pgbench stats per script & other stuff Fabien COELHO <coelho@cri.ensmp.fr>
Re: pgbench stats per script & other stuff Alvaro Herrera <alvherre@2ndquadrant.com>
Re: pgbench stats per script & other stuff Robert Haas <robertmhaas@gmail.com>
Re: pgbench stats per script & other stuff Fabien COELHO <coelho@cri.ensmp.fr>
Re: pgbench stats per script & other stuff Jeff Janes <jeff.janes@gmail.com>
Re: pgbench stats per script & other stuff Fabien COELHO <coelho@cri.ensmp.fr>
Re: pgbench stats per script & other stuff Fabien COELHO <coelho@cri.ensmp.fr>
Re: pgbench stats per script & other stuff Alvaro Herrera <alvherre@2ndquadrant.com>
Re: pgbench stats per script & other stuff Alvaro Herrera <alvherre@2ndquadrant.com>
Re: pgbench stats per script & other stuff Fabien COELHO <coelho@cri.ensmp.fr>
Re: pgbench stats per script & other stuff Alvaro Herrera <alvherre@2ndquadrant.com>
Re: pgbench stats per script & other stuff Fabien COELHO <coelho@cri.ensmp.fr>
Hello Robert, >> Pgbench *currently* already accept multiple "-f ..." options, and this is a >> good thing to test realistic loads which may intermix several kind of >> transactions, say a lot of readonly and some update or insert, and very rare >> deletes... > > Hmm, I didn't realize that. The code looks a bit inconsistent right > now - e.g. we do support multiple files, but pgbench's options-parsing > loop sets ttype to a value that depends only on the last of -f, -N, > and -S encountered. Indeed. However as with current pgbench /-N/-S and -f are mutually exclusive it is ok to have ttype set as it is. With the patch pgbench just executes scripts and the options are not mutually exclusive: some scripts are internal and others are not, but they are treated the same beyond initialization, which helps removing some code including the "ttype" variable you mention. The name of the script is kept in an SQLScript struct along with its commands, weight and stats. -- Fabien.
В списке pgsql-hackers по дате отправления
От: Michael Paquier
Дата: