File tree Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -13,12 +13,16 @@ psql -e -h 127.0.0.1 -p 5432 -U postgres -f tests/sharding/query_routing_setup.s
13
13
pgbench -i -h 127.0.0.1 -p 6432
14
14
15
15
# Run it
16
- pgbench -h 127.0.0.1 -p 6432 -t 500 -c 2
16
+ pgbench -h 127.0.0.1 -p 6432 -t 500 -c 2 --protocol simple
17
17
18
+ # Extended protocol
19
+ pgbench -h 127.0.0.1 -p 6432 -t 500 -c 2 --protocol extended
20
+
21
+ # Sharding insert
18
22
psql -e -h 127.0.0.1 -p 6432 -f tests/sharding/query_routing_test_insert.sql
19
23
24
+ # Sharding select
20
25
psql -e -h 127.0.0.1 -p 6432 -f tests/sharding/query_routing_test_select.sql > /dev/null
21
26
22
- # psql -f tests/sharding/query_routing_test_validate.sql
23
-
24
- psql -e -h 127.0.0.1 -p 6432 -f tests/sharding/query_routing_test_primary_replica.sql > /dev/null
27
+ # Replica/primary selection & more sharding tests
28
+ psql -e -h 127.0.0.1 -p 6432 -f tests/sharding/query_routing_test_primary_replica.sql > /dev/null
You can’t perform that action at this time.
0 commit comments