Open walter-weinmann opened 2 years ago
@threads for partition_key = 1:benchmark_number_partitions println("multithreaded threadid=$(threadid())") run_select_helper( size(bulk_data_partitions[partition_key], 1), partition_key, sql_select, statements[partition_key], trial_number, ) end
Source: https://github.com/KonnexionsGmbH/ora_bench/blob/master/lang/julia/OraBenchJdbc.jl
always the same tread id !
Start trial no. 1 multithreaded threadid=1 Start insert partition_key=1) End insert partition_key=1) multithreaded threadid=1 Start insert partition_key=2) End insert partition_key=2) multithreaded threadid=1 Start insert partition_key=3) End insert partition_key=3) multithreaded threadid=1 Start insert partition_key=4) End insert partition_key=4) multithreaded threadid=1 Start insert partition_key=5) End insert partition_key=5) multithreaded threadid=1
Code:
Source: https://github.com/KonnexionsGmbH/ora_bench/blob/master/lang/julia/OraBenchJdbc.jl
Protocol:
always the same tread id !