Back to Clickhouse

system.dropped_tables

docs/en/operations/system-tables/dropped_tables.md

26.4.1.1-new716 B
Original Source

Contains information about tables that drop table has been executed on but for which data cleanup has not yet been performed.

Columns:

<!--AUTOGENERATED_START--> <!--AUTOGENERATED_END-->

Example

The following example shows how to get information about dropped_tables.

sql
SELECT *
FROM system.dropped_tables\G
text
Row 1:
──────
index:                 0
database:              default
table:                 test
uuid:                  03141bb2-e97a-4d7c-a172-95cc066bb3bd
engine:                MergeTree
metadata_dropped_path: /data/ClickHouse/build/programs/data/metadata_dropped/default.test.03141bb2-e97a-4d7c-a172-95cc066bb3bd.sql
table_dropped_time:    2023-03-16 23:43:31