跳转到主内容
跳转到主内容

system.filesystem_cache_log

包含远程文件系统上对象的文件系统缓存中发生的所有事件历史记录。

可随时安全地截断或删除该表。

列:

  • hostname (LowCardinality(String)) — 主机名
  • event_date (Date) — 事件日期
  • event_time (DateTime) — 事件时间
  • query_id (String) — 查询 ID
  • source_file_path (String) — 文件系统中的 File 段路径
  • file_segment_range (Tuple(UInt64, UInt64)) — File 段范围
  • total_requested_range (Tuple(UInt64, UInt64)) — 完整读取范围
  • key (String) — File 段键
  • offset (UInt64) — File 段偏移量
  • size (UInt64) — 读取大小
  • read_type (String) — 读取类型:READ_FROM_CACHE、READ_FROM_FS_AND_DOWNLOADED_TO_CACHE、READ_FROM_FS_BYPASSING_CACHE
  • read_from_cache_attempted (UInt8) — 是否尝试从缓存中读取
  • read_buffer_id (String) — 内部实现中的读取缓冲区 ID
  • user_id (String) — 创建该 File 段的用户 ID