Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Main = &cobra.Command{ Use: "vtbench", Short: "vtbench is a simple load testing client to compare workloads in Vitess across the various client/server protocols.", Example: `There are a number of command line options to control the behavior, but as a basic example, the three supported client protocols are: Mysql protocol to vtgate: vtbench \ --protocol mysql \ --host vtgate-host.my.domain \ --port 15306 \ --user db_username \ --db-credentials-file ./vtbench_db_creds.json \ --db @replica \ --sql "select * from loadtest_table where id=123456789" \ --threads 10 \ --count 10 GRPC to vtgate: vtbench \ --protocol grpc-vtgate \ --host vtgate-host.my.domain \ --port 15999 \ --db @replica \ $VTTABLET_GRPC_ARGS \ --sql "select * from loadtest_table where id=123456789" \ --threads 10 \ --count 10 GRPC to vttablet: vtbench \ --protocol grpc-vttablet \ --host tablet-loadtest-00-80.my.domain \ --port 15999 \ --db loadtest/00-80@replica \ --sql "select * from loadtest_table where id=123456789" \ --threads 10 \ --count 10`, Args: cobra.NoArgs, Version: servenv.AppVersion.String(), PreRunE: servenv.CobraPreRunE, RunE: run, } )
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.