mirror of
https://github.com/postgresml/pgcat.git
synced 2026-03-23 01:16:30 +00:00
print whats going on
This commit is contained in:
@@ -7,7 +7,7 @@ set -o xtrace
|
||||
|
||||
sleep 1
|
||||
|
||||
psql -h 127.0.0.1 -p 5432 -U postgres -f tests/sharding/query_routing_setup.sql
|
||||
psql -e -h 127.0.0.1 -p 5432 -U postgres -f tests/sharding/query_routing_setup.sql
|
||||
|
||||
# Setup PgBench
|
||||
pgbench -i -h 127.0.0.1 -p 6432
|
||||
@@ -15,10 +15,10 @@ pgbench -i -h 127.0.0.1 -p 6432
|
||||
# Run it
|
||||
pgbench -h 127.0.0.1 -p 6432 -t 500 -c 2
|
||||
|
||||
psql -h 127.0.0.1 -p 6432 -f tests/sharding/query_routing_test_insert.sql
|
||||
psql -e -h 127.0.0.1 -p 6432 -f tests/sharding/query_routing_test_insert.sql
|
||||
|
||||
psql -h 127.0.0.1 -p 6432 -f tests/sharding/query_routing_test_select.sql
|
||||
psql -e -h 127.0.0.1 -p 6432 -f tests/sharding/query_routing_test_select.sql
|
||||
|
||||
# psql -f tests/sharding/query_routing_test_validate.sql
|
||||
|
||||
psql -h 127.0.0.1 -p 6432 -f tests/sharding/query_routing_test_primary_replica.sql
|
||||
psql -e -h 127.0.0.1 -p 6432 -f tests/sharding/query_routing_test_primary_replica.sql
|
||||
Reference in New Issue
Block a user