Skip to content

Commit e4a9776

Browse files
committed
adding additional pytpcc test cases with durability level persistToMajoriy
Change-Id: I362a154f4068ce09ee4811679593b13f42294003 Reviewed-on: http://review.couchbase.org/c/perfrunner/+/149408 Tested-by: Build Bot <[email protected]> Reviewed-by: <[email protected]>
1 parent 04b988b commit e4a9776

7 files changed

+326
-1
lines changed

tests/n1ql/pytpcc/transactions/n1ql_trans_2node_pytpcc_16core_100warehouse_80clients_replica1_dur_maj_scancons_notbounded.test

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
test = perfrunner.tests.n1ql.PytpccBenchmarkTest
33

44
[showfast]
5-
title = Tpm-c (NewOrders/min), nodes 3, warehouse 100 , replica 1, durability majority, scan_consistency not_bounded, vCPU 16, s=1 c=9
5+
title = Tpm-c (NewOrders/min), nodes 2, warehouse 100 , replica 1, durability majority, scan_consistency not_bounded, vCPU 16, s=1 c=9
66
component = n1ql
77
category = pytpcc
88
sub_category = Plasma
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
[test_case]
2+
test = perfrunner.tests.n1ql.PytpccBenchmarkTest
3+
4+
[showfast]
5+
title = Tpm-c (NewOrders/min), nodes 2, warehouse 100 , replica 1, durability majority, scan_consistency request_plus, vCPU 16, s=1 c=9
6+
component = n1ql
7+
category = pytpcc
8+
sub_category = Plasma
9+
orderby = b1
10+
11+
[cluster]
12+
mem_quota = 20480
13+
index_mem_quota = 20000
14+
initial_nodes = 2
15+
num_buckets = 1
16+
online_cores = 8
17+
bucket_name = default
18+
19+
[compaction]
20+
db_percentage = 100
21+
22+
[bucket]
23+
replica_number = 1
24+
25+
[secondary]
26+
indexer.settings.storage_mode = plasma
27+
28+
[index]
29+
statements =
30+
BUILD INDEX ON default:default.tpcc.CUSTOMER(CU_W_ID_D_ID_LAST);
31+
BUILD INDEX ON default:default.tpcc.DISTRICT(DI_ID_W_ID);
32+
BUILD INDEX ON default:default.tpcc.NEW_ORDER(D_ID_W_ID_O_ID);
33+
BUILD INDEX ON default:default.tpcc.ORDERS(OR_DID_WID_ID_CID, OR_CID_DID_WID_ID_CAID_EID);
34+
BUILD INDEX ON default:default.tpcc.ORDER_LINE(OL_O_ID_D_ID_W_ID);
35+
BUILD INDEX ON default:default.tpcc.WAREHOUSE(WH_ID);
36+
37+
[bucket_extras]
38+
num_writer_threads = disk_io_optimized
39+
num_reader_threads = disk_io_optimized
40+
41+
[py_tpcc]
42+
warehouse = 100
43+
client_threads = 80
44+
duration = 600
45+
multi_query_node = 1
46+
driver = nestcollections
47+
query_port = 8093
48+
kv_port = 8091
49+
run_sql_shell = run_sqlcollections.sh
50+
cbrindex_sql = cbcrindexcollection_replicas.sql
51+
collection_config = cbcrbucketcollection_20GB_bucket_replica1.sh
52+
durability_level = majority
53+
index_replicas = 2
54+
scan_consistency=request_plus
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
[test_case]
2+
test = perfrunner.tests.n1ql.PytpccBenchmarkTest
3+
4+
[showfast]
5+
title = Tpm-c (NewOrders/min), nodes 2, warehouse 100 , replica 1, durability persistToMajority, scan_consistency request_plus, vCPU 16, s=1 c=9
6+
component = n1ql
7+
category = pytpcc
8+
sub_category = Plasma
9+
orderby = b1
10+
11+
[cluster]
12+
mem_quota = 20480
13+
index_mem_quota = 20000
14+
initial_nodes = 2
15+
num_buckets = 1
16+
online_cores = 8
17+
bucket_name = default
18+
19+
[compaction]
20+
db_percentage = 100
21+
22+
[bucket]
23+
replica_number = 1
24+
25+
[secondary]
26+
indexer.settings.storage_mode = plasma
27+
28+
[index]
29+
statements =
30+
BUILD INDEX ON default:default.tpcc.CUSTOMER(CU_W_ID_D_ID_LAST);
31+
BUILD INDEX ON default:default.tpcc.DISTRICT(DI_ID_W_ID);
32+
BUILD INDEX ON default:default.tpcc.NEW_ORDER(D_ID_W_ID_O_ID);
33+
BUILD INDEX ON default:default.tpcc.ORDERS(OR_DID_WID_ID_CID, OR_CID_DID_WID_ID_CAID_EID);
34+
BUILD INDEX ON default:default.tpcc.ORDER_LINE(OL_O_ID_D_ID_W_ID);
35+
BUILD INDEX ON default:default.tpcc.WAREHOUSE(WH_ID);
36+
37+
[bucket_extras]
38+
num_writer_threads = disk_io_optimized
39+
num_reader_threads = disk_io_optimized
40+
41+
[py_tpcc]
42+
warehouse = 100
43+
client_threads = 80
44+
duration = 600
45+
multi_query_node = 1
46+
driver = nestcollections
47+
query_port = 8093
48+
kv_port = 8091
49+
run_sql_shell = run_sqlcollections.sh
50+
cbrindex_sql = cbcrindexcollection_replicas.sql
51+
collection_config = cbcrbucketcollection_20GB_bucket_replica1.sh
52+
durability_level = persistToMajority
53+
index_replicas = 2
54+
scan_consistency=request_plus
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
[test_case]
2+
test = perfrunner.tests.n1ql.PytpccBenchmarkTest
3+
4+
[showfast]
5+
title = Tpm-c (NewOrders/min), nodes 3, warehouse 100 , replica 2, durability majority, scan_consistency request_plus, vCPU 16, s=1 c=9
6+
component = n1ql
7+
category = pytpcc
8+
sub_category = Plasma
9+
orderby = c1
10+
11+
[cluster]
12+
mem_quota = 20480
13+
index_mem_quota = 20000
14+
initial_nodes = 3
15+
num_buckets = 1
16+
online_cores = 8
17+
bucket_name = default
18+
19+
[compaction]
20+
db_percentage = 100
21+
22+
[bucket]
23+
replica_number = 2
24+
25+
[secondary]
26+
indexer.settings.storage_mode = plasma
27+
28+
[index]
29+
statements =
30+
BUILD INDEX ON default:default.tpcc.CUSTOMER(CU_W_ID_D_ID_LAST);
31+
BUILD INDEX ON default:default.tpcc.DISTRICT(DI_ID_W_ID);
32+
BUILD INDEX ON default:default.tpcc.NEW_ORDER(D_ID_W_ID_O_ID);
33+
BUILD INDEX ON default:default.tpcc.ORDERS(OR_DID_WID_ID_CID, OR_CID_DID_WID_ID_CAID_EID);
34+
BUILD INDEX ON default:default.tpcc.ORDER_LINE(OL_O_ID_D_ID_W_ID);
35+
BUILD INDEX ON default:default.tpcc.WAREHOUSE(WH_ID);
36+
37+
[bucket_extras]
38+
num_writer_threads = disk_io_optimized
39+
num_reader_threads = disk_io_optimized
40+
41+
[py_tpcc]
42+
warehouse = 100
43+
client_threads = 120
44+
duration = 600
45+
multi_query_node = 1
46+
driver = nestcollections
47+
query_port = 8093
48+
kv_port = 8091
49+
run_sql_shell = run_sqlcollections.sh
50+
cbrindex_sql = cbcrindexcollection_replicas.sql
51+
collection_config = cbcrbucketcollection_20GB_bucket_replica2.sh
52+
durability_level = majority
53+
index_replicas = 2
54+
scan_consistency=request_plus
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
[test_case]
2+
test = perfrunner.tests.n1ql.PytpccBenchmarkTest
3+
4+
[showfast]
5+
title = Tpm-c (NewOrders/min), nodes 3, warehouse 100 , replica 2, durability persistToMajority, scan_consistency request_plus, vCPU 16, s=1 c=9
6+
component = n1ql
7+
category = pytpcc
8+
sub_category = Plasma
9+
orderby = c1
10+
11+
[cluster]
12+
mem_quota = 20480
13+
index_mem_quota = 20000
14+
initial_nodes = 3
15+
num_buckets = 1
16+
online_cores = 8
17+
bucket_name = default
18+
19+
[compaction]
20+
db_percentage = 100
21+
22+
[bucket]
23+
replica_number = 2
24+
25+
[secondary]
26+
indexer.settings.storage_mode = plasma
27+
28+
[index]
29+
statements =
30+
BUILD INDEX ON default:default.tpcc.CUSTOMER(CU_W_ID_D_ID_LAST);
31+
BUILD INDEX ON default:default.tpcc.DISTRICT(DI_ID_W_ID);
32+
BUILD INDEX ON default:default.tpcc.NEW_ORDER(D_ID_W_ID_O_ID);
33+
BUILD INDEX ON default:default.tpcc.ORDERS(OR_DID_WID_ID_CID, OR_CID_DID_WID_ID_CAID_EID);
34+
BUILD INDEX ON default:default.tpcc.ORDER_LINE(OL_O_ID_D_ID_W_ID);
35+
BUILD INDEX ON default:default.tpcc.WAREHOUSE(WH_ID);
36+
37+
[bucket_extras]
38+
num_writer_threads = disk_io_optimized
39+
num_reader_threads = disk_io_optimized
40+
41+
[py_tpcc]
42+
warehouse = 100
43+
client_threads = 120
44+
duration = 600
45+
multi_query_node = 1
46+
driver = nestcollections
47+
query_port = 8093
48+
kv_port = 8091
49+
run_sql_shell = run_sqlcollections.sh
50+
cbrindex_sql = cbcrindexcollection_replicas.sql
51+
collection_config = cbcrbucketcollection_20GB_bucket_replica2.sh
52+
durability_level = persistToMajority
53+
index_replicas = 2
54+
scan_consistency=request_plus
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
[test_case]
2+
test = perfrunner.tests.n1ql.PytpccBenchmarkTest
3+
4+
[showfast]
5+
title = Tpm-c (NewOrders/min), nodes 4, warerhouse 100 , replica 1, durability persistToMajority, scan_consistency request_plus, vCPU 16, s=1 c=9
6+
component = n1ql
7+
category = pytpcc
8+
sub_category = MOI
9+
orderby = d1
10+
11+
[cluster]
12+
mem_quota = 20480
13+
index_mem_quota = 20000
14+
initial_nodes = 4
15+
num_buckets = 1
16+
online_cores = 8
17+
bucket_name = default
18+
19+
[compaction]
20+
db_percentage = 100
21+
22+
[bucket]
23+
replica_number = 1
24+
25+
[secondary]
26+
indexer.settings.storage_mode = memory_optimized
27+
28+
[index]
29+
statements =
30+
BUILD INDEX ON default:default.tpcc.CUSTOMER(CU_W_ID_D_ID_LAST);
31+
BUILD INDEX ON default:default.tpcc.DISTRICT(DI_ID_W_ID);
32+
BUILD INDEX ON default:default.tpcc.NEW_ORDER(D_ID_W_ID_O_ID);
33+
BUILD INDEX ON default:default.tpcc.ORDERS(OR_DID_WID_ID_CID, OR_CID_DID_WID_ID_CAID_EID);
34+
BUILD INDEX ON default:default.tpcc.ORDER_LINE(OL_O_ID_D_ID_W_ID);
35+
BUILD INDEX ON default:default.tpcc.WAREHOUSE(WH_ID);
36+
37+
38+
[bucket_extras]
39+
num_writer_threads = disk_io_optimized
40+
num_reader_threads = disk_io_optimized
41+
42+
[py_tpcc]
43+
warehouse = 100
44+
client_threads = 160
45+
duration = 600
46+
multi_query_node = 1
47+
driver = nestcollections
48+
query_port = 8093
49+
kv_port = 8091
50+
run_sql_shell = run_sqlcollections.sh
51+
cbrindex_sql = cbcrindexcollection_replicas.sql
52+
collection_config = cbcrbucketcollection_20GB_bucket_replica1.sh
53+
durability_level = persistToMajority
54+
index_replicas = 1
55+
scan_consistency=request_plus
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
[test_case]
2+
test = perfrunner.tests.n1ql.PytpccBenchmarkTest
3+
4+
[showfast]
5+
title = Tpm-c (NewOrders/min), nodes 4, warehouse 100 , replica 2, durability persistToMajority, scan_consistency request_plus, vCPU 16, s=1 c=9
6+
component = n1ql
7+
category = pytpcc
8+
sub_category = Plasma
9+
orderby = d2
10+
11+
[cluster]
12+
mem_quota = 20480
13+
index_mem_quota = 20000
14+
initial_nodes = 4
15+
num_buckets = 1
16+
online_cores = 8
17+
bucket_name = default
18+
19+
[compaction]
20+
db_percentage = 100
21+
22+
[bucket]
23+
replica_number = 2
24+
25+
[secondary]
26+
indexer.settings.storage_mode = plasma
27+
28+
[index]
29+
statements =
30+
BUILD INDEX ON default:default.tpcc.CUSTOMER(CU_W_ID_D_ID_LAST);
31+
BUILD INDEX ON default:default.tpcc.DISTRICT(DI_ID_W_ID);
32+
BUILD INDEX ON default:default.tpcc.NEW_ORDER(D_ID_W_ID_O_ID);
33+
BUILD INDEX ON default:default.tpcc.ORDERS(OR_DID_WID_ID_CID, OR_CID_DID_WID_ID_CAID_EID);
34+
BUILD INDEX ON default:default.tpcc.ORDER_LINE(OL_O_ID_D_ID_W_ID);
35+
BUILD INDEX ON default:default.tpcc.WAREHOUSE(WH_ID);
36+
37+
[bucket_extras]
38+
num_writer_threads = disk_io_optimized
39+
num_reader_threads = disk_io_optimized
40+
41+
[py_tpcc]
42+
warehouse = 100
43+
client_threads = 160
44+
duration = 600
45+
multi_query_node = 1
46+
driver = nestcollections
47+
query_port = 8093
48+
kv_port = 8091
49+
run_sql_shell = run_sqlcollections.sh
50+
cbrindex_sql = cbcrindexcollection_replicas.sql
51+
collection_config = cbcrbucketcollection_20GB_bucket_replica2.sh
52+
durability_level = persistToMajority
53+
index_replicas = 2
54+
scan_consistency=request_plus

0 commit comments

Comments
 (0)