diff --git a/config/datanode.example.toml b/config/datanode.example.toml index 2b4b7b4b1b9a..9cd6aebeb7b0 100644 --- a/config/datanode.example.toml +++ b/config/datanode.example.toml @@ -82,6 +82,11 @@ vector_cache_size = "512MB" page_cache_size = "512MB" # Buffer size for SST writing. sst_write_buffer_size = "8MB" +# Parallelism to scan a region (default: 1/4 of cpu cores). +# 0 or 1 means no parallelism. +scan_parallelism = 0 +# Capacity of the channel to send data from parallel scan tasks to the main task (default 32). +parallel_scan_channel_size = 32 # Log options, see `standalone.example.toml` # [logging] diff --git a/config/standalone.example.toml b/config/standalone.example.toml index bb8f5c2d1cbb..37a3ab96f413 100644 --- a/config/standalone.example.toml +++ b/config/standalone.example.toml @@ -151,6 +151,11 @@ vector_cache_size = "512MB" page_cache_size = "512MB" # Buffer size for SST writing. sst_write_buffer_size = "8MB" +# Parallelism to scan a region (default: 1/4 of cpu cores). +# 0 or 1 means no parallelism. +scan_parallelism = 0 +# Capacity of the channel to send data from parallel scan tasks to the main task (default 32). +parallel_scan_channel_size = 32 # Log options # [logging]