mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-26 09:32:01 +00:00
DOCAPI-6890: system.parts.is_frozen description. (#5537)
* DOCAPI-6890: system.parts.is_frozen description. * DOCAPI-6890: Typo fix.
This commit is contained in:
commit
3c158faf16
@ -210,6 +210,8 @@ Formats:
|
||||
|
||||
- engine (String) – Name of the table engine without parameters.
|
||||
|
||||
- is_frozen (UInt8) – Flag that shows partition data backup existence. 1, the backup exists. 0, the backup doesn't exist. For more details, see [FREEZE PARTITION](../query_language/alter.md#alter_freeze-partition)
|
||||
|
||||
## system.part_log {#system_tables-part-log}
|
||||
|
||||
The `system.part_log` table is created only if the [part_log](server_settings/settings.md#server_settings-part-log) server setting is specified.
|
||||
@ -268,15 +270,15 @@ Contains information about queries execution. For each query, you can see proces
|
||||
|
||||
!!! 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. For example, a logging interval or name of a table the queries will be logged in.
|
||||
|
||||
To enable query logging, set the parameter [log_queries](settings/settings.md#settings-log-queries) to 1. For details, see the [Settings](settings/settings.md) section.
|
||||
|
||||
The `system.query_log` table registers two kinds of queries:
|
||||
|
||||
|
||||
1. Initial queries, that were run directly by the client.
|
||||
2. Child queries that were initiated by other queries (for distributed query execution). For such a kind of queries, information about the parent queries is shown in the `initial_*` columns.
|
||||
2. Child queries that were initiated by other queries (for distributed query execution). For such a kind of queries, information about the parent queries is shown in the `initial_*` columns.
|
||||
|
||||
Columns:
|
||||
|
||||
@ -284,22 +286,22 @@ Columns:
|
||||
- 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.
|
||||
- 4 — Exception during the query execution.
|
||||
- `event_date` (Date) — Event date.
|
||||
- `event_time` (DateTime) — Event time.
|
||||
- `query_start_time` (DateTime) — Time of the query processing start.
|
||||
- `query_duration_ms` (UInt64) — Duration of the query processing.
|
||||
- `query_duration_ms` (UInt64) — Duration of the query processing.
|
||||
- `read_rows` (UInt64) — Number of read rows.
|
||||
- `read_bytes` (UInt64) — Number of read bytes.
|
||||
- `written_rows` (UInt64) — For `INSERT` queries, number of written rows. For other queries, the column value is 0.
|
||||
- `written_bytes` (UInt64) — For `INSERT` queries, number of written bytes. For other queries, the column value is 0.
|
||||
- `result_rows` (UInt64) — Number of rows in a result.
|
||||
- `result_rows` (UInt64) — Number of rows in a result.
|
||||
- `result_bytes` (UInt64) — Number of bytes in a result.
|
||||
- `memory_usage` (UInt64) — Memory consumption by the query.
|
||||
- `query` (String) — Query string.
|
||||
- `exception` (String) — Exception message.
|
||||
- `stack_trace` (String) — Stack trace (a list of methods called before the error occurred). An empty string, if the query is completed successfully.
|
||||
- `is_initial_query` (UInt8) — Kind of query. Possible values:
|
||||
- `is_initial_query` (UInt8) — Kind of query. Possible values:
|
||||
- 1 — Query was initiated by the client.
|
||||
- 0 — Query was initiated by another query for distributed query execution.
|
||||
- `user` (String) — Name of the user initiated the current query.
|
||||
@ -321,7 +323,7 @@ Columns:
|
||||
- `client_version_minor` (UInt32) — Minor version of the [clickhouse-client](../interfaces/cli.md).
|
||||
- `client_version_patch` (UInt32) — Patch component of the [clickhouse-client](../interfaces/cli.md) version.
|
||||
- `http_method` (UInt8) — HTTP method initiated the query. Possible values:
|
||||
- 0 — The query was launched from the TCP interface.
|
||||
- 0 — The query was launched from the TCP interface.
|
||||
- 1 — `GET` method is used.
|
||||
- 2 — `POST` method is used.
|
||||
- `http_user_agent` (String) — The `UserAgent` header passed in the HTTP request.
|
||||
@ -518,13 +520,13 @@ This table contains the following columns (the type of the corresponding column
|
||||
- `engine` (String) — Table engine name (without parameters).
|
||||
- `is_temporary` (UInt8) - Flag that indicates whether the table is temporary.
|
||||
- `data_path` (String) - Path to the table data in the file system.
|
||||
- `metadata_path` (String) - Path to the table metadata in the file system.
|
||||
- `metadata_path` (String) - Path to the table metadata in the file system.
|
||||
- `metadata_modification_time` (DateTime) - Time of latest modification of the table metadata.
|
||||
- `dependencies_database` (Array(String)) - Database dependencies.
|
||||
- `dependencies_table` (Array(String)) - Table dependencies ([MaterializedView](table_engines/materializedview.md) tables based on the current table).
|
||||
- `create_table_query` (String) - The query that was used to create the table.
|
||||
- `engine_full` (String) - Parameters of the table engine.
|
||||
- `partition_key` (String) - The partition key expression specified in the table.
|
||||
- `partition_key` (String) - The partition key expression specified in the table.
|
||||
- `sorting_key` (String) - The sorting key expression specified in the table.
|
||||
- `primary_key` (String) - The primary key expression specified in the table.
|
||||
- `sampling_key` (String) - The sampling key expression specified in the table.
|
||||
|
Loading…
Reference in New Issue
Block a user