id stringlengths 36 36 | document stringlengths 3 3k | metadata stringlengths 23 69 | embeddings listlengths 384 384 |
|---|---|---|---|
ca000c3f-dc80-4e4a-938d-88134cbe1d8e | max_postpone_time_for_failed_mutations_ms {#max_postpone_time_for_failed_mutations_ms}
The maximum postpone time for failed mutations.
max_postpone_time_for_failed_replicated_fetches_ms {#max_postpone_time_for_failed_replicated_fetches_ms}
The maximum postpone time for failed replicated fetches.
max_postp... | {"source_file": "merge-tree-settings.md"} | [
-0.01610281877219677,
0.002905135042965412,
-0.013158649206161499,
-0.018935924395918846,
-0.030200010165572166,
-0.07933785766363144,
-0.05949948728084564,
0.08890245854854584,
0.007377494126558304,
0.054421354085206985,
0.04816102981567383,
-0.020457591861486435,
0.07577061653137207,
-0.... |
b23b1d63-0b0d-46a8-943e-ffebdc0d9c16 | You can limit both server network and network for a particular table, but
for this the value of the table-level setting should be less than
server-level one. Otherwise the server considers only the
max_replicated_sends_network_bandwidth_for_server
setting.
The setting isn't followed perfectly accurately.
Possible... | {"source_file": "merge-tree-settings.md"} | [
-0.06429122388362885,
0.00134687265381217,
0.007256334647536278,
-0.028008680790662766,
0.01420966163277626,
-0.08887752145528793,
0.015133531764149666,
-0.03412715718150139,
-0.029862582683563232,
0.07529158890247345,
-0.007818605750799179,
0.04832291230559349,
0.12649455666542053,
-0.021... |
5ee0f745-15b4-490d-8c23-e0965584abc8 | merge_selecting_sleep_ms {#merge_selecting_sleep_ms}
Minimum time to wait before trying to select parts to merge again after no
parts were selected. A lower setting will trigger selecting tasks in
background_schedule_pool frequently which result in large amount of requests
to zookeeper in large-scale clusters
mer... | {"source_file": "merge-tree-settings.md"} | [
0.053820881992578506,
-0.038081325590610504,
0.03359558805823326,
0.05164588615298271,
0.08798810839653015,
-0.10757408291101456,
0.015294432640075684,
0.020792534574866295,
-0.006663493346422911,
-0.01671254262328148,
0.016043057665228844,
-0.028910519555211067,
-0.029447054490447044,
-0.... |
9216a12d-b907-4858-ace4-4248c974b000 | merge_with_ttl_timeout {#merge_with_ttl_timeout}
Minimum delay in seconds before repeating a merge with delete TTL.
merge_workload {#merge_workload}
Used to regulate how resources are utilized and shared between merges and
other workloads. Specified value is used as
workload
setting value for
background merge... | {"source_file": "merge-tree-settings.md"} | [
0.0038872293662279844,
-0.009969713166356087,
-0.04137159883975983,
-0.02817828767001629,
-0.03348817676305771,
-0.04687992110848427,
0.004044655244797468,
0.045182690024375916,
0.043289992958307266,
-0.010571824386715889,
0.06752441823482513,
0.01033921167254448,
-0.01122166309505701,
0.0... |
e56547ce-4829-4713-a154-fa632e7091ea | min_compressed_bytes_to_fsync_after_fetch {#min_compressed_bytes_to_fsync_after_fetch}
Minimal number of compressed bytes to do fsync for part after fetch (0 - disabled)
min_compressed_bytes_to_fsync_after_merge {#min_compressed_bytes_to_fsync_after_merge}
Minimal number of compressed bytes to do fsync for pa... | {"source_file": "merge-tree-settings.md"} | [
0.008812712505459785,
-0.011758456937968731,
-0.008546169847249985,
0.022678403183817863,
0.03237292170524597,
-0.10118041187524796,
-0.05079641193151474,
0.09355039149522781,
0.034637488424777985,
0.03972479701042175,
0.05130545794963837,
0.000024183584173442796,
0.015105070546269417,
-0.... |
4c24c9c2-2182-4e37-82f8-e78dede96417 | min_marks_to_honor_max_concurrent_queries {#min_marks_to_honor_max_concurrent_queries}
The minimal number of marks read by the query for applying the
max_concurrent_queries
setting.
:::note
Queries will still be limited by other
max_concurrent_queries
settings.
:::
Possible values:
- Positive integer.
-
0
... | {"source_file": "merge-tree-settings.md"} | [
-0.002669904613867402,
-0.0014210609951987863,
-0.0658898800611496,
-0.015891432762145996,
-0.1025971844792366,
-0.110863596200943,
0.022499805316329002,
0.0690625011920929,
-0.00964756216853857,
0.011437786743044853,
0.058446645736694336,
-0.01269966084510088,
0.07824160903692245,
-0.0382... |
9763a144-2a06-4c9d-bc65-a7514a6b3fca | See Also
-
Workload Scheduling
non_replicated_deduplication_window {#non_replicated_deduplication_window}
The number of the most recently inserted blocks in the non-replicated
MergeTree
table
for which hash sums are stored to check for duplicates.
Possible values:
- Any positive integer.
-
0
(disable dedu... | {"source_file": "merge-tree-settings.md"} | [
-0.08119740337133408,
-0.014000985771417618,
0.008688033558428288,
-0.020700545981526375,
0.022195778787136078,
-0.05865156650543213,
0.020185241475701332,
-0.06043689697980881,
0.09058324992656708,
0.03385559096932411,
0.03982985019683838,
0.005459688138216734,
0.05300702899694443,
-0.096... |
6891c228-05d6-4f1d-a59b-283210bf162b | number_of_partitions_to_consider_for_merge {#number_of_partitions_to_consider_for_merge}
Only available in ClickHouse Cloud. Up to top N partitions which we will
consider for merge. Partitions picked in a random weighted way where weight
is amount of data parts which can be merged in this partition.
object_seri... | {"source_file": "merge-tree-settings.md"} | [
-0.020326022058725357,
-0.025172311812639236,
0.03372788801789284,
-0.03754191845655441,
0.013140134513378143,
-0.04015273228287697,
-0.051068518310785294,
0.011239050887525082,
-0.054283980280160904,
-0.03414237126708031,
0.005681862123310566,
-0.007625023368746042,
-0.016421284526586533,
... |
26cf8626-3c39-48bb-a15b-8195abc1ad16 | fsync
is not called for new parts, so for some time new parts exist only
in the server's RAM (OS cache). If the server is rebooted spontaneously, new
parts can be lost or damaged. To protect data inactive parts are not deleted
immediately.
During startup ClickHouse checks the integrity of the parts. If the merged
pa... | {"source_file": "merge-tree-settings.md"} | [
-0.036475375294685364,
-0.06150832027196884,
-0.020536046475172043,
0.051426663994789124,
0.11923332512378693,
-0.1274658888578415,
-0.026960505172610283,
0.05265616998076439,
0.06778804957866669,
-0.004891368560492992,
0.10850242525339127,
0.15650756657123566,
-0.03581974282860756,
-0.023... |
3227bb88-b580-4639-9673-51dc7777a928 | Heuristics for finding a row order
It is generally possible to shuffle the rows of a table (or table part)
freely as SQL considers the same table (table part) in different row order
equivalent.
This freedom of shuffling rows is restricted when a primary key is defined
for the table. In ClickHouse, a primary key `C1,... | {"source_file": "merge-tree-settings.md"} | [
-0.0748625248670578,
-0.04891357570886612,
-0.040907956659793854,
-0.041423648595809937,
0.017816707491874695,
-0.007102868985384703,
-0.0430733896791935,
-0.058038048446178436,
0.09602034091949463,
0.058084066957235336,
0.0008636339916847646,
0.08002428710460663,
0.058374300599098206,
-0.... |
90c757a6-3036-4b74-97c0-4b1e5fa30920 | Possible values:
- Any positive integer.
ClickHouse artificially executes
INSERT
longer (adds 'sleep') so that the
background merge process can merge parts faster than they are added.
parts_to_throw_insert {#parts_to_throw_insert}
If the number of active parts in a single partition exceeds the
parts_to_throw... | {"source_file": "merge-tree-settings.md"} | [
-0.00994905922561884,
-0.06349676847457886,
0.01922697387635708,
0.0037096745800226927,
0.006485208868980408,
-0.08750245720148087,
-0.0003471988602541387,
0.05573668330907822,
-0.002342617604881525,
-0.03027232736349106,
0.04811932519078255,
0.017552057281136513,
0.016200479120016098,
-0.... |
9760ba6a-88e4-4808-9d79-4074999a2750 | primary_key_ratio_of_unique_prefix_values_to_skip_suffix_columns {#primary_key_ratio_of_unique_prefix_values_to_skip_suffix_columns}
If the value of a column of the primary key in data part changes at least in
this ratio of times, skip loading next columns in memory. This allows to save
memory usage by not loading ... | {"source_file": "merge-tree-settings.md"} | [
-0.028189538046717644,
-0.012786169536411762,
-0.18455356359481812,
-0.006094994954764843,
-0.07685482501983643,
-0.10086457431316376,
-0.07938267290592194,
0.020777057856321335,
0.004763543605804443,
-0.01562410406768322,
0.06087728217244148,
0.06753785163164139,
0.02940463274717331,
-0.0... |
f6ecffad-6ace-4410-8a7b-f5d4b831bc51 | sql
SELECT column, serialization_kind FROM system.parts_columns
WHERE table LIKE 'my_sparse_table';
You can see which parts of
s
were stored using the sparse serialization:
response
┌─column─┬─serialization_kind─┐
│ id │ Default │
│ s │ Default │
│ id │ Default │
│ s ... | {"source_file": "merge-tree-settings.md"} | [
0.023940516635775566,
0.01724829711019993,
-0.0011515070218592882,
0.11442761868238449,
0.048669736832380295,
-0.05261482670903206,
-0.013609600253403187,
-0.032478153705596924,
-0.034630171954631805,
0.023371350020170212,
0.013395378366112709,
-0.004672934766858816,
0.03310055658221245,
-... |
f05fe194-98a2-4332-94e4-b280d0bfb8f3 | remove_rolled_back_parts_immediately {#remove_rolled_back_parts_immediately}
Setting for an incomplete experimental feature.
remove_unused_patch_parts {#remove_unused_patch_parts}
Remove in background patch parts which are applied for all active parts.
replace_long_file_name_to_hash {#replace_long_file_... | {"source_file": "merge-tree-settings.md"} | [
-0.10816914588212967,
0.036017127335071564,
-0.009847447276115417,
-0.027073249220848083,
0.025056112557649612,
-0.08640879392623901,
-0.028265418484807014,
-0.049372244626283646,
-0.03787235915660858,
0.08487890660762787,
0.07469423115253448,
0.061729371547698975,
0.08613479137420654,
-0.... |
268f02dd-a5a6-41bd-915e-5fb12e5ee7f6 | Similar to
replicated_deduplication_window
,
replicated_deduplication_window_seconds
specifies how long to store hash
sums of blocks for insert deduplication. Hash sums older than
replicated_deduplication_window_seconds
are removed from ClickHouse Keeper,
even if they are less than
replicated_deduplication_window... | {"source_file": "merge-tree-settings.md"} | [
-0.11213500797748566,
0.010932628996670246,
-0.07448013126850128,
0.013554827310144901,
0.021196987479925156,
-0.0576801523566246,
-0.04724011942744255,
-0.0394248403608799,
0.067111074924469,
-0.01566430926322937,
0.05231765657663345,
0.020738691091537476,
0.04018542915582657,
-0.04456790... |
ce6f0630-4755-4376-936b-da536d5e34a3 | If the ratio of wrong parts to total number of parts is less than this -
allow to start.
Possible values:
- Float, 0.0 - 1.0
search_orphaned_parts_disks {#search_orphaned_parts_disks}
ClickHouse scans all disks for orphaned parts upon any ATTACH or CREATE table
in order to not allow to miss data parts at unde... | {"source_file": "merge-tree-settings.md"} | [
-0.0035783909261226654,
0.0030779046937823296,
-0.007347918581217527,
-0.004232124425470829,
0.025862261652946472,
-0.04795369133353233,
-0.08981126546859741,
-0.019821960479021072,
-0.106936514377594,
-0.02371813915669918,
0.07581563293933868,
0.02996491827070713,
0.056550003588199615,
0.... |
53a30562-e560-4e46-b3df-c970b66597c1 | shared_merge_tree_enable_outdated_parts_check {#shared_merge_tree_enable_outdated_parts_check}
Enable outdated parts check. Only available in ClickHouse Cloud
shared_merge_tree_idle_parts_update_seconds {#shared_merge_tree_idle_parts_update_seconds}
Interval in seconds for parts update without being trigg... | {"source_file": "merge-tree-settings.md"} | [
0.016529683023691177,
-0.03438610956072807,
0.04711386561393738,
-0.005909457802772522,
0.07087109237909317,
-0.06783408671617508,
-0.05667043477296829,
-0.08163841813802719,
0.020358579233288765,
0.06314849853515625,
0.034786324948072433,
-0.020724503323435783,
-0.0395284928381443,
-0.037... |
6038ee49-6bb1-4531-b8e7-3a6d2a5d9db6 | shared_merge_tree_max_suspicious_broken_parts {#shared_merge_tree_max_suspicious_broken_parts}
Max broken parts for SMT, if more - deny automatic detach.
shared_merge_tree_max_suspicious_broken_parts_bytes {#shared_merge_tree_max_suspicious_broken_parts_bytes}
Max size of all broken parts for SMT, if more... | {"source_file": "merge-tree-settings.md"} | [
-0.007702845148742199,
-0.028660768643021584,
-0.05444640293717384,
0.03088328056037426,
0.015102986246347427,
0.014799808152019978,
-0.06587089598178864,
-0.0008969242917373776,
-0.01984512247145176,
0.046556901186704636,
0.07504052668809891,
0.010062257759273052,
0.05742094665765762,
-0.... |
2c7f4835-83a0-4c5f-8002-8283da18c545 | shared_merge_tree_parts_load_batch_size {#shared_merge_tree_parts_load_batch_size}
Amount of fetch parts metadata jobs to schedule at once. Only available in
ClickHouse Cloud
shared_merge_tree_postpone_next_merge_for_locally_merged_parts_ms {#shared_merge_tree_postpone_next_merge_for_locally_merged_parts_ms}
... | {"source_file": "merge-tree-settings.md"} | [
0.016586890444159508,
-0.031474146991968155,
0.06584536284208298,
-0.008539769798517227,
0.03615659847855568,
-0.020720982924103737,
-0.05310401692986488,
-0.03706413134932518,
0.016882270574569702,
-0.01123557984828949,
0.028696222230792046,
-0.0066118692047894,
-0.03235544636845589,
-0.0... |
dfdefac0-c76c-4b44-8a12-912159f142d1 | simultaneous_parts_removal_limit
parts during one iteration.
simultaneous_parts_removal_limit
set to
0
means unlimited.
sleep_before_commit_local_part_in_replicated_table_ms {#sleep_before_commit_local_part_in_replicated_table_ms}
For testing. Do not change it.
sleep_before_loading_outdated_parts_ms {#slee... | {"source_file": "merge-tree-settings.md"} | [
0.021613435819745064,
0.032440152019262314,
-0.02138350158929825,
0.021650590002536774,
0.005971967242658138,
-0.08861706405878067,
-0.09598797559738159,
0.007406497374176979,
-0.026331691071391106,
-0.00147442112211138,
0.031706299632787704,
0.04880494624376297,
-0.0012576801236718893,
-0... |
5d6591ad-23e2-4092-9b91-c5991ea9c03b | use_async_block_ids_cache {#use_async_block_ids_cache}
If true, we cache the hash sums of the async inserts.
Possible values:
-
true
-
false
A block bearing multiple async inserts will generate multiple hash sums.
When some of the inserts are duplicated, keeper will only return one
duplicated hash sum in one... | {"source_file": "merge-tree-settings.md"} | [
-0.03704366087913513,
0.012389752082526684,
-0.062669537961483,
0.022913893684744835,
-0.0007429872639477253,
-0.021323049440979958,
0.03633305802941322,
-0.02632904425263405,
0.023783890530467033,
-0.04378129169344902,
-0.010901317000389099,
0.05894844979047775,
0.03895464539527893,
-0.06... |
60354c9a-fde1-48e3-9ef7-f0b5622d059f | If true prefetching of data from remote filesystem is used for the next
column during merge
wait_for_unique_parts_send_before_shutdown_ms {#wait_for_unique_parts_send_before_shutdown_ms}
Before shutdown table will wait for required amount time for unique parts
(exist only on current replica) to be fetched by othe... | {"source_file": "merge-tree-settings.md"} | [
-0.006541278678923845,
-0.0023074925411492586,
-0.04289969801902771,
0.024947429075837135,
0.019130930304527283,
-0.05569161847233772,
-0.06001932919025421,
0.10401950031518936,
-0.03002612106502056,
0.07300447672605515,
-0.002533476334065199,
0.07126367837190628,
-0.006751947104930878,
-0... |
f821cb00-0960-4f0b-9d1c-9350fa821ead | If zero copy replication is enabled sleep random amount of time up to 500ms
before trying to lock for merge or mutation.
zookeeper_session_expiration_check_period {#zookeeper_session_expiration_check_period}
ZooKeeper session expiration check period, in seconds.
Possible values:
- Any positive integer. | {"source_file": "merge-tree-settings.md"} | [
-0.03395978733897209,
-0.0169528778642416,
-0.0414714440703392,
-0.01076028123497963,
0.044779155403375626,
-0.07122280448675156,
0.00010655886580934748,
-0.01334240660071373,
0.048665232956409454,
0.04898477718234062,
0.026920294389128685,
-0.026997871696949005,
0.00991881638765335,
0.021... |
d95fc32f-3a49-406c-bfee-81b60cdacaac | description: 'Constraints on settings can be defined in the
profiles
section of
the
user.xml
configuration file and prohibit users from changing some of the settings
with the
SET
query.'
sidebar_label: 'Constraints on settings'
sidebar_position: 62
slug: /operations/settings/constraints-on-settings
title: 'Co... | {"source_file": "constraints-on-settings.md"} | [
0.03301476687192917,
0.016140161082148552,
-0.06757163256406784,
0.013981472700834274,
-0.09882811456918716,
0.029376788064837456,
0.01142145972698927,
0.034902364015579224,
-0.19857759773731232,
-0.0658736452460289,
0.007602585479617119,
-0.02299675904214382,
0.12932521104812622,
-0.06540... |
09989e0e-faf2-4a59-8a5f-40de27ae2564 | is enabled:
xml
<access_control_improvements>
<settings_constraints_replace_previous>true</settings_constraints_replace_previous>
</access_control_improvements>
:::
Multiple constraint profiles {#multiple-constraint-profiles}
If there are multiple profiles active for a user, then constraints are merged.
The M... | {"source_file": "constraints-on-settings.md"} | [
0.05058244243264198,
-0.011659697629511356,
-0.06408273428678513,
0.06585358083248138,
-0.028848586603999138,
0.03396027535200119,
0.022776998579502106,
0.006915121339261532,
-0.09551627188920975,
-0.027661172673106194,
0.06408326327800751,
0.05906861275434494,
0.07728435099124908,
-0.0642... |
39a57d64-e11f-4439-a754-c21e6e9ea93b | Example {#example-mergetree}
You can forbid creating new tables with explicitly specified
storage_policy
xml
<profiles>
<default>
<constraints>
<merge_tree_storage_policy>
<const/>
</merge_tree_storage_policy>
</constraints>
</default>
</profiles> | {"source_file": "constraints-on-settings.md"} | [
0.03286522626876831,
-0.04478565603494644,
-0.09010348469018936,
0.024885013699531555,
-0.02460598759353161,
-0.042166899889707565,
-0.0255704615265131,
0.028593290597200394,
-0.09537485986948013,
0.07777310162782669,
0.08768431097269058,
-0.0592547208070755,
0.1321098357439041,
-0.0233971... |
e77fd567-0dba-4e8a-9f2e-9eafa99f3417 | description: 'An experimental technique intended to allow to set more flexible memory
limits for queries.'
slug: /operations/settings/memory-overcommit
title: 'Memory overcommit'
doc_type: 'reference'
Memory overcommit
Memory overcommit is an experimental technique intended to allow to set more flexible memory ... | {"source_file": "memory-overcommit.md"} | [
-0.005950729828327894,
0.01436699740588665,
-0.07238668948411942,
0.060379549860954285,
-0.0184768196195364,
-0.030419761314988136,
0.04908246919512749,
0.05382118746638298,
-0.019680103287100792,
0.047590576112270355,
0.021291177719831467,
0.07906630635261536,
0.044602178037166595,
-0.088... |
28252dd8-da32-466c-a6f0-009f7a300c30 | description: 'Table of Contents page for Settings'
sidebar_position: 1
slug: /operations/settings/
title: 'Settings'
doc_type: 'landing-page' | {"source_file": "index.md"} | [
0.030125418677926064,
0.0011012483155354857,
0.01080603152513504,
0.018186796456575394,
-0.023157788440585136,
0.014174268580973148,
-0.018642930313944817,
0.0581742599606514,
-0.08492475748062134,
0.05535976588726044,
-0.026475220918655396,
0.03237980231642723,
0.06092185899615288,
-0.020... |
764f8ed9-fe2e-4c64-bd01-2e3c69427b00 | description: 'TCP connection limits.'
sidebar_label: 'TCP connection limits'
slug: /operations/settings/tcp-connection-limits
title: 'TCP connection limits'
doc_type: 'reference'
TCP connection limits
Overview {#overview}
You may have a ClickHouse TCP connection (i.e., one through the
command-line client
)
dis... | {"source_file": "tcp-connection-limits.md"} | [
-0.008446021936833858,
-0.04132697358727455,
-0.014793689362704754,
0.04733789339661598,
-0.10718898475170135,
-0.01737995073199272,
0.07524619251489639,
-0.009282566606998444,
0.028511272743344307,
-0.016995523124933243,
-0.016424527391791344,
-0.0026344743091613054,
0.07039660960435867,
... |
50f53296-9038-4943-96e6-ca2db267c1bb | description: 'Settings for query permissions.'
sidebar_label: 'Permissions for queries'
sidebar_position: 58
slug: /operations/settings/permissions-for-queries
title: 'Permissions for queries'
doc_type: 'reference'
Permissions for queries
Queries in ClickHouse can be divided into several types:
Read data quer... | {"source_file": "permissions-for-queries.md"} | [
-0.0025613366160541773,
-0.05041666701436043,
-0.09106718748807907,
0.0735434889793396,
-0.07805707305669785,
-0.026207251474261284,
0.08963853865861893,
-0.009042277932167053,
-0.03323911130428314,
0.029510140419006348,
0.01455972995609045,
0.02213304117321968,
0.04957438260316849,
-0.034... |
84cfefd3-7a08-4a40-83a1-99d4257931a4 | description: 'This section contains descriptions of server settings i.e settings
which cannot be changed at the session or query level.'
keywords: ['global server settings']
sidebar_label: 'Server Settings'
sidebar_position: 57
slug: /operations/server-configuration-parameters/settings
title: 'Server Settings'
doc_type... | {"source_file": "settings.md"} | [
0.018360106274485588,
0.022428538650274277,
-0.0590536966919899,
0.009884408675134182,
-0.030781619250774384,
-0.0012968459632247686,
0.06030075624585152,
0.00206425110809505,
-0.09709780663251877,
0.008210886269807816,
0.0330042764544487,
0.036614637821912766,
0.045735880732536316,
-0.034... |
01be0164-cf5b-480e-8f2e-af56f1f4ac3d | | Setting | Description ... | {"source_file": "settings.md"} | [
0.02712794952094555,
0.04274369403719902,
-0.006541161797940731,
-0.007242037449032068,
-0.060901835560798645,
0.07167726010084152,
0.012856175191700459,
0.04759989306330681,
0.0283141378313303,
-0.05707637965679169,
0.021467838436365128,
-0.04857417568564415,
-0.025479990988969803,
-0.050... |
993e8033-619e-4d1d-b2b7-dd60d33f3873 | system.users
) will be accessible. |
true
|
|
select_from_information_schema_requires_grant
| Sets whether
SELECT * FROM information_schema.<table>
requires any grants and can be executed by any user. If set to true, then this query requires
GRANT SELECT ON information_schema.<table>
, just as for ordinary tabl... | {"source_file": "settings.md"} | [
0.01694832369685173,
0.017655037343502045,
-0.07618525624275208,
0.0692007914185524,
-0.017760543152689934,
0.028467006981372833,
0.01628698967397213,
-0.018976176157593727,
-0.1034649908542633,
-0.008709846995770931,
0.00023489973682444543,
0.015882790088653564,
0.05214175581932068,
-0.05... |
876136ce-187d-46ac-81b0-a8ae2d35865c | Example:
xml
<access_control_improvements>
<users_without_row_policies_can_read_rows>true</users_without_row_policies_can_read_rows>
<on_cluster_queries_require_cluster_grant>true</on_cluster_queries_require_cluster_grant>
<select_from_system_db_requires_grant>true</select_from_system_db_requires_grant>
... | {"source_file": "settings.md"} | [
0.02387596294283867,
-0.01799188368022442,
-0.13801835477352142,
0.10545829683542252,
-0.07041164487600327,
0.019551655277609825,
0.08959347009658813,
-0.06347770243883133,
-0.03998934105038643,
0.03365490585565567,
0.059297703206539154,
-0.020574918016791344,
0.08773915469646454,
-0.07191... |
3030cad3-c908-4d1d-a26f-c581676f81b2 | allowed_disks_for_table_engines {#allowed_disks_for_table_engines}
List of disks allowed for use with Iceberg
async_insert_queue_flush_on_shutdown {#async_insert_queue_flush_on_shutdown}
If true queue of asynchronous inserts is flushed on graceful shutdown
async_insert_threads {#async_insert_threads}
Maximum ... | {"source_file": "settings.md"} | [
-0.024496911093592644,
-0.03815675154328346,
-0.09041335433721542,
0.09549051523208618,
-0.03926188126206398,
-0.06774545460939407,
-0.028003333136439323,
-0.03449682891368866,
0.03830099105834961,
0.0200051199644804,
0.029740607365965843,
0.07708606868982315,
0.019186170771718025,
-0.0864... |
6e25cd0b-3f62-492f-a26b-eb0d9c530042 | asynchronous_insert_log {#asynchronous_insert_log}
Settings for the
asynchronous_insert_log
system table for logging async inserts.
Example
xml
<clickhouse>
<asynchronous_insert_log>
<database>system</database>
<table>asynchronous_insert_log</table>
<flush_interval_milliseconds>750... | {"source_file": "settings.md"} | [
0.04461017996072769,
-0.05652175098657608,
-0.01597307249903679,
0.05465085059404373,
-0.007696920074522495,
-0.04914608225226402,
-0.020751018077135086,
0.04968228191137314,
0.01589164510369301,
0.02802089974284172,
0.042193569242954254,
-0.027421943843364716,
0.018470363691449165,
-0.053... |
9d456b70-0de4-4e46-af2b-b8feca53126d | The maximum number of threads that will be used for performing flush operations for
Buffer-engine tables
in the background.
background_common_pool_size {#background_common_pool_size}
The maximum number of threads that will be used for performing a variety of operations (mostly garbage collection) for
*MergeTree-... | {"source_file": "settings.md"} | [
-0.00013531299191527069,
-0.06680969893932343,
-0.008885395713150501,
-0.06117534637451172,
-0.04266241192817688,
-0.11563912034034729,
-0.06202086806297302,
0.002739212941378355,
0.01659921184182167,
-0.002401514444500208,
-0.03680502623319626,
-0.0016725413734093308,
-0.010492539033293724,... |
52c9a77a-3ee9-4242-90f9-e0a2f0e8149e | The maximum number of threads that will be used for executing background operations for message streaming.
background_move_pool_size {#background_move_pool_size}
The maximum number of threads that will be used for moving data parts to another disk or volume for *MergeTree-engine tables in a background.
background... | {"source_file": "settings.md"} | [
0.05436588451266289,
-0.06928817927837372,
-0.019795969128608704,
-0.056776583194732666,
-0.02062172070145607,
-0.07472222298383713,
-0.004829784855246544,
0.02026091143488884,
0.027920588850975037,
-0.016962092369794846,
-0.020166443660855293,
0.0011270507238805294,
-0.03540321812033653,
... |
52307bbe-235a-463d-9f75-ad2db85ff829 | backups {#backups}
Settings for backups, used when executing the
BACKUP
and
RESTORE
statements.
The following settings can be configured by sub-tags:
| Setting | Type | Description | Default |
|:-|:-|:-|:-|
|
allow_concurrent_backups
| Bool | Determines whether multiple backup operations can run concurren... | {"source_file": "settings.md"} | [
-0.03600925952196121,
-0.03658164665102959,
-0.08394947648048401,
0.03161944821476936,
0.03181308135390282,
-0.07512493431568146,
-0.08739232271909714,
0.03430325910449028,
-0.028849385678768158,
0.03269645571708679,
0.029422147199511528,
0.024889742955565453,
0.06354926526546478,
-0.09242... |
f9221ddf-557a-4ebc-a954-29fc5b48b148 | :::note
A value of
0
(default) means unlimited.
:::
bcrypt_workfactor {#bcrypt_workfactor}
Work factor for the
bcrypt_password
authentication type which uses the
Bcrypt algorithm
.
The work factor defines the amount of computations and time needed to compute the hash and verify the password.
xml
<bcrypt_work... | {"source_file": "settings.md"} | [
0.005495391320437193,
0.020994111895561218,
-0.1164206936955452,
-0.014937411062419415,
-0.03670196607708931,
-0.012669870629906654,
0.0636734738945961,
0.056748807430267334,
0.04832923412322998,
-0.02186845801770687,
-0.01502230390906334,
-0.03518670052289963,
0.09880591183900833,
0.00829... |
dffb1c3e-ee2f-4691-b19e-f11dd2b6e1d4 | level
– Compression level. See
Codecs
.
:::note
You can configure multiple
<case>
sections.
:::
Actions when conditions are met
:
If a data part matches a condition set, ClickHouse uses the specified compression method.
If a data part matches multiple condition sets, ClickHouse uses the first matched co... | {"source_file": "settings.md"} | [
-0.06463127583265305,
0.057037353515625,
-0.06339769065380096,
0.019538531079888344,
-0.020073436200618744,
-0.0785403773188591,
-0.01734497770667076,
-0.022635186091065407,
-0.03900527581572533,
-0.03431442379951477,
0.0036664220970124006,
-0.018171394243836403,
0.042544104158878326,
-0.0... |
0cf9596b-b1da-4f73-b76c-1aef93fea1c0 | cpu_slot_preemption {#cpu_slot_preemption}
Defines how workload scheduling for CPU resources (MASTER THREAD and WORKER THREAD) is done.
If
true
(recommended), accounting is done based on actual CPU time consumed. A fair number of CPU time would be allocated to competing workloads. Slots are allocated for a lim... | {"source_file": "settings.md"} | [
-0.022060038521885872,
0.011459138244390488,
-0.030209455639123917,
0.034692488610744476,
-0.05388510599732399,
-0.05894740670919418,
0.0220656581223011,
-0.020482297986745834,
0.0796966701745987,
0.009002210572361946,
-0.003396834945306182,
0.024875978007912636,
-0.043368276208639145,
-0.... |
1f955627-3252-45b7-adb1-41f2d31d7c5f | | Setting | Description | Default | Note ... | {"source_file": "settings.md"} | [
0.021931346505880356,
0.04789365455508232,
0.009840734302997589,
-0.00783087220042944,
-0.05389880761504173,
0.06963074207305908,
0.020435001701116562,
0.05022745952010155,
0.023072700947523117,
-0.046744488179683685,
0.02361503802239895,
-0.04869977384805679,
-0.03256634250283241,
-0.0365... |
1d536073-3daf-4c6a-a418-b00a97671fc8 | engine
is specified for system table,
settings
parameter should be specified directly inside 'engine' |
|
flush_interval_milliseconds
| Interval for flushing data from the buffer in memory to the table. |
7500
... | {"source_file": "settings.md"} | [
0.05215015634894371,
-0.003218637080863118,
-0.055169206112623215,
0.016664383932948112,
-0.03549404442310333,
-0.06777101010084152,
-0.04898446798324585,
0.08127137273550034,
-0.052395232021808624,
0.03625103831291199,
0.0024011624045670033,
0.027358507737517357,
0.0003977076557930559,
-0... |
29f280e2-6ad5-46a0-bfc6-0c01bfcf6378 | The default server configuration file
config.xml
contains the following settings section:
xml
<crash_log>
<database>system</database>
<table>crash_log</table>
<partition_by>toYYYYMM(event_date)</partition_by>
<flush_interval_milliseconds>7500</flush_interval_milliseconds>
<max_size_rows>1024</ma... | {"source_file": "settings.md"} | [
0.06892554461956024,
-0.03413079306483269,
-0.0525689497590065,
-0.010733459144830704,
-0.016549689695239067,
-0.052560869604349136,
0.006859130226075649,
0.10345961898565292,
0.03401568531990051,
0.03142579644918442,
0.057953499257564545,
0.07139924168586731,
0.002480977913364768,
-0.0356... |
4d506356-a08a-4756-a243-918cd7f41821 | :::note
A value of
0
means "immediately".
:::
database_catalog_unused_dir_rm_timeout_sec {#database_catalog_unused_dir_rm_timeout_sec}
Parameter of a task that cleans up garbage from
store/
directory.
If some subdirectory is not used by clickhouse-server and it was previously "hidden"
(see
database_catalog_un... | {"source_file": "settings.md"} | [
-0.0016087598633021116,
-0.0076408083550632,
-0.07280360162258148,
0.06545194238424301,
0.030504409223794937,
-0.06177607551217079,
0.06551817804574966,
-0.06766781210899353,
0.0632685199379921,
0.015751030296087265,
0.135140061378479,
0.026060868054628372,
0.028615815564990044,
0.04454864... |
123e1870-1aa5-43b7-82b1-ab8bea3e2434 | See also:
- "
Dictionaries
".
Example
xml
<dictionaries_config>*_dictionary.xml</dictionaries_config>
dictionaries_lazy_load {#dictionaries_lazy_load}
Lazy loading of dictionaries.
If
true
, then each dictionary is loaded on the first use. If the loading is failed, the function that was using the dictiona... | {"source_file": "settings.md"} | [
0.010467130690813065,
-0.020344948396086693,
-0.04702368006110191,
0.03351902589201927,
-0.08947014063596725,
-0.11657623201608658,
-0.023125996813178062,
-0.01549880113452673,
-0.0070579261519014835,
-0.0426986888051033,
0.04211548715829849,
0.0752725601196289,
0.045152127742767334,
-0.06... |
4134b78c-57cc-40e7-bd73-616cf9897dcf | disk_connections_store_limit {#disk_connections_store_limit}
Connections above this limit reset after use. Set to 0 to turn connection cache off. The limit applies to the disks connections.
disk_connections_warn_limit {#disk_connections_warn_limit}
Warning massages are written to the logs if number of in-use conn... | {"source_file": "settings.md"} | [
-0.014177427627146244,
0.03215475380420685,
-0.09282360225915909,
0.02625281549990177,
-0.041514161974191666,
-0.015644438564777374,
0.0061257691122591496,
-0.001025223871693015,
-0.01439214963465929,
0.03600088506937027,
0.029803505167365074,
0.06492950767278671,
0.05590057745575905,
-0.0... |
fb789970-2ea4-4335-a74e-23d8ab0eca6e | Manage executing
distributed ddl queries
(
CREATE
,
DROP
,
ALTER
,
RENAME
) on cluster.
Works only if
ZooKeeper
is enabled.
The configurable settings within
<distributed_ddl>
include:
| Setting | Description ... | {"source_file": "settings.md"} | [
-0.0008970063063316047,
-0.06336402893066406,
0.030519332736730576,
0.036665838211774826,
-0.06663715839385986,
-0.08304577320814133,
-0.04167931526899338,
-0.04778772592544556,
0.010191444307565689,
0.021419880911707878,
0.009746542200446129,
-0.11169444769620895,
0.017874810844659805,
-0... |
cd770c26-7296-48e8-a817-d093387a756b | Allows resolve names to ipv4 addresses.
dns_allow_resolve_names_to_ipv6 {#dns_allow_resolve_names_to_ipv6}
Allows resolve names to ipv6 addresses.
dns_cache_max_entries {#dns_cache_max_entries}
Internal DNS cache max entries.
dns_cache_update_period {#dns_cache_update_period}
Internal DNS cache update perio... | {"source_file": "settings.md"} | [
-0.02944863773882389,
0.0079949414357543,
0.0027318953070789576,
-0.010258620604872704,
-0.06883499771356583,
-0.039632782340049744,
-0.012055374681949615,
-0.09707120805978775,
0.02916567027568817,
0.0831751823425293,
-0.006240307819098234,
0.03728443384170532,
-0.0047041322104632854,
-0.... |
5e52568b-c597-4787-a615-880113137c7c | :::note
Everything mentioned above can be applied for
aes_256_gcm_siv
(but the key must be 32 bytes long).
:::
error_log {#error_log}
It is disabled by default.
Enabling
To manually turn on error history collection
system.error_log
, create
/etc/clickhouse-server/config.d/error_log.xml
with the following c... | {"source_file": "settings.md"} | [
0.0029608041513711214,
0.010522570461034775,
-0.023263365030288696,
-0.0023775543086230755,
-0.003716601524502039,
-0.07947280257940292,
0.010606972500681877,
-0.006771635729819536,
-0.046075526624917984,
0.017414452508091927,
0.0374443419277668,
-0.03171169012784958,
0.021295009180903435,
... |
73222306-333b-4dfa-831b-69fbef47c391 | events_cumulative
– Sending cumulative data from the
system.events
table.
asynchronous_metrics
– Sending data from the
system.asynchronous_metrics
table.
You can configure multiple
<graphite>
clauses. For instance, you can use this for sending different data at different intervals.
Example
xml
<graphi... | {"source_file": "settings.md"} | [
-0.04190732166171074,
0.02594754472374916,
-0.03721349686384201,
0.021805787459015846,
-0.07050944864749908,
-0.08737140893936157,
-0.02158387191593647,
0.03866522014141083,
-0.051258981227874756,
0.04758547991514206,
0.058354903012514114,
-0.09258756786584854,
0.046322211623191833,
-0.057... |
0559d86a-7e6f-4e3d-85bb-3201e9b7ddf1 | The following settings can be configured by sub-tags:
| Sub-tags | Definition |
|----------------------|-------------------------------------------------------------------... | {"source_file": "settings.md"} | [
-0.1066412702202797,
0.046345505863428116,
-0.026647817343473434,
-0.05200379714369774,
-0.02752080373466015,
-0.0573878213763237,
-0.032075267285108566,
0.036889493465423584,
-0.033812135457992554,
-0.00741230184212327,
-0.03218439593911171,
-0.08753553032875061,
0.0373251847922802,
0.018... |
2a615f81-52db-411c-8b23-03ec4121f31d | handler
contains the following settings, which can be configured by sub-tags:
| Sub-tags | Definition |
|--------------------|--------------------------... | {"source_file": "settings.md"} | [
0.0022468692623078823,
-0.024299256503582,
-0.06750370562076569,
0.04488313943147659,
-0.05500118434429169,
-0.03776117041707039,
0.03238164633512497,
0.03641591966152191,
-0.0782516673207283,
-0.006142797414213419,
0.0044457027688622475,
-0.04669822007417679,
0.025383276864886284,
-0.0218... |
a161cb51-e1f9-4959-9173-503b5bcf9955 | Used to add headers to the response in an
OPTIONS
HTTP request.
The
OPTIONS
method is used when making CORS preflight requests.
For more information, see
OPTIONS
.
Example:
xml
<http_options_response>
<header>
<name>Access-Control-Allow-Origin</name>
<value>*</value>
</heade... | {"source_file": "settings.md"} | [
-0.034139517694711685,
0.09344083070755005,
-0.07976173609495163,
-0.06337365508079529,
-0.054298751056194305,
-0.031198516488075256,
-0.0674973726272583,
-0.01687723584473133,
-0.010567070916295052,
0.02215147390961647,
0.05199167877435684,
-0.0029994931537657976,
-0.055526457726955414,
0... |
472a094b-3a51-4e9e-bc2b-f75aefae20d5 | Secondary index mark cache policy name.
index_mark_cache_size {#index_mark_cache_size}
Maximum size of cache for index marks.
:::note
A value of
0
means disabled.
This setting can be modified at runtime and will take effect immediately.
:::
index_mark_cache_size_ratio {#index_mark_cache_size_ratio}
The... | {"source_file": "settings.md"} | [
0.008047117851674557,
0.024846786633133888,
-0.00953642837703228,
0.039623089134693146,
-0.019537338986992836,
-0.03320341557264328,
-0.014228953048586845,
0.02675173059105873,
-0.03449004888534546,
-0.017333807423710823,
0.05506177991628647,
0.0523177832365036,
-0.03776254504919052,
-0.03... |
4e4c5803-3abd-4aba-896b-50c85c2970f7 | After configuring all replicas set
allow_empty
to
false
or remove this setting. It makes authentication with new credentials mandatory.
To change existing credentials, move the username and the password to
interserver_http_credentials.old
section and update
user
and
password
with new values. At this point t... | {"source_file": "settings.md"} | [
-0.10527002066373825,
0.013475670479238033,
-0.018636954948306084,
-0.071963831782341,
-0.06381358951330185,
-0.06316184252500534,
-0.054601240903139114,
-0.029163211584091187,
-0.009897184558212757,
0.031798768788576126,
0.038139160722494125,
-0.00045761774526908994,
0.09824152290821075,
... |
0b11d1bd-a472-4af1-a4b9-05598a5ef183 | jemalloc_enable_global_profiler {#jemalloc_enable_global_profiler}
Enable jemalloc's allocation profiler for all threads. Jemalloc will sample allocations and all deallocations for sampled allocations.
Profiles can be flushed using SYSTEM JEMALLOC FLUSH PROFILE which can be used for allocation analysis.
Samples can a... | {"source_file": "settings.md"} | [
0.06679117679595947,
-0.029903899878263474,
-0.10925988852977753,
-0.00774490786716342,
-0.04919129237532616,
-0.04258650168776512,
0.03666356950998306,
0.03628195822238922,
-0.10457775741815567,
0.028186514973640442,
-0.032735154032707214,
0.001511230948381126,
0.010902668349444866,
-0.04... |
2db969f7-b057-466d-b53c-21ff08425406 | | Setting | Description ... | {"source_file": "settings.md"} | [
0.006768797058612108,
0.05490603297948837,
-0.008100280538201332,
-0.013823586516082287,
-0.060014259070158005,
0.06565206497907639,
0.015915783122181892,
0.04085556045174599,
0.024794938042759895,
-0.07015565782785416,
0.02678033895790577,
-0.03776750713586807,
-0.015760915353894234,
-0.0... |
7fe9e55c-2e0f-4cef-bf80-4ab18a1ed90e | |
verification_cooldown
| A period of time, in seconds, after a successful bind attempt, during which a user will be assumed to be successfully authenticated for all consecutive requests without contacting the LDAP server. Specify
0
(the default) to disable caching and force contacting the LDAP server for ea... | {"source_file": "settings.md"} | [
-0.056930407881736755,
0.03600209206342697,
-0.037120599299669266,
-0.014328725636005402,
-0.03706946223974228,
-0.06679379940032959,
0.002449631690979004,
-0.04874272644519806,
-0.03302060440182686,
-0.04811694473028183,
0.07750300318002701,
0.002876026090234518,
0.04232921823859215,
0.02... |
1d3a322b-b067-426c-b2f4-3f4b2fb28a83 | |
tls_ca_cert_file
| path to CA certificate file. ... | {"source_file": "settings.md"} | [
0.036482539027929306,
0.06845264881849289,
-0.04742556810379028,
-0.009263129904866219,
0.009534490294754505,
-0.025462977588176727,
-0.04921082779765129,
-0.0317651629447937,
0.021856551989912987,
-0.07469000667333603,
0.06309441477060318,
-0.031997960060834885,
0.04761771857738495,
0.018... |
09bee1bf-b8ba-4b38-81bd-773f51e39a16 | Setting
user_dn_detection
can be configured with sub-tags:
| Setting | Description ... | {"source_file": "settings.md"} | [
-0.015746617689728737,
-0.01836397312581539,
-0.01579834334552288,
-0.05910888686776161,
-0.06711805611848831,
-0.04216407611966133,
0.0808972641825676,
0.026125963777303696,
-0.016306836158037186,
-0.10031449049711227,
0.018442774191498756,
-0.04850952699780464,
0.012914090417325497,
0.01... |
5a5bfa95-f789-44a5-8c45-bc36ea80f7fc | Example (typical Active Directory with configured user DN detection for further role mapping):
xml
<my_ad_server>
<host>localhost</host>
<port>389</port>
<bind_dn>EXAMPLE\{user_name}</bind_dn>
<user_dn_detection>
<base_dn>CN=Users,DC=example,DC=com</base_dn>
<search_filter>(&(objec... | {"source_file": "settings.md"} | [
-0.025664284825325012,
-0.03636441007256508,
-0.09725052118301392,
-0.06883479654788971,
-0.10866834968328476,
-0.04502105340361595,
0.08043470233678818,
-0.047711990773677826,
-0.02068927139043808,
-0.038384079933166504,
0.040564682334661484,
0.013006379827857018,
0.024462249130010605,
-0... |
4fe6a697-1977-4efa-b032-8c47ae7c19e3 | | Key | Description |
|------------------------|------------------------------------------------------------------------------------------------------... | {"source_file": "settings.md"} | [
0.0015555497957393527,
0.04938477277755737,
-0.06781656295061111,
-0.019862260669469833,
0.020236698910593987,
-0.035145003348588943,
0.03612441197037697,
0.07813821732997894,
-0.018627557903528214,
0.04001590609550476,
0.09120729565620422,
-0.05377712845802307,
0.06703827530145645,
-0.040... |
f745b38d-00e1-46d6-9c84-b1f5b0f8ac28 | | When using async logging, the max amount of messages that will be kept in the the queue waiting for flushing. Extra messages will be dropped |
|
startup_level
| Startup level is used to set the root logger level at server startup. After startup log level is reverted to the
level
setti... | {"source_file": "settings.md"} | [
-0.019577374681830406,
-0.015841513872146606,
-0.04675060883164406,
0.07347841560840607,
0.031023995950818062,
-0.0652993693947792,
-0.004324700217694044,
-0.02045922912657261,
0.02704562060534954,
0.0002045373694272712,
0.04197787120938301,
0.07077960669994354,
-0.00798866804689169,
-0.02... |
4e159910-a9e4-4ce8-8624-2f4002620dc9 | Log format specifiers
File names in
log
and
errorLog
paths support below format specifiers for the resulting file name (the directory part does not support them).
Column "Example" shows the output at
2023-07-06 18:32:07
. | {"source_file": "settings.md"} | [
0.059388745576143265,
-0.006539021153002977,
-0.04718291386961937,
-0.008526543155312538,
0.07356168329715729,
-0.018915168941020966,
-0.03936704248189926,
0.07421882450580597,
0.04351675137877464,
0.032253313809633255,
0.03219881281256676,
-0.02376304753124714,
0.003627805970609188,
0.066... |
6297896c-427e-40b6-9c79-c9c1ceaf65d6 | | Specifier | Description | Example |
|--------------|---------------------------------------------------------------------------------------------------------------------|------------------------... | {"source_file": "settings.md"} | [
0.041220348328351974,
0.06312332302331924,
-0.06822928041219711,
-0.015116143971681595,
-0.08008792251348495,
0.08249332010746002,
-0.030615370720624924,
0.07101243734359741,
-0.05321400985121727,
-0.009620768018066883,
0.04528052359819412,
-0.13198545575141907,
0.01984265260398388,
0.0043... |
d4708e9c-fde1-460e-9b29-a57a732b3b78 | 27
|
|
%j
| Day of the year as a decimal number (range [001,366]) |
187
|
|
%d
| Day of the month as a zero-padded decimal number (range [01,31]). Single digit is preceded by zero. ... | {"source_file": "settings.md"} | [
0.03521057590842247,
0.05375775322318077,
-0.006846831180155277,
0.028217311948537827,
-0.07283435016870499,
0.030059996992349625,
-0.025153176859021187,
0.010002273134887218,
-0.09591116011142731,
-0.0679725706577301,
-0.0010201656259596348,
-0.07807625085115433,
-0.004970852751284838,
0.... |
583e51f0-ae65-4ff2-8d8f-bfc6371f6f42 | 06:32:07 PM
|
|
%R
| Equivalent to "%H:%M" |
18:32
|
|
%T
| Equivalent to "%H:%M:%S" (the ISO 8601 time format) ... | {"source_file": "settings.md"} | [
0.0601738765835762,
0.02009645476937294,
-0.06050185486674309,
0.008450903929769993,
0.03206067532300949,
0.0564560741186142,
-0.031100349500775337,
0.05777384340763092,
0.009231933392584324,
-0.07053939253091812,
0.025163976475596428,
-0.05565037950873375,
-0.05896274372935295,
-0.0189223... |
231c2956-5d60-4592-8aba-c6888056327e | Example
xml
<logger>
<level>trace</level>
<log>/var/log/clickhouse-server/clickhouse-server-%F-%T.log</log>
<errorlog>/var/log/clickhouse-server/clickhouse-server-%F-%T.err.log</errorlog>
<size>1000M</size>
<count>10</count>
<stream_compress>true</stream_compress>
</logger>
To print log mess... | {"source_file": "settings.md"} | [
0.014063620008528233,
-0.010153839364647865,
-0.0716831386089325,
0.009557642973959446,
0.05889444425702095,
-0.07544643431901932,
0.06989526003599167,
-0.00937009509652853,
0.005994543433189392,
0.0049712820909917355,
0.04582320526242256,
-0.05137743055820465,
0.08337730914354324,
-0.0411... |
4e5f63a5-30ba-469a-9b4d-94baac6de5bb | Log formats
You can specify the log format that will be outputted in the console log. Currently, only JSON is supported.
Example
Here is an example of an output JSON log:
json
{
"date_time_utc": "2024-11-06T09:06:09Z",
"date_time": "1650918987.180175",
"thread_name": "#1",
"thread_id": "254545",
"leve... | {"source_file": "settings.md"} | [
0.02715158835053444,
0.006410819478332996,
-0.060652513056993484,
-0.0457955077290535,
0.0323977991938591,
-0.016084635630249977,
0.0009651866857893765,
0.05887620151042938,
0.028144944459199905,
0.032624296844005585,
-0.038106657564640045,
-0.07640582323074341,
-0.04793795570731163,
0.051... |
376925f3-5bef-4b28-b0ad-59df22ffb3d6 | The number of threads to load active set of data parts (Active ones) at startup.
max_authentication_methods_per_user {#max_authentication_methods_per_user}
The maximum number of authentication methods a user can be created with or altered to.
Changing this setting does not affect existing users. Create/alter authe... | {"source_file": "settings.md"} | [
-0.06653597950935364,
-0.006256135180592537,
-0.05749465897679329,
-0.005632722284644842,
-0.05578549951314926,
-0.09880910813808441,
0.049793001264333725,
-0.015514283441007137,
-0.018803376704454422,
-0.004923896864056587,
0.0009886035695672035,
-0.01437146496027708,
0.07897390425205231,
... |
f3677b36-9496-4214-9a85-cead2b00e1cc | If number of databases is greater than this value, server will throw an exception. 0 means no limitation.
max_database_num_to_warn {#max_database_num_to_warn}
If the number of attached databases exceeds the specified value, clickhouse server will add warning messages to
system.warnings
table.
Example
xml
<ma... | {"source_file": "settings.md"} | [
0.050038810819387436,
-0.05550508201122284,
-0.08736924827098846,
0.01401988510042429,
-0.04579627141356468,
-0.07699333876371384,
0.014728816226124763,
0.003823059145361185,
-0.017662065103650093,
0.03087369166314602,
0.03852633014321327,
-0.04369492083787918,
0.13348226249217987,
-0.0316... |
044b7e5f-ea91-4662-a1ca-a67335aaf1f5 | max_keep_alive_requests {#max_keep_alive_requests}
Maximal number of requests through a single keep-alive connection until it will be closed by ClickHouse server.
Example
xml
<max_keep_alive_requests>10</max_keep_alive_requests>
max_local_read_bandwidth_for_server {#max_local_read_bandwidth_for_server}
The ... | {"source_file": "settings.md"} | [
-0.005618240684270859,
-0.07640688866376877,
-0.12022630870342255,
0.00292671425268054,
-0.03795638680458069,
-0.08656883984804153,
-0.034064821898937225,
-0.00996728427708149,
0.01513568963855505,
0.03247067332267761,
0.023330818861722946,
0.06551896035671234,
0.015028504654765129,
-0.013... |
44f4e284-5d10-486b-9b20-1c8be58d95f0 | Example
xml
<max_part_num_to_warn>400</max_part_num_to_warn>
max_partition_size_to_drop {#max_partition_size_to_drop}
Restriction on dropping partitions.
If the size of a
MergeTree
table exceeds
max_partition_size_to_drop
(in bytes), you can't drop a partition using a
DROP PARTITION
query.
This setting d... | {"source_file": "settings.md"} | [
0.024406572803854942,
0.0063618686981499195,
0.038547366857528687,
-0.008050578646361828,
0.0231704693287611,
-0.047068919986486435,
0.021033236756920815,
0.062167685478925705,
-0.04723123088479042,
-0.00319859036244452,
0.03376585245132446,
-0.016191858798265457,
0.026895886287093163,
-0.... |
070faca8-af7f-4ab8-83c7-f6b4d11be337 | The maximum speed of data exchange over the network in bytes per second for replicated fetches. Zero means unlimited.
max_replicated_sends_network_bandwidth_for_server {#max_replicated_sends_network_bandwidth_for_server}
The maximum speed of data exchange over the network in bytes per second for replicated sends. Z... | {"source_file": "settings.md"} | [
0.0447433665394783,
-0.042310405522584915,
-0.07022911310195923,
0.03114941529929638,
-0.09789340198040009,
-0.08807279914617538,
-0.03518019989132881,
0.032888416200876236,
-0.0045548598282039165,
0.05990155041217804,
0.02888009138405323,
0.029340451583266258,
0.12889939546585083,
-0.0602... |
776ab097-90d7-452f-9f9e-f6f05c41582b | :::note
A value of
0
means that you can delete all tables without any restrictions.
This setting does not require a restart of the ClickHouse server to apply. Another way to disable the restriction is to create the
<clickhouse-path>/flags/force_drop_table
file.
:::
Example
xml
<max_table_size_to_drop>0</max_t... | {"source_file": "settings.md"} | [
-0.0017089671455323696,
-0.016342803835868835,
-0.044946931302547455,
0.02263677679002285,
-0.01862853206694126,
-0.05781956762075424,
0.03267963230609894,
-0.0028423131443560123,
-0.019933976233005524,
0.07122557610273361,
0.08787687122821808,
-0.02637930028140545,
0.06792979687452316,
-0... |
da9cbbd1-6bdd-450f-9a9c-3f1fdac265e4 | :::note
A value of
0
(default) means unlimited.
This setting can be modified at runtime and will take effect immediately. Queries that are already running will remain unchanged.
:::
memory_worker_correct_memory_tracker {#memory_worker_correct_memory_tracker}
Whether background memory worker should correct in... | {"source_file": "settings.md"} | [
0.021695811301469803,
-0.02021155320107937,
-0.08768461644649506,
0.03835710510611534,
-0.02935127727687359,
-0.0460621640086174,
0.0179132129997015,
0.05856341868638992,
-0.05550745502114296,
0.020671050995588303,
0.09173395484685898,
0.023470986634492874,
0.0030920901335775852,
-0.055851... |
1eea971a-5a24-49b0-97c7-3e38c7c9423a | Disabling
To disable
metric_log
setting, you should create the following file
/etc/clickhouse-server/config.d/disable_metric_log.xml
with the following content:
xml
<clickhouse>
<metric_log remove="1" />
</clickhouse>
min_os_cpu_wait_time_ratio_to_drop_connection {#min_os_cpu_wait_time_ratio_to_drop_con... | {"source_file": "settings.md"} | [
0.010286170057952404,
-0.056907378137111664,
0.000005975383828626946,
0.05724122375249863,
-0.026130490005016327,
-0.07556049525737762,
-0.020896853879094124,
-0.036462780088186264,
0.04185859113931656,
-0.04558795318007469,
0.015400286763906479,
-0.001356153399683535,
-0.06752409040927887,
... |
169e9d92-bc99-42e3-86ab-7928d8e2f135 | Example
xml
<mysql_port>9004</mysql_port>
mysql_require_secure_transport {#mysql_require_secure_transport}
If set to true, secure communication is required with clients over
mysql_port
. Connection with option
--ssl-mode=none
will be refused. Use it with
OpenSSL
settings.
openSSL {#openssl}
SSL client/se... | {"source_file": "settings.md"} | [
0.0545160211622715,
0.04619310051202774,
-0.0721714124083519,
-0.005768399219959974,
-0.12295025587081909,
-0.02801322750747204,
-0.014025074429810047,
0.012465271167457104,
0.014076740480959415,
-0.09541519731283188,
0.019623292610049248,
-0.025910744443535805,
0.1455710083246231,
0.04461... |
ac8c7165-b67e-4c21-bcc9-30a4da2ce094 | | Option | Description ... | {"source_file": "settings.md"} | [
0.0203523188829422,
0.06400753557682037,
-0.002552712569013238,
0.014790572226047516,
-0.03682645037770271,
0.05652039125561714,
0.037989646196365356,
0.06060933694243431,
0.035907600075006485,
-0.03890528529882431,
0.03423536196351051,
-0.07793506979942322,
-0.054630763828754425,
-0.02937... |
e0f33ff7-6bea-43e9-bca7-4a0c7ff62f44 | relaxed
|
|
verificationDepth
| The maximum length of the verification chain. Verification will fail if the certificate chain length exceeds the set value. ... | {"source_file": "settings.md"} | [
-0.0697641521692276,
0.06882960349321365,
-0.09002316743135452,
-0.0042588552460074425,
-0.01894000731408596,
-0.05916168913245201,
-0.006631026044487953,
-0.01821085624396801,
-0.028302129358053207,
-0.03567812591791153,
0.02187463641166687,
-0.02011077105998993,
0.04107636213302612,
0.02... |
a3bff434-636d-46a4-bebc-00d74f4d43e6 | $\{application.name\}
|
|
sessionCacheSize
| The maximum number of sessions that the server caches. A value of
0
means unlimited sessions. ... | {"source_file": "settings.md"} | [
-0.006283105351030827,
0.07016214728355408,
-0.02281412109732628,
-0.029571667313575745,
-0.05344400927424431,
-0.08919686824083328,
-0.006939203478395939,
-0.019595099613070488,
0.006636491511017084,
0.0011496980441734195,
-0.04137345030903816,
-0.03720587491989136,
0.029378846287727356,
... |
95c0d6a3-6e17-4990-bd99-3b2e42eabd24 | false
|
|
requireTLSv1_2
| Require a TLSv1.2 connection. Acceptable values:
true
,
false
. ... | {"source_file": "settings.md"} | [
-0.08799949288368225,
-0.0005777428741566837,
-0.03568940609693527,
-0.014215610921382904,
0.01928301900625229,
-0.05453566461801529,
-0.038602013140916824,
-0.027570517733693123,
0.029224269092082977,
-0.04543226957321167,
0.03970231115818024,
-0.026971101760864258,
0.06333685666322708,
-... |
3d497a4a-3dce-4bad-aafd-b98641e93076 | |
preferServerCiphers
| Client-preferred server ciphers. ... | {"source_file": "settings.md"} | [
-0.0318325012922287,
0.019947687163949013,
-0.01512965653091669,
-0.008809790946543217,
-0.008468699641525745,
0.0006324758869595826,
0.003209087997674942,
-0.07620897889137268,
0.03749625012278557,
0.01567729562520981,
-0.002838794607669115,
0.006883712951093912,
0.08411264419555664,
0.05... |
f1994f6d-37ce-434c-897c-ce95ca77a17a | Example of settings:
xml
<openSSL>
<server>
<!-- openssl req -subj "/CN=localhost" -new -newkey rsa:2048 -days 365 -nodes -x509 -keyout /etc/clickhouse-server/server.key -out /etc/clickhouse-server/server.crt -->
<certificateFile>/etc/clickhouse-server/server.crt</certificateFile>
<private... | {"source_file": "settings.md"} | [
0.0006820684648118913,
0.004311383236199617,
-0.04825456067919731,
-0.020902425050735474,
-0.03444121405482292,
-0.08362539857625961,
-0.09486450999975204,
-0.09620895236730576,
0.009437418542802334,
-0.0431487038731575,
0.07688096165657043,
-0.006594827398657799,
0.015756305307149887,
0.0... |
d83c52f6-01c9-4083-9076-7cd8a33efb72 | Requires CAP_SYS_NICE capability, otherwise no-op.
Possible values: -20 to 19.
os_threads_nice_value_zookeeper_client_send_receive {#os_threads_nice_value_zookeeper_client_send_receive}
Linux nice value for send and receive threads in ZooKeeper client. Lower values mean higher CPU priority.
Requires CAP_SYS_NI... | {"source_file": "settings.md"} | [
0.00949961319565773,
0.02109447307884693,
-0.05450276657938957,
0.03038552775979042,
-0.005147627554833889,
-0.047163430601358414,
0.021106641739606857,
0.03716125711798668,
-0.0030824383720755577,
0.051031481474637985,
0.00607399782165885,
0.030951518565416336,
-0.014633601531386375,
-0.0... |
47e5090f-0d0a-4819-8e58-9b28f22161d2 | parts_killer_pool_size {#parts_killer_pool_size}
Threads for cleanup of shared merge tree outdated threads. Only available in ClickHouse Cloud
path {#path}
The path to the directory containing data.
:::note
The trailing slash is mandatory.
:::
Example
xml
<path>/var/lib/clickhouse/</path>
postgresql_port... | {"source_file": "settings.md"} | [
0.020076023414731026,
0.008254949934780598,
-0.052851006388664246,
-0.029878167435526848,
-0.040549956262111664,
-0.05425495281815529,
0.003045408520847559,
-0.054392505437135696,
0.0032482075039297342,
-0.017489386722445488,
0.017495565116405487,
0.019371725618839264,
-0.024618860334157944,... |
8cf603ac-757a-4317-8940-be08da2d5769 | processors_profile_log {#processors_profile_log}
Settings for the
processors_profile_log
system table.
The default settings are:
xml
<processors_profile_log>
<database>system</database>
<table>processors_profile_log</table>
<partition_by>toYYYYMM(event_date)</partition_by>
<flush_interval_mill... | {"source_file": "settings.md"} | [
0.016647426411509514,
-0.009087136946618557,
-0.06917019188404083,
0.028862083330750465,
-0.02139328233897686,
-0.1286800652742386,
-0.038111791014671326,
0.029354168102145195,
-0.046940673142671585,
0.02365322969853878,
0.06195622682571411,
-0.041188642382621765,
-0.00020061763643752784,
... |
a3998c96-20c0-4e3a-9e9d-f0cae0f9aa87 | Configuration template
xml
<proxy>
<http>
<uri>http://proxy1</uri>
<uri>http://proxy2:3128</uri>
</http>
<https>
<uri>http://proxy1:3128</uri>
</https>
</proxy>
Select a parent field in the tabs below to view their children:
| Field | Description ... | {"source_file": "settings.md"} | [
-0.05240130051970482,
0.02434629015624523,
0.0018829845357686281,
-0.0006037911516614258,
-0.07525593042373657,
-0.02907404489815235,
-0.028153665363788605,
-0.04001805931329727,
0.019351884722709656,
-0.027539221569895744,
-0.008002170361578465,
-0.015886709094047546,
0.03709716349840164,
... |
5a5cdd66-278f-441e-9046-1ac8ca8a8919 | <resolver>
for a given protocol is used. Any other
<resolver>
elements for that protocol are ignored. That means load balancing
(if needed) should be implemented by the remote resolver.
:::
| Field | Description ... | {"source_file": "settings.md"} | [
-0.08646184951066971,
0.038376644253730774,
-0.021228384226560593,
-0.010281804017722607,
-0.1336093544960022,
-0.06626792252063751,
-0.05079187825322151,
0.03662065416574478,
0.03847261518239975,
0.010364765301346779,
-0.054261695593595505,
-0.02411399409174919,
0.062396544963121414,
-0.0... |
44cc0dec-1397-4f82-84f0-bb290b224dc5 | :::note
- Changed settings take effect immediately.
- Data for the query cache is allocated in DRAM. If memory is scarce, make sure to set a small value for
max_size_in_bytes
or disable the query cache altogether.
:::
Example
xml
<query_cache>
<max_size_in_bytes>1073741824</max_size_in_bytes>
<max_entries... | {"source_file": "settings.md"} | [
-0.013881963677704334,
-0.0022838888689875603,
-0.08212042599916458,
0.06052281707525253,
-0.09261929988861084,
-0.018174435943365097,
0.009179876185953617,
0.015107899904251099,
-0.06398524343967438,
0.0330391563475132,
0.013137961737811565,
0.010911474004387856,
-0.004364887252449989,
-0... |
57b3c11c-b95a-4624-afe3-c38143f8028a | Config fields
:
| Setting | Description |
|-----------|-------------------------------------------------------------------------------|
|
name
| name for the rule (optional) |
|
regexp
| RE2 co... | {"source_file": "settings.md"} | [
-0.029706604778766632,
-0.006811574101448059,
-0.045703668147325516,
0.06879401952028275,
-0.051031049340963364,
-0.04027971625328064,
0.055815134197473526,
-0.01191931776702404,
0.04923122748732567,
0.009686260484158993,
-0.003996431361883879,
-0.09526021778583527,
0.10596773773431778,
-0... |
775655c3-d842-46c0-b3ae-2eff4fabc136 | query_views_log {#query_views_log}
Setting for logging views (live, materialized etc) dependant of queries received with the
log_query_views=1
setting.
Queries are logged in the
system.query_views_log
table, not in a separate file. You can change the name of the table in the
table
parameter (see below).
I... | {"source_file": "settings.md"} | [
0.024872353300452232,
-0.11469611525535583,
-0.0322817899286747,
0.0396367684006691,
-0.024438846856355667,
-0.0610823892056942,
0.06345558166503906,
-0.07494258880615234,
0.026851730421185493,
0.02294609323143959,
0.04106210172176361,
-0.020932737737894058,
0.03112182952463627,
-0.0243340... |
b9909bf8-57a5-4be0-9d02-3187660ce59b | Empty by default.
Example
xml
<replica_group_name>backups</replica_group_name>
replicated_fetches_http_connection_timeout {#replicated_fetches_http_connection_timeout}
HTTP connection timeout for part fetch requests. Inherited from default profile
http_connection_timeout
if not set explicitly.
replicated_fe... | {"source_file": "settings.md"} | [
-0.010424933396279812,
-0.002400508616119623,
0.012539413757622242,
0.028842126950621605,
-0.017276423051953316,
-0.11295599490404129,
-0.11448604613542557,
-0.00944532174617052,
0.012891135178506374,
0.02489110641181469,
0.06172555685043335,
0.0057021272368729115,
0.0533871203660965,
-0.1... |
a6697f9f-ca01-46e0-8db1-d637d0d51ebb | Recommended usage
xml
<send_crash_reports>
<enabled>true</enabled>
</send_crash_reports>
series_keeper_path {#series_keeper_path}
Path in Keeper with auto-incremental numbers, generated by the
generateSerialID
function. Each series will be a node under this path.
show_addresses_in_stack_traces {#show_add... | {"source_file": "settings.md"} | [
-0.008513089269399643,
-0.03369136154651642,
-0.09153050184249878,
0.029695790261030197,
-0.02660737745463848,
-0.03828797861933708,
-0.01932663284242153,
-0.017158571630716324,
-0.0191947091370821,
0.010311144404113293,
0.019226737320423126,
0.005266670603305101,
0.008462664671242237,
-0.... |
629137ef-14b8-4958-9517-15039618aab4 | The sub-tags above define the following settings for
disks
:
| Setting | Description |
|-------------------------|-------------------------------------------------------------------------------------------------... | {"source_file": "settings.md"} | [
-0.012340010143816471,
-0.003346432000398636,
-0.10034044086933136,
0.019644705578684807,
-0.0055048344656825066,
-0.0520443432033062,
-0.020033618435263634,
0.019966421648859978,
0.03846171125769615,
0.06997131556272507,
0.06666643917560577,
-0.0007283712038770318,
0.05361778661608696,
-0... |
f231a0a4-0b66-4b43-bee0-550c79198289 | | Setting | Description ... | {"source_file": "settings.md"} | [
0.006647093687206507,
0.0547863245010376,
-0.008117456920444965,
-0.013869736343622208,
-0.060154691338539124,
0.06569989025592804,
0.0158355962485075,
0.04094215855002403,
0.02476569265127182,
-0.07007012516260147,
0.02682662568986416,
-0.037792593240737915,
-0.015694770961999893,
-0.0628... |
45d46481-b8f2-4647-a187-9f62f8b991ec | |
max_data_part_size_bytes
| The maximum size of a chunk of data that can reside on any of the disks in this volume. If the merge results in a chunk size expected to be larger than max_data_part_size_bytes, the chunk will be written to the next volume. Basically this feature allows you to store new / small chunks o... | {"source_file": "settings.md"} | [
-0.06289881467819214,
-0.036544155329465866,
-0.024136260151863098,
-0.0255435761064291,
0.05265427380800247,
-0.03702865168452263,
-0.05459597706794739,
0.010475452058017254,
0.0186134185642004,
0.019446419551968575,
0.05636876821517944,
0.10037766396999359,
0.035841576755046844,
-0.03008... |
d55be7b9-ab8b-416d-b767-fbe0eed08b95 | |
prefer_not_to_merge
| Disables merging parts of the data on this volume. Note: this is potentially harmful and can cause slowdown. When this setting is enabled (don't do this), merging data on this volume is prohibited (which is bad). This allows control of how ClickHouse interacts with slow disks. We recomm... | {"source_file": "settings.md"} | [
0.015628162771463394,
-0.00421128561720252,
-0.009391829371452332,
-0.048646874725818634,
-0.025336723774671555,
-0.07143586874008179,
0.005547661334276199,
-0.03584463149309158,
-0.008594035170972347,
-0.028916029259562492,
0.06778894364833832,
0.027144165709614754,
0.012485424987971783,
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.