Skip to main content
Skip to main content

system.crash_log

包含有关致命错误堆栈跟踪的信息.该表默认不存在于数据库中, 仅在发生致命错误时才创建.

列信息:

  • event_date (DateTime) — 事件日期.
  • event_time (DateTime) — 事件时间.
  • timestamp_ns (UInt64) — 以纳秒为单位的事件时间戳.
  • signal (Int32) — 信号编号.
  • thread_id (UInt64) — 线程ID.
  • query_id (String) — 查询ID.
  • trace (Array(UInt64)) — 崩溃时的堆栈跟踪.每个元素都是 ClickHouse 服务器进程内的一个虚拟内存地址.
  • trace_full (Array(String)) — 崩溃时的堆栈跟踪.每个元素在 ClickHouse 服务器进程中包含一个被调用的方法.
  • version (String) — ClickHouse 服务器版本.
  • revision (UInt32) — ClickHouse 服务器订正版本.
  • build_id (String) — 编译器生成的 BuildID.

案例

查询:

结果 (部分):

另请参阅

原始文章