The following prerequisites must be performed before running the TPC-C like benchmark on the YugabyteDB cluster:
# wget https://github.com/yugabyte/tpcc/releases/download/2.1/tpcc.tar.gz
# tar -zxvf tpcc.tar.gz
# cd tpcc
[root@ydb-client1 tpcc]# vi config/workload_all.xml
<?xml version="1.0"?>
<parameters>
<dbtype>postgres</dbtype>
<driver>com.yugabyte.Driver</driver>
<port>5433</port>
<username>yugabyte</username>
<DBName>yugabyte</DBName>
<password>Passwd123!</password>
<isolation>TRANSACTION_REPEATABLE_READ</isolation>
# ./tpccbenchmark --create=true --nodes=<List_of_IP_address_of_database_nodes>
# ./tpccbenchmark --load=true --nodes=<List_of_IP_address_of_database_nodes> --warehouses=<Number_of_warehouses> --loaderthreads <thread_count>
# ./tpccbenchmark --nodes==<List_of_IP_address_of_database_nodes> --enable-foreign-keys=true