increase default dns_cache_max_size to 1Mb

This commit is contained in:
Kirill Nikiforov 2024-02-28 19:08:02 +03:00
parent 8dd08e9844
commit b1db898747
2 changed files with 2 additions and 2 deletions

View File

@ -210,7 +210,7 @@ ClickHouse also has a reverse cache, so the actual memory usage could be twice a
Type: UInt64
Default: 1024
Default: 1048576
## dns_cache_update_period

View File

@ -81,7 +81,7 @@ namespace DB
M(UInt64, mmap_cache_size, DEFAULT_MMAP_CACHE_MAX_SIZE, "A cache for mmapped files.", 0) \
\
M(Bool, disable_internal_dns_cache, false, "Disable internal DNS caching at all.", 0) \
M(UInt64, dns_cache_max_size, 1024, "Internal DNS cache max size in bytes.", 0) \
M(UInt64, dns_cache_max_size, (1024 * 1024), "Internal DNS cache max size in bytes.", 0) \
M(Int32, dns_cache_update_period, 15, "Internal DNS cache update period in seconds.", 0) \
M(UInt32, dns_max_consecutive_failures, 10, "Max DNS resolve failures of a hostname before dropping the hostname from ClickHouse DNS cache.", 0) \
\