> ## Documentation Index
> Fetch the complete documentation index at: https://clickhouse.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# クラウドオブジェクトストレージから ClickHouse Cloud にデータを移行する

> オブジェクトストレージから ClickHouse Cloud へのデータ移行

export const Image = ({img, alt, size = "lg"}) => {
  const normalizedSize = ["sm", "md", "lg"].includes(size) ? size : "lg";
  return <div className={`ch-image-${normalizedSize}`}>
      <Frame>
        <img src={img} alt={alt} />
      </Frame>
    </div>;
};

<Image img="https://mintcdn.com/private-7c7dfe99/B2SPNiDHMxYV1gTC/images/integrations/migration/object-storage-01.webp?fit=max&auto=format&n=B2SPNiDHMxYV1gTC&q=85&s=f99c8b1b8f6a9f8a3f5c51826222f058" size="md" alt="セルフマネージド ClickHouse の移行" width="666" height="431" data-path="images/integrations/migration/object-storage-01.webp" />

クラウドオブジェクトストレージをデータレイクとして利用していて、このデータを ClickHouse Cloud にインポートしたい場合、
または現在のデータベースシステムからデータを クラウドオブジェクトストレージ に直接オフロードできる場合は、次のいずれかの
テーブル関数を使って、クラウドオブジェクトストレージ に保存されているデータを ClickHouse Cloud のテーブルへ移行できます。

* [s3](/docs/ja/reference/functions/table-functions/s3) or [s3Cluster](/docs/ja/reference/functions/table-functions/s3Cluster)
* [gcs](/docs/ja/reference/functions/table-functions/gcs)
* [azureBlobStorage](/docs/ja/reference/functions/table-functions/azureBlobStorage)

現在のデータベースシステムからデータを クラウドオブジェクトストレージ に直接オフロードできない場合は、[サードパーティの ETL/ELT ツール](/docs/ja/get-started/migrate/other-methods/etl-tool-to-clickhouse) または [clickhouse-local](/docs/ja/get-started/migrate/other-methods/clickhouse-local-etl) を使用して、現在のデータベースシステムから クラウドオブジェクトストレージ へデータを移動し、
次のステップでそのデータを ClickHouse Cloud のテーブルに移行できます。

これは 2 段階のプロセスですが (まずデータを クラウドオブジェクトストレージ にオフロードし、その後 ClickHouse にロードする) 、
ClickHouse Cloud は クラウドオブジェクトストレージ からの高並列な読み取りを[強力にサポート](https://clickhouse.com/blog/getting-data-into-clickhouse-part-3-s3)しているため、PB 規模までスケールします。
さらに、[Parquet](/docs/ja/reference/formats/Parquet/Parquet) のような高機能かつ圧縮可能なフォーマットも活用できます。

S3 を使用して ClickHouse Cloud にデータを取り込む方法を、具体的なコード例とともに紹介した[ブログ記事](https://clickhouse.com/blog/getting-data-into-clickhouse-part-3-s3)もあります。
