The following content of this documentation page has been machine-translated. But unlike other websites, it is not done on the fly. This translated text lives on GitHub repository alongside main ClickHouse codebase and waits for fellow native speakers to make it more human-readable.

    系统。part_log

    该 表只有当创建 指定了服务器设置。

    system.part_log 表包含以下列:

    • event_type (Enum) — Type of the event that occurred with the data part. Can have one of the following values:
      • NEW_PART — Inserting of a new data part.
      • MERGE_PARTS — Merging of data parts.
      • DOWNLOAD_PART — Downloading a data part.
      • REMOVE_PART — Removing or detaching a data part using DETACH PARTITION.
      • MUTATE_PART — Mutating of a data part.
    • (Date) — Event date.
    • event_time (DateTime) — Event time.
    • duration_ms (UInt64) — Duration.
    • database (String) — Name of the database the data part is in.
    • table (String) — Name of the table the data part is in.
    • part_name (String) — Name of the data part.
    • rows (UInt64) — The number of rows in the data part.
    • (UInt64) — Size of the data part in bytes.
    • merged_from (Array(String)) — An array of names of the parts which the current part was made up from (after the merge).
    • bytes_uncompressed (UInt64) — Size of uncompressed bytes.
    • read_rows (UInt64) — The number of rows was read during the merge.
    • read_bytes (UInt64) — The number of bytes was read during the merge.
    • exception (String) — Text message of the occurred error.