Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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. If connecting from the host laptop, then use the laptop IP with the port 10022 as this was setup as port forwarding to connect to dbv01 on port 22.

No Format
ssh -p10022 oracle@192.168.1.197

2. Start charbench which is the character based version of swingbench

No Format
/u01/oracle/swingbench/bin/charbench -cs //source-int/pdb1 -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
Author  :	 Dominic Giles
Version :	 2.5.0.932
Results will be written to results.xml.
Time		Users	TPM	TPS
8:39:02 PM	0	0	0
8:39:03 PM	0	0	0
8:39:04 PM	0	0	0
8:39:05 PM	2	0	0
8:39:06 PM	10	10	10
8:39:07 PM	10	23	13

3. Optional. Swingbench is highly configurable. The load on the system can be easily increased. In this example, the number of users is set to 40 and the min and max delay is shortened. As a result the TPS peaks at over 400 transactions per second. This simulation will take approximately 15 minutes.

...

When we successfully installed DBVisit Replicate product on our RepAttack environment, we should test, how the replication works itself. 

This chapter brings some basic examples, that should demonstrate the user how the logical replication works, how are the replicated DMLs transformed, how to use and monitor replicate and how to setup some basic features of replicate such as filtering rows and excluding columns.

Pre-requisites

Please ensure the following pre-requisites have been completed

  1. Download and install Replicate
  2. One-Way Logical Replication Setup

Follow the step by step guide in the Child Pages below. 

Child pages (Children Display)