CLICKHOUSEDOCS-191: Updated query_log description. (#7559)

This commit is contained in:
BayoNet 2019-11-01 17:18:37 +03:00 committed by Ivan Blinkov
parent 4081b0be90
commit 92da4ddf49
2 changed files with 11 additions and 11 deletions

View File

@ -396,7 +396,7 @@ Columns:
Contains information about execution of queries. For each query, you can see processing start time, duration of processing, error messages and other information.
!!! note
!!! note "Note"
The table doesn't contain input data for `INSERT` queries.
ClickHouse creates this table only if the [query_log](server_settings/settings.md#server_settings-query-log) server parameter is specified. This parameter sets the logging rules, such as the logging interval or the name of the table the queries will be logged in.
@ -410,11 +410,11 @@ The `system.query_log` table registers two kinds of queries:
Columns:
- `type` (UInt8) — Type of event that occurred when executing the query. Possible values:
- 1 — Successful start of query execution.
- 2 — Successful end of query execution.
- 3 — Exception before the start of query execution.
- 4 — Exception during the query execution.
- `type` (`Enum8`) — Type of event that occurred when executing the query. Values:
- `'QueryStart' = 1` — Successful start of query execution.
- `'QueryFinish' = 2` — Successful end of query execution.
- `'ExceptionBeforeStart' = 3` — Exception before the start of query execution.
- `'ExceptionWhileProcessing' = 4` — Exception during the query execution.
- `event_date` (Date) — Event date.
- `event_time` (DateTime) — Event time.
- `query_start_time` (DateTime) — Start time of query execution.

View File

@ -407,11 +407,11 @@ ClickHouse создаёт таблицу только в том случае, к
Столбцы:
- `type` (UInt8) — тип события, произошедшего при выполнении запроса. Возможные значения:
- 1 — успешное начало выполнения запроса.
- 2 — успешное завершение выполнения запроса.
- 3 — исключение перед началом обработки запроса.
- 4 — исключение во время обработки запроса.
- `type` (`Enum8`) — тип события, произошедшего при выполнении запроса. Значения:
- `'QueryStart' = 1` — успешное начало выполнения запроса.
- `'QueryFinish' = 2` — успешное завершение выполнения запроса.
- `'ExceptionBeforeStart' = 3` — исключение перед началом обработки запроса.
- `'ExceptionWhileProcessing' = 4` — исключение во время обработки запроса.
- `event_date` (Date) — дата события.
- `event_time` (DateTime) — время события.
- `query_start_time` (DateTime) — время начала обработки запроса.