Swingbench can now be started to simulate an order-entry system and test the replication.
1. Start a new ssh session to the source server (dbv01) and logon as oracle
No Format |
---|
ssh oracle@source-int |
2. Start charbench which is the character based version of swingbench
No Format |
---|
cd ~oracle/swingbench/bin
|
No Format |
---|
./charbench -cs //source-int/orcl -u oe -p oe -uc 10 -min 10 -max 200 -rt 0:10 -a -v |
The output will be similar to the following and will run for 10 minutes. A total number of 10 users will be simulated.
...
No Format |
---|
[oracle@source bin]$ ./charbench -cs //source-int/orcl -u oe -p oe -uc 40 -min 5 -max 15 -rt 0:10 -a -v users,tpm,tps Author : Dominic Giles Version : 2.5.0.909 Results will be written to results.xml. Time Users TPM TPS 20:53:05 [0/40] 0 0 20:53:06 [0/40] 0 0 20:53:07 [0/40] 0 0 20:53:08 [0/40] 0 0 20:53:10 [31/40] 0 0 20:53:13 [40/40] 440 440 20:53:14 [40/40] 478 38 20:53:18 [40/40] 913 435 20:53:19 [40/40] 967 54 20:53:22 [40/40] 1410 443 20:53:23 [40/40] 1446 36 20:53:25 [40/40] 1745 299 20:53:26 [40/40] 1885 140 |
...