Skip to content

Commit

Permalink
only1t, show indexes
Browse files Browse the repository at this point in the history
  • Loading branch information
mdcallag committed Dec 6, 2016
1 parent 843ed17 commit 47d5a26
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
9 changes: 5 additions & 4 deletions bench/ibench/iq.sh
Expand Up @@ -7,19 +7,20 @@ checku=$6
dop=$7
mongo=$8
short=$9
nr=${10}
only1t=${10}
nr=${11}

bash np.sh $nr $e "$eo" 3 $client $data $dop 10 20 0 $dname no $checku 100 0 0 yes $mongo $short
bash np.sh $nr $e "$eo" 3 $client $data $dop 10 20 0 $dname $only1t $checku 100 0 0 yes $mongo $short
mkdir l
mv o.* l

# Run for 5000 seconds regardless of concurrency
bash np.sh $(( 5000000 * $dop )) $e "$eo" 3 $client $data $dop 10 20 0 $dname no 1 100 1000 1 no $mongo $short
bash np.sh $(( 5000000 * $dop )) $e "$eo" 3 $client $data $dop 10 20 0 $dname $only1t 1 100 1000 1 no $mongo $short
mkdir q1000
mv o.* q1000

# Run for 5000 seconds regardless of concurrency
bash np.sh $(( 500000 * $dop )) $e "$eo" 3 $client $data $dop 10 20 0 $dname no 1 100 100 1 no $mongo $short
bash np.sh $(( 500000 * $dop )) $e "$eo" 3 $client $data $dop 10 20 0 $dname $only1t 1 100 100 1 no $mongo $short
mkdir q100
mv o.* q100

1 change: 1 addition & 0 deletions bench/ibench/np.sh
Expand Up @@ -123,6 +123,7 @@ $client -uroot -ppw -A -h127.0.0.1 -e 'show global status' > o.gs.$sfx
$client -uroot -ppw -A -h127.0.0.1 -e 'show global variables' > o.gv.$sfx
$client -uroot -ppw -A -h127.0.0.1 -e 'show memory status\G' > o.mem.$sfx
$client -uroot -ppw -A -h127.0.0.1 ib -e 'show table status' > o.ts.$sfx
$client -uroot -ppw -A -h127.0.0.1 ib -e 'show indexes from pi1' > o.is.$sfx
$client -uroot -ppw -A -h127.0.0.1 -e 'reset master'
else
echo "db.serverStatus()" | $client > o.es.$sfx
Expand Down

0 comments on commit 47d5a26

Please sign in to comment.