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

> S3 や Azure Blob Storage などのリモートディスクに保存されたデータファイルに関する情報を含むシステムテーブル。

# system.remote_data_paths

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

リモートディスク (例: S3、Azure Blob Storage) に保存されているデータファイルに関する情報が含まれます。これには、ローカルのメタデータパスとリモートのブロブパスの対応関係も含まれます。

各行は、データファイルに関連付けられた 1 つのリモートブロブオブジェクトを表します。

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

* `disk_name` ([String](/ja/reference/data-types)) — ディスク名。
* `path` ([String](/ja/reference/data-types)) — ディスクのパス。
* `cache_base_path` ([String](/ja/reference/data-types)) — cache ファイルのベースディレクトリ。
* `local_path` ([String](/ja/reference/data-types)) — ClickHouse ファイルのパス。メタデータのパスとしても使用されます。
* `remote_path` ([String](/ja/reference/data-types)) — オブジェクトストレージ内のブロブのパス。ClickHouse ファイルに対応付けられています。
* `size` ([UInt64](/ja/reference/data-types)) — ファイルのサイズ (圧縮後) 。
* `common_prefix_for_blobs` ([String](/ja/reference/data-types)) — オブジェクトストレージ内のブロブに共通するプレフィックス。
* `cache_paths` ([Array(String)](/ja/reference/data-types)) — 対応するブロブの cache ファイル。

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

```sql theme={null}
SELECT * FROM system.remote_data_paths LIMIT 1 FORMAT Vertical;
```

```text theme={null}
Row 1:
──────
disk_name:              s3
path:                   /var/lib/clickhouse/disks/s3/
cache_base_path:        /var/lib/clickhouse/disks/s3_cache/
local_path:             store/123/1234abcd-1234-1234-1234-1234abcd1234/all_0_0_0/data.bin
remote_path:            abc123/all_0_0_0/data.bin
size:                   1048576
common_prefix_for_blobs:
cache_paths:            ['/var/lib/clickhouse/disks/s3_cache/a1/b2/c3d4e5f6']
```

<div id="see-also">
  ## 関連項目
</div>

* [データ保存に外部ストレージを使用する](/ja/reference/engines/table-engines/mergetree-family/mergetree#table_engine-mergetree-s3)
* [外部ストレージを構成する](/ja/concepts/features/configuration/server-config/storing-data#configuring-external-storage)
* [system.disks](/ja/reference/system-tables/disks)
