> ## Documentation Index
> Fetch the complete documentation index at: https://private-7c7dfe99-revert-104359-revert-104251-parquet-single.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

> drop table が実行されたものの、データのクリーンアップがまだ行われていないテーブルに関する情報を含むシステムテーブル

# system.dropped_tables

<div id="description">
  ## 説明
</div>

`DROP TABLE` が実行済みで、まだデータのクリーンアップが行われていないテーブルに関する情報が含まれます。

<div id="columns">
  ## カラム
</div>

* `index` ([UInt32](/ja/reference/data-types/int-uint)) — marked\_dropped\_tables キュー内の索引。
* `database` ([String](/ja/reference/data-types/string)) — データベース名。
* `table` ([String](/ja/reference/data-types/string)) — テーブル名。
* `uuid` ([UUID](/ja/reference/data-types/uuid)) — テーブル UUID。
* `engine` ([String](/ja/reference/data-types/string)) — テーブルエンジン名。
* `metadata_dropped_path` ([String](/ja/reference/data-types/string)) — metadata\_dropped ディレクトリ内のテーブルのメタデータファイルのパス。
* `table_dropped_time` ([DateTime](/ja/reference/data-types/datetime)) — テーブルデータの削除を次に試行する予定時刻。通常は、テーブルが drop された時刻に `database_atomic_delay_before_drop_table_sec` を加えた時刻です。

このテーブルには、`Atomic` データベースから削除されたテーブルのみが表示されます。これらのテーブルの `table_dropped_time` は通常、[`database_atomic_delay_before_drop_table_sec`](/ja/reference/settings/server-settings/settings/other#database_atomic_delay_before_drop_table_sec) に基づいて決まります。ClickHouse Cloud の `Shared` データベースでは、復旧期間は代わりに [`database_shared_drop_table_delay_seconds`](/ja/reference/settings/session-settings/database#database_shared_drop_table_delay_seconds) で制御され、デフォルトは 8 時間です。`Shared` データベースから削除されたテーブルは `system.dropped_tables` に表示されません。

<div id="example">
  ## 例
</div>

以下の例では、`dropped_tables` に関する情報を取得する方法を示します。

```sql theme={null}
SELECT *
FROM system.dropped_tables\G
```

```text theme={null}
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
```
