mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-10 01:25:21 +00:00
Comments in config.xml; reset values for production use case
This commit is contained in:
parent
439777ef23
commit
c40ffb88c6
@ -139,11 +139,17 @@
|
|||||||
|
|
||||||
<!-- Simple server-wide memory profiler. Collect a stack trace at every peak allocation step (in bytes).
|
<!-- Simple server-wide memory profiler. Collect a stack trace at every peak allocation step (in bytes).
|
||||||
Data will be stored in system.trace_log table with query_id = empty string.
|
Data will be stored in system.trace_log table with query_id = empty string.
|
||||||
Zero means disabled. Minimal effective value is 4 MiB.
|
Zero means disabled.
|
||||||
-->
|
-->
|
||||||
<total_memory_profiler_step>1</total_memory_profiler_step>
|
<total_memory_profiler_step>4194304</total_memory_profiler_step>
|
||||||
|
|
||||||
<total_memory_tracker_sample_probability>1</total_memory_tracker_sample_probability>
|
<!-- Collect random allocations and deallocations and write them into system.trace_log with 'MemorySample' trace_type.
|
||||||
|
The probability is for every alloc/free regardless to the size of the allocation.
|
||||||
|
Note that sampling happens only when the amount of untracked memory exceeds the untracked memory limit,
|
||||||
|
which is 4 MiB by default but can be lowered if 'total_memory_profiler_step' is lowered.
|
||||||
|
You may want to set 'total_memory_profiler_step' to 1 for extra fine grained sampling.
|
||||||
|
-->
|
||||||
|
<total_memory_tracker_sample_probability>0</total_memory_tracker_sample_probability>
|
||||||
|
|
||||||
<!-- Set limit on number of open files (default: maximum). This setting makes sense on Mac OS X because getrlimit() fails to retrieve
|
<!-- Set limit on number of open files (default: maximum). This setting makes sense on Mac OS X because getrlimit() fails to retrieve
|
||||||
correct maximum value. -->
|
correct maximum value. -->
|
||||||
|
Loading…
Reference in New Issue
Block a user