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

> System table containing information about the databases that are available to the current user.

# system.databases

<h2 id="description">
  Description
</h2>

Contains information about the databases that are available to the current user.

<h2 id="columns">
  Columns
</h2>

* `name` ([String](/reference/data-types)) — Database name.
* `engine` ([String](/reference/data-types)) — Database engine.
* `data_path` ([String](/reference/data-types)) — Data path.
* `metadata_path` ([String](/reference/data-types)) — Metadata path.
* `uuid` ([UUID](/reference/data-types)) — Database UUID.
* `engine_full` ([String](/reference/data-types)) — Parameters of the database engine.
* `comment` ([String](/reference/data-types)) — Database comment.
* `is_external` ([UInt8](/reference/data-types)) — Database is external (i.e. PostgreSQL/DataLakeCatalog).

The `name` column from this system table is used for implementing the `SHOW DATABASES` query.

<h2 id="example">
  Example
</h2>

Create a database.

```sql title="Query" theme={null}
CREATE DATABASE test;
```

Check all of the available databases to the user.

```sql title="Query" theme={null}
SELECT * FROM system.databases;
```

```text title="Response" theme={null}
┌─name────────────────┬─engine─────┬─data_path────────────────────┬─metadata_path─────────────────────────────────────────────────────────┬─uuid─────────────────────────────────┬─engine_full────────────────────────────────────────────┬─comment─┐
│ INFORMATION_SCHEMA  │ Memory     │ /data/clickhouse_data/       │                                                                       │ 00000000-0000-0000-0000-000000000000 │ Memory                                                 │         │
│ default             │ Atomic     │ /data/clickhouse_data/store/ │ /data/clickhouse_data/store/f97/f97a3ceb-2e8a-4912-a043-c536e826a4d4/ │ f97a3ceb-2e8a-4912-a043-c536e826a4d4 │ Atomic                                                 │         │
│ information_schema  │ Memory     │ /data/clickhouse_data/       │                                                                       │ 00000000-0000-0000-0000-000000000000 │ Memory                                                 │         │
│ replicated_database │ Replicated │ /data/clickhouse_data/store/ │ /data/clickhouse_data/store/da8/da85bb71-102b-4f69-9aad-f8d6c403905e/ │ da85bb71-102b-4f69-9aad-f8d6c403905e │ Replicated('some/path/database', 'shard1', 'replica1') │         │
│ system              │ Atomic     │ /data/clickhouse_data/store/ │ /data/clickhouse_data/store/b57/b5770419-ac7a-4b67-8229-524122024076/ │ b5770419-ac7a-4b67-8229-524122024076 │ Atomic                                                 │         │
│ test                │ Atomic     │ /data/clickhouse_data/store/ │ /data/clickhouse_data/store/2a1/2a1b3c4d-5e6f-7890-abcd-ef1234567890/ │ 2a1b3c4d-5e6f-7890-abcd-ef1234567890 │ Atomic                                                 │         │
└─────────────────────┴────────────┴──────────────────────────────┴───────────────────────────────────────────────────────────────────────┴──────────────────────────────────────┴────────────────────────────────────────────────────────┴─────────┘
```
