mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-22 23:52:03 +00:00
Update the setting
Добавил еще две системные таблицы в описание.
This commit is contained in:
parent
a61a139632
commit
b4b9859ff9
@ -3569,13 +3569,13 @@ Default value: `1000`.
|
||||
|
||||
## log_queries_probability {#log-queries-probability}
|
||||
|
||||
Allows a user to write to [query_log](../../operations/system-tables/query_log.md) system table only a sample of queries selected randomly with the specified probability. It helps to reduce the load with a large volume of queries in a second.
|
||||
Allows a user to write to [query_log](../../operations/system-tables/query_log.md), [query_thread_log](../../operations/system-tables/query_thread_log.md), and [query_views_log](../../operations/system-tables/query_views_log.md) system tables only a sample of queries selected randomly with the specified probability. It helps to reduce the load with a large volume of queries in a second.
|
||||
|
||||
Possible values:
|
||||
|
||||
- 0 — Queries are not logged in `query_log`.
|
||||
- Positive floating-point number in the range [0..1]. For example, if the setting value is `0,5`, about half of the queries are logged in `query_log`.
|
||||
- 1 — All queries are logged in `query_log`.
|
||||
- 0 — Queries are not logged in tables.
|
||||
- Positive floating-point number in the range [0..1]. For example, if the setting value is `0,5`, about half of the queries are logged in tables.
|
||||
- 1 — All queries are logged in tables.
|
||||
|
||||
Default value: `1`.
|
||||
|
||||
|
@ -11,6 +11,8 @@ The flushing period of data is set in `flush_interval_milliseconds` parameter of
|
||||
|
||||
ClickHouse does not delete data from the table automatically. See [Introduction](../../operations/system-tables/index.md#system-tables-introduction) for more details.
|
||||
|
||||
You can use the [log_queries_probability](../../operations/settings/settings.md#log-queries-probability) setting to set the probability with which queries are registered in the `query_thread_log` table.
|
||||
|
||||
Columns:
|
||||
|
||||
- `event_date` ([Date](../../sql-reference/data-types/date.md)) — The date when the thread has finished execution of the query.
|
||||
|
@ -11,6 +11,8 @@ The flushing period of data is set in `flush_interval_milliseconds` parameter of
|
||||
|
||||
ClickHouse does not delete data from the table automatically. See [Introduction](../../operations/system-tables/index.md#system-tables-introduction) for more details.
|
||||
|
||||
You can use the [log_queries_probability](../../operations/settings/settings.md#log-queries-probability) setting to set the probability with which queries are registered in the `query_views_log` table.
|
||||
|
||||
Columns:
|
||||
|
||||
- `event_date` ([Date](../../sql-reference/data-types/date.md)) — The date when the last event of the view happened.
|
||||
|
Loading…
Reference in New Issue
Block a user