This repository was archived by the owner on Sep 17, 2024. It is now read-only.
Description Here are step that I am executing:
1. Create Database "loadgentpc"
$ docker run --rm -it --network cockroachdb-network cockroachdb/cockroach sql --insecure --url postgresql://root@roach1:26257?sslmode=disable --execute "CREATE DATABASE loadgentpc;"
# Server version: CockroachDB CCL v1.1.6 (linux amd64, built 2018/03/12 17:58:05, go1.8.3) (same version as client)
# Cluster ID: 32c0b615-7d26-4169-a63c-ceb6ef56d6ff
CREATE DATABASE
2. Check if DB was created
$ docker run --rm -it --network cockroachdb-network cockroachdb/cockroach sql --insecure --url postgresql://root@roach1:26257?sslmode=disable --execute "SHOW DATABASES;"
# Server version: CockroachDB CCL v1.1.6 (linux amd64, built 2018/03/12 17:58:05, go1.8.3) (same version as client)
# Cluster ID: 32c0b615-7d26-4169-a63c-ceb6ef56d6ff
+--------------------+
| Database |
+--------------------+
| crdb_internal |
| information_schema |
| loadgentpc |
| pg_catalog |
| system |
+--------------------+
(5 rows)
3. Load DB with loadgen-tpcc
$ docker run --rm -it --network cockroachdb-network cockroachdb/loadgen-tpcc postgresql://root@roach1:26257/loadgentpc?sslmode=disable -drop -load -v -tolerate-errors
_time______opName__ops/s(inst)__ops/s(cum)__p50(ms)__p95(ms)__p99(ms)_pMax(ms)
1s newOrder 0.0 0.0 0.0 0.0 0.0 0.0
2s newOrder 0.0 0.0 0.0 0.0 0.0 0.0
3s newOrder 0.0 0.0 0.0 0.0 0.0 0.0
2018/03/24 16:06:58 error in payment: dial tcp 127.0.0.1:26257: getsockopt: connection refused
This step throws error, am not sure why is it trying to connect to localhost?
Reactions are currently unavailable
Here are step that I am executing:
1. Create Database "loadgentpc"
2. Check if DB was created
3. Load DB with loadgen-tpcc
This step throws error, am not sure why is it trying to connect to localhost?