mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-21 01:00:48 +00:00
CLICKHOUSEDOCS-191: Updated query_log description. (#7559)
This commit is contained in:
parent
4081b0be90
commit
92da4ddf49
@ -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.
|
||||
|
@ -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) — время начала обработки запроса.
|
||||
|
Loading…
Reference in New Issue
Block a user