From ea21eea6a83664d03f0c08489d9d33bcb141f0df Mon Sep 17 00:00:00 2001 From: Tatsuo Ishii Date: 2006$BG/(B9$B7n(B13$BF|(B 00:39:19 +0000 Subject: [PATCH] Change "tps" to "scale" to avoid confusion Fix bug with handling default scaling factor in the default scenarios --- contrib/pgbench/README.pgbench | 14 +++++-- contrib/pgbench/README.pgbench_jis | 14 ++++--- contrib/pgbench/pgbench.c | 64 +++++++++++++++++------------- 3 files changed, 56 insertions(+), 36 deletions(-) diff --git a/contrib/pgbench/README.pgbench b/contrib/pgbench/README.pgbench index 9ad30b317db..c96f0851a48 100644 --- a/contrib/pgbench/README.pgbench +++ b/contrib/pgbench/README.pgbench @@ -184,7 +184,7 @@ o -f option example: - \set ntellers 10 * :tps + \set ntellers 10 * :scale \setrandom name min max @@ -206,9 +206,9 @@ o -f option Example, TPC-B like benchmark can be defined as follows(scaling factor = 1): -\set nbranches :tps -\set ntellers 10 * :tps -\set naccounts 100000 * :tps +\set nbranches :scale +\set ntellers 10 * :scale +\set naccounts 100000 * :scale \setrandom aid 1 :naccounts \setrandom bid 1 :nbranches \setrandom tid 1 :ntellers @@ -235,6 +235,12 @@ Basically it is same as BSD license. See pgbench.c for more details. o History +2006$BG/(B09$B7n(B14$BF|(B + * change "tps" to "scale" to avoid confusion + + * fix bug with handling default scaling factor in the default + scenarios + 2006$BG/(B07$B7n(B26$BF|(B * New features contributed by Tomoaki Sato. diff --git a/contrib/pgbench/README.pgbench_jis b/contrib/pgbench/README.pgbench_jis index 37bd4d9280a..0faa30de68b 100644 --- a/contrib/pgbench/README.pgbench_jis +++ b/contrib/pgbench/README.pgbench_jis @@ -73,7 +73,7 @@ pgbench $B$K$O$$$m$$$m$J%*%W%7%g%s$,$"$j$^$9(B. $BBg$-$5$,(B 10$BK|(B x [$B%9%1!<%j%s%0%u%!%/%?!<(b]$b$k$j$j$^$9(b. $B%G%U%)%k%H$N%9%1!<%j%s%0%u%!%/%?!<$o(b 1 $B$G$9(B. -f $B%*%W%7%g%s$G;XDj$7$?%U%!%$%k$+$i%9%1!<%j%s%0%u%!%/(b - $B%?!<$r;2>H$9$k$K$O(B tps $B$H$$$&JQ?tL>$r;HMQ$7$^$9(B. + $B%?!<$r;2>H$9$k$K$O(B scale $B$H$$$&JQ?tL>$r;HMQ$7$^$9(B. -D varname=value @@ -223,7 +223,7 @@ pgbench $B$G$O(B,$B0J2<$n%7!<%1%s%9$ra4it40n;$7$f(b1$b%h%i%s%6%/%7%g%s$h?t$($f(b

AltStyle $B$K$h$C$FJQ49$5$l$?%Z!<%8(b (->$B%*%j%8%J%k(B) /