From c221e646bad8a00cafc93dcfa3ba2eba50c835eb Mon Sep 17 00:00:00 2001 From: Yoshiaki Nishimura Date: Wed, 9 Oct 2024 10:29:48 +0900 Subject: [PATCH 1/2] set scan_block_size default from 0 to 100 --- src/tateyama/configuration/bootstrap_configuration.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tateyama/configuration/bootstrap_configuration.cpp b/src/tateyama/configuration/bootstrap_configuration.cpp index 50825ba..0d4892a 100644 --- a/src/tateyama/configuration/bootstrap_configuration.cpp +++ b/src/tateyama/configuration/bootstrap_configuration.cpp @@ -44,7 +44,7 @@ static constexpr std::string_view default_configuration { // NOLINT "dev_scan_concurrent_operation_as_not_found=true\n" "dev_point_read_concurrent_operation_as_not_found=true\n" "lowercase_regular_identifiers=false\n" - "scan_block_size=0\n" + "scan_block_size=100\n" "dev_rtx_parallel_scan=false\n" "[ipc_endpoint]\n" From dca3f7b877ed6399a89b4041bfbff14f469fcb4c Mon Sep 17 00:00:00 2001 From: Yoshiaki Nishimura Date: Wed, 9 Oct 2024 10:30:28 +0900 Subject: [PATCH 2/2] add sql.scan_yield_interval config. param. --- src/tateyama/configuration/bootstrap_configuration.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/tateyama/configuration/bootstrap_configuration.cpp b/src/tateyama/configuration/bootstrap_configuration.cpp index 0d4892a..dfaf5f2 100644 --- a/src/tateyama/configuration/bootstrap_configuration.cpp +++ b/src/tateyama/configuration/bootstrap_configuration.cpp @@ -45,6 +45,7 @@ static constexpr std::string_view default_configuration { // NOLINT "dev_point_read_concurrent_operation_as_not_found=true\n" "lowercase_regular_identifiers=false\n" "scan_block_size=100\n" + "scan_yield_interval=1\n" "dev_rtx_parallel_scan=false\n" "[ipc_endpoint]\n"