File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -130,7 +130,7 @@ cargo run --release -p tpcc-runner -- load \
130130
131131` --batch-size ` still matters for ` load ` , but it now controls the server-side
132132chunk size for phases like items, stock, and orders instead of the number of
133- rows pushed over the websocket by the client. The default is ` 10000 ` .
133+ rows pushed over the websocket by the client. The default is ` 500 ` .
134134
135135If a server-side load fails, the current ` load ` command does not resume it
136136automatically. Resume each affected database manually with:
@@ -257,7 +257,7 @@ timeout_secs = 30
257257num_databases = 1
258258warehouses_per_database = 1
259259load_parallelism = 1
260- batch_size = 10000
260+ batch_size = 500
261261reset = true
262262
263263[driver ]
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ use std::path::{Path, PathBuf};
77
88use crate :: protocol:: DriverAssignment ;
99
10- const DEFAULT_LOAD_BATCH_SIZE : usize = 10_000 ;
10+ const DEFAULT_LOAD_BATCH_SIZE : usize = 500 ;
1111
1212#[ derive( Debug , Parser ) ]
1313#[ command( name = "tpcc-runner" ) ]
@@ -452,7 +452,7 @@ mod tests {
452452 }
453453
454454 #[ test]
455- fn load_args_default_batch_size_is_10000 ( ) {
455+ fn load_args_default_batch_size_is_500 ( ) {
456456 let args = LoadArgs {
457457 connection : ConnectionArgs :: default ( ) ,
458458 num_databases : Some ( 1 ) ,
You can’t perform that action at this time.
0 commit comments