跳到主要内容
跳到主要内容

system.dropped_tables

包含有关已执行删除表操作的信息,但尚未执行数据清理。

列:

  • index (UInt32) — 标记的 deleted_tables 队列中的索引。
  • database (String) — 数据库。
  • table (String) — 表名。
  • uuid (UUID) — 表的 uuid。
  • engine (String) — 表引擎名称。
  • metadata_dropped_path (String) — 元数据删除目录中表的元数据文件路径。
  • table_dropped_time (DateTime) — 下一个计划删除表数据的时间。通常是在表被删除时加上 database_atomic_delay_before_drop_table_sec 的时间。

示例

以下示例展示如何获取关于 dropped_tables 的信息。