MAPREDUCE服务 MRS-收集ClickHouse系统表转储日志:操作场景

时间:2024-04-22 14:52:02

操作场景

在日常使用ClickHouse时,如果出现一些异常故障,需要紧急重启恢复业务,在紧急重启之前,需要及时转储ClickHouse各系统表状态信息,用于问题定位,提升ClickHouse问题定位的效率。

针对不同的系统表日志可以分为实时转储和一键转储,如下表所示:

系统表转储日志

系统表

实时转储系统表日志

  • system.asynchronous_metrics
  • system.clusters
  • system.distribution_queue
  • system.events
  • system.grants
  • system.mutations
  • system.processes
  • system.metrics
  • system.part_moves_between_shards
  • system.replicas
  • system.replicated_fetches
  • system.replication_queue

一键转储系统表日志

  • system.distributed_ddl_queue
  • system.errors
  • system.parts
  • system.parts_columns
  • system.query_log
  • system.query_thread_log
  • system.trace_log
support.huaweicloud.com/cmpntguide-lts-mrs/mrs_01_249173.html