Allow multiple -f options.
Make pgbench "script driven" to eliminate hard coded transaction scenario. (Tatsuo Ishii)
This commit is contained in:
parent
ffa156bb5b
commit
f50ae06e14
@ -1,4 +1,4 @@
|
||||
pgbench README 2005/09/29 Tatsuo Ishii
|
||||
pgbench README 2005/10/04 Tatsuo Ishii
|
||||
|
||||
o What is pgbench?
|
||||
|
||||
@ -166,6 +166,9 @@ o -f option
|
||||
command consists of multiple lines are not supported. Empty lines
|
||||
and lines begging with "--" will be ignored.
|
||||
|
||||
Multiple -f options are allowed. In this case each transaction is
|
||||
assigned randomly chosen script.
|
||||
|
||||
SQL commands can include "meta command" which begins with "\" (back
|
||||
slash). A meta command takes some arguments separted by white
|
||||
spaces. Currently following meta command is supported:
|
||||
|
@ -180,10 +180,12 @@ pgbench $B$G$O!$0J2<$N%7!<%1%s%9$rA4It40N;$7$F(B1$B%H%i%s%6%/%7%g%s$H?t$($F(
|
||||
|
||||
$B"#F~NO%U%!%$%k$N%U%)!<%^%C%H(B
|
||||
|
||||
pgbench $B$G$O!$(B-f $B%*%W%7%g%s$r;XDj$7$F%H%i%s%6%/%7%g%s$K4^$^$l$k(B SQL $B%3(B
|
||||
$B%^%s%I$NFbMF$r5-=R$7$?%U%!%$%k$rFI$_9~$`$3$H$,$G$-$^$9!%F~NO%U%!%$%k$K(B
|
||||
$B$O(B 1 $B9T$K$D$-(B 1 $B$D$N%3%^%s%I$r5-=R$7$^$9!%6u9T$OL5;k$5$l!$Fs=E%O%$%U%s(B
|
||||
$B$G;O$^$k9T$O%3%a%s%H$r0UL#$7$^$9!%(B
|
||||
-f $B%*%W%7%g%s$r;XDj$7$F%H%i%s%6%/%7%g%s$K4^$^$l$k(B SQL $B%3%^%s%I$NFbMF$r(B
|
||||
$B5-=R$7$?%U%!%$%k$rFI$_9~$`$3$H$,$G$-$^$9!%F~NO%U%!%$%k$K$O(B 1 $B9T$K$D$-(B
|
||||
1 $B$D$N%3%^%s%I$r5-=R$7$^$9!%6u9T$OL5;k$5$l!$Fs=E%O%$%U%s$G;O$^$k9T$O%3(B
|
||||
$B%a%s%H$r0UL#$7$^$9!%(B
|
||||
|
||||
-f $B%*%W%7%g%s$OJ#?t;XDj$G$-$^$9!%$3$N>l9g$O(B
|
||||
|
||||
$B%3%^%s%I$K$O!$(BSQL $B%3%^%s%I$K2C$(!$%P%C%/%9%i%C%7%e$G;O$^$k%a%?%3%^%s%I(B
|
||||
$B$r5-=R$G$-$^$9!%%a%?%3%^%s%I$O(B pgbench $B<+?H$K$h$C$F<B9T$5$l$^$9!%%a%?(B
|
||||
|
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user