CLICKHOUSEDOCS-466: EN docs for query_profiler* settings.

This commit is contained in:
BayoNet 2019-11-20 12:15:52 +03:00
parent 9388ec6b13
commit 194c25a2a7
2 changed files with 42 additions and 1 deletions

2
contrib/poco vendored

@ -1 +1 @@
Subproject commit 2b273bfe9db89429b2040c024484dee0197e48c7
Subproject commit 6216cc01a107ce149863411ca29013a224f80343

View File

@ -994,4 +994,45 @@ Lower values mean higher priority. Threads with low `nice` priority values are e
Default value: 0.
## query_profiler_real_time_period_ns {#query_profiler_real_time_period_ns}
Sets the period for a real clock timer of the query profiler. Real clock timer counts wall-clock time.
Possible values:
- Positive integer number of nanoseconds.
Recommended values:
- 10000000 (100 times a second) nanosecods and more for for single queries.
- 1000000000 (once a second) for cluster-wide profiling.
- 0 for turning off the timer.
Type: [UInt64](../../data_types/int_uint.md).
Default value: 1000000000 nanoseconds.
## query_profiler_cpu_time_period_ns {#query_profiler_cpu_time_period_ns}
Sets the period for a CPU clock timer of the query profiler. Real clock timer counts CPU time.
Possible values:
- Positive integer number of nanoseconds.
Recommended values:
- 10000000 (100 times a second) nanosecods and more for for single queries.
- 1000000000 (once a second) for cluster-wide profiling.
- 0 for turning off the timer.
Type: [UInt64](../../data_types/int_uint.md).
Default value: 1000000000 nanoseconds.
[Original article](https://clickhouse.yandex/docs/en/operations/settings/settings/) <!-- hide -->