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

> Системная таблица, содержащая информацию обо всех отсоединённых таблицах.

# system.detached_tables

<div id="description">
  ## Описание
</div>

Содержит сведения о каждой отсоединённой таблице.

<div id="columns">
  ## Столбцы
</div>

* `database` ([String](/ru/reference/data-types)) — Имя базы данных, в которой находится таблица.
* `table` ([String](/ru/reference/data-types)) — Имя таблицы.
* `uuid` ([UUID](/ru/reference/data-types)) — UUID таблицы (база данных Atomic).
* `metadata_path` ([String](/ru/reference/data-types)) — Путь к метаданным таблицы в файловой системе.
* `is_permanently` ([UInt8](/ru/reference/data-types)) — Таблица была отсоединена безвозвратно.

<div id="example">
  ## Пример
</div>

```sql theme={null}
SELECT * FROM system.detached_tables FORMAT Vertical;
```

```text theme={null}
Row 1:
──────
database:                   base
table:                      t1
uuid:                       81b1c20a-b7c6-4116-a2ce-7583fb6b6736
metadata_path:              /var/lib/clickhouse/store/461/461cf698-fd0b-406d-8c01-5d8fd5748a91/t1.sql
is_permanently:             1
```
