

翻訳は機械翻訳により提供されています。提供された翻訳内容と英語版の間で齟齬、不一致または矛盾がある場合、英語版が優先します。

# 移行オプションの概要
<a name="migration-options"></a>

この表は、各移行オプションの主な特徴と考慮事項をまとめたものです。


| **機能** | **インプレース移行** [スナップショット](table-migration-inplace.md#in-place-snapshot) | **インプレース移行** [migrate](table-migration-inplace.md#in-place-migrate) | **フルデータ移行** [CTAS または (CREATE TABLE \+ INSERT)](table-migration-full.md) | 
| --- | --- | --- | --- | 
| **移行プロセスの一環としてのデータレイアウトの改善** |  |  |  | 
| [See the AWS documentation website for more details](http://docs.aws.amazon.com/ja_jp/prescriptive-guidance/latest/apache-iceberg-on-aws/migration-options.html) |  ![](http://docs.aws.amazon.com/ja_jp/prescriptive-guidance/latest/apache-iceberg-on-aws/images/icon-no.png) いいえ |  ![](http://docs.aws.amazon.com/ja_jp/prescriptive-guidance/latest/apache-iceberg-on-aws/images/icon-no.png) いいえ |  ![](http://docs.aws.amazon.com/ja_jp/prescriptive-guidance/latest/apache-iceberg-on-aws/images/icon-yes.png) はい | 
| [See the AWS documentation website for more details](http://docs.aws.amazon.com/ja_jp/prescriptive-guidance/latest/apache-iceberg-on-aws/migration-options.html) |  ![](http://docs.aws.amazon.com/ja_jp/prescriptive-guidance/latest/apache-iceberg-on-aws/images/icon-no.png) いいえ |  ![](http://docs.aws.amazon.com/ja_jp/prescriptive-guidance/latest/apache-iceberg-on-aws/images/icon-no.png) いいえ |  ![](http://docs.aws.amazon.com/ja_jp/prescriptive-guidance/latest/apache-iceberg-on-aws/images/icon-yes.png) はい | 
| [See the AWS documentation website for more details](http://docs.aws.amazon.com/ja_jp/prescriptive-guidance/latest/apache-iceberg-on-aws/migration-options.html) |  ![](http://docs.aws.amazon.com/ja_jp/prescriptive-guidance/latest/apache-iceberg-on-aws/images/icon-no.png) いいえ |  ![](http://docs.aws.amazon.com/ja_jp/prescriptive-guidance/latest/apache-iceberg-on-aws/images/icon-no.png) いいえ |  ![](http://docs.aws.amazon.com/ja_jp/prescriptive-guidance/latest/apache-iceberg-on-aws/images/icon-yes.png) はい | 
| [See the AWS documentation website for more details](http://docs.aws.amazon.com/ja_jp/prescriptive-guidance/latest/apache-iceberg-on-aws/migration-options.html) |  ![](http://docs.aws.amazon.com/ja_jp/prescriptive-guidance/latest/apache-iceberg-on-aws/images/icon-no.png) いいえ |  ![](http://docs.aws.amazon.com/ja_jp/prescriptive-guidance/latest/apache-iceberg-on-aws/images/icon-no.png) いいえ |  ![](http://docs.aws.amazon.com/ja_jp/prescriptive-guidance/latest/apache-iceberg-on-aws/images/icon-yes.png) はい | 
| [See the AWS documentation website for more details](http://docs.aws.amazon.com/ja_jp/prescriptive-guidance/latest/apache-iceberg-on-aws/migration-options.html) |  ![](http://docs.aws.amazon.com/ja_jp/prescriptive-guidance/latest/apache-iceberg-on-aws/images/icon-no.png) いいえ |  ![](http://docs.aws.amazon.com/ja_jp/prescriptive-guidance/latest/apache-iceberg-on-aws/images/icon-no.png) いいえ |  ![](http://docs.aws.amazon.com/ja_jp/prescriptive-guidance/latest/apache-iceberg-on-aws/images/icon-yes.png) はい | 
| **サポートされているファイル形式** | Parquet、Avro、ORC | Parquet、Avro、ORC | Parquet、Avro、ORC、JSON、CSV | 
| **Iceberg テーブルによるソーステーブルの置換** |  ![](http://docs.aws.amazon.com/ja_jp/prescriptive-guidance/latest/apache-iceberg-on-aws/images/icon-no.png) いいえ<br />(新しいテーブルを作成します が、追加の手順でソーステーブルを置き換えることができます) |  ![](http://docs.aws.amazon.com/ja_jp/prescriptive-guidance/latest/apache-iceberg-on-aws/images/icon-yes.png) はい<br />(バックアップテーブルを作成し、ソーステーブルを Iceberg テーブルに置き換えます) |  ![](http://docs.aws.amazon.com/ja_jp/prescriptive-guidance/latest/apache-iceberg-on-aws/images/icon-no.png) いいえ<br />(新しいテーブルを作成します) | 
| **ソーステーブルの影響** |  |  |  | 
| [See the AWS documentation website for more details](http://docs.aws.amazon.com/ja_jp/prescriptive-guidance/latest/apache-iceberg-on-aws/migration-options.html) | ソーステーブルの破損 | バックアップテーブルの破損 | 安全でソースに影響なし | 
| **Iceberg テーブルの影響** |  |  |  | 
| [See the AWS documentation website for more details](http://docs.aws.amazon.com/ja_jp/prescriptive-guidance/latest/apache-iceberg-on-aws/migration-options.html) | Iceberg テーブルの破損 | Iceberg テーブルの破損 | Iceberg テーブルに影響を与えない | 
| [See the AWS documentation website for more details](http://docs.aws.amazon.com/ja_jp/prescriptive-guidance/latest/apache-iceberg-on-aws/migration-options.html) | 新しいテーブルには表示されません<br />( にパーティションを組み込む必要があります`add_files`) | 新しいテーブルには表示されません<br />( にパーティションを組み込む必要があります`add_files`) | 新しいテーブルには表示されません<br />(`INSERT INTO`新しいテーブルに必要) | 
| **コスト** | 低 | 低 | 高 (フルデータ書き換え) | 
| **移行速度** | 高速 | 高速 | 低速 | 
| **Amazon S3 Tables への移行に使用できます** |  ![](http://docs.aws.amazon.com/ja_jp/prescriptive-guidance/latest/apache-iceberg-on-aws/images/icon-no.png) いいえ |  ![](http://docs.aws.amazon.com/ja_jp/prescriptive-guidance/latest/apache-iceberg-on-aws/images/icon-no.png) いいえ |  ![](http://docs.aws.amazon.com/ja_jp/prescriptive-guidance/latest/apache-iceberg-on-aws/images/icon-yes.png) はい | 
| **手動 DDL が必要** |  ![](http://docs.aws.amazon.com/ja_jp/prescriptive-guidance/latest/apache-iceberg-on-aws/images/icon-no.png) いいえ<br />(スキーマとパーティションはソーステーブルからコピーされます) |  ![](http://docs.aws.amazon.com/ja_jp/prescriptive-guidance/latest/apache-iceberg-on-aws/images/icon-no.png) いいえ<br />(スキーマとパーティションはソーステーブルからコピーされます) | CTAS を使用する場合、 ではパーティショニングのみを指定する必要があります | 
| **最適な使用法** | データを書き換えることなく迅速に移行できるため、テストや段階的な移行に Hive と Iceberg をside-by-sideして使用できます。 | 即時スイッチオーバーが許容される場合に、データを書き換えずに Hive テーブルを置き換えます。 | データ書き換えによる Iceberg 最適化。パーティションやスキーマを再設計する場合や、レイアウトとパフォーマンスを向上させる場合に最適です。可能な場合は、常に推奨されます。 | 