This commit is contained in:
Nikita Taranov 2023-04-28 20:48:37 +00:00
parent bb4a7f65de
commit af558e282c
2 changed files with 2 additions and 2 deletions

View File

@ -68,7 +68,7 @@ struct ReadSettings
/// Method to use reading from remote filesystem.
RemoteFSReadMethod remote_fs_method = RemoteFSReadMethod::threadpool;
size_t local_fs_buffer_size = DBMS_DEFAULT_BUFFER_SIZE;
size_t local_fs_buffer_size = 128 * 1024;
size_t remote_fs_buffer_size = DBMS_DEFAULT_BUFFER_SIZE;
size_t prefetch_buffer_size = DBMS_DEFAULT_BUFFER_SIZE;

View File

@ -4288,7 +4288,7 @@ ReadSettings Context::getReadSettings() const
"Invalid value '{}' for max_read_buffer_size", settings.max_read_buffer_size);
}
res.local_fs_buffer_size = settings.max_read_buffer_size;
/* res.local_fs_buffer_size = settings.max_read_buffer_size; */
res.remote_fs_buffer_size = settings.max_read_buffer_size;
res.prefetch_buffer_size = settings.prefetch_buffer_size;
res.direct_io_threshold = settings.min_bytes_to_use_direct_io;