

Terjemahan disediakan oleh mesin penerjemah. Jika konten terjemahan yang diberikan bertentangan dengan versi bahasa Inggris aslinya, utamakan versi bahasa Inggris.

# Ringkasan opsi migrasi
<a name="migration-options"></a>

Tabel ini merangkum karakteristik dan pertimbangan utama untuk setiap opsi migrasi.


| **Fitur** | **Migrasi di tempat** [snapshot](table-migration-inplace.md#in-place-snapshot) | **Migrasi di tempat** [bermigrasi](table-migration-inplace.md#in-place-migrate) | **Migrasi data lengkap** [CTAS atau (BUAT TABELAN\$1SISIPKAN)](table-migration-full.md) | 
| --- | --- | --- | --- | 
| **Perbaikan tata letak data sebagai bagian dari proses migrasi** |  |  |  | 
| [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/id_id/prescriptive-guidance/latest/apache-iceberg-on-aws/migration-options.html) | ![\[No\]](http://docs.aws.amazon.com/id_id/prescriptive-guidance/latest/apache-iceberg-on-aws/images/icon-no.png)Tidak | ![\[No\]](http://docs.aws.amazon.com/id_id/prescriptive-guidance/latest/apache-iceberg-on-aws/images/icon-no.png)Tidak | ![\[Yes\]](http://docs.aws.amazon.com/id_id/prescriptive-guidance/latest/apache-iceberg-on-aws/images/icon-yes.png)Ya | 
| [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/id_id/prescriptive-guidance/latest/apache-iceberg-on-aws/migration-options.html) | ![\[No\]](http://docs.aws.amazon.com/id_id/prescriptive-guidance/latest/apache-iceberg-on-aws/images/icon-no.png)Tidak | ![\[No\]](http://docs.aws.amazon.com/id_id/prescriptive-guidance/latest/apache-iceberg-on-aws/images/icon-no.png)Tidak | ![\[Yes\]](http://docs.aws.amazon.com/id_id/prescriptive-guidance/latest/apache-iceberg-on-aws/images/icon-yes.png)Ya | 
| [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/id_id/prescriptive-guidance/latest/apache-iceberg-on-aws/migration-options.html) | ![\[No\]](http://docs.aws.amazon.com/id_id/prescriptive-guidance/latest/apache-iceberg-on-aws/images/icon-no.png)Tidak | ![\[No\]](http://docs.aws.amazon.com/id_id/prescriptive-guidance/latest/apache-iceberg-on-aws/images/icon-no.png)Tidak | ![\[Yes\]](http://docs.aws.amazon.com/id_id/prescriptive-guidance/latest/apache-iceberg-on-aws/images/icon-yes.png)Ya | 
| [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/id_id/prescriptive-guidance/latest/apache-iceberg-on-aws/migration-options.html) | ![\[No\]](http://docs.aws.amazon.com/id_id/prescriptive-guidance/latest/apache-iceberg-on-aws/images/icon-no.png)Tidak | ![\[No\]](http://docs.aws.amazon.com/id_id/prescriptive-guidance/latest/apache-iceberg-on-aws/images/icon-no.png)Tidak | ![\[Yes\]](http://docs.aws.amazon.com/id_id/prescriptive-guidance/latest/apache-iceberg-on-aws/images/icon-yes.png)Ya | 
| [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/id_id/prescriptive-guidance/latest/apache-iceberg-on-aws/migration-options.html) | ![\[No\]](http://docs.aws.amazon.com/id_id/prescriptive-guidance/latest/apache-iceberg-on-aws/images/icon-no.png)Tidak | ![\[No\]](http://docs.aws.amazon.com/id_id/prescriptive-guidance/latest/apache-iceberg-on-aws/images/icon-no.png)Tidak | ![\[Yes\]](http://docs.aws.amazon.com/id_id/prescriptive-guidance/latest/apache-iceberg-on-aws/images/icon-yes.png)Ya | 
| **Format file yang didukung** | Parket, Avro, ORC | Parket, Avro, ORC | Parket, Avro, ORC, JSON, CSV | 
| **Penggantian tabel sumber dengan tabel Iceberg** | ![\[No\]](http://docs.aws.amazon.com/id_id/prescriptive-guidance/latest/apache-iceberg-on-aws/images/icon-no.png)Tidak(membuat tabel baru, tetapi dengan langkah-langkah tambahan Anda dapat mengganti tabel sumber) | ![\[Yes\]](http://docs.aws.amazon.com/id_id/prescriptive-guidance/latest/apache-iceberg-on-aws/images/icon-yes.png)Ya(membuat tabel cadangan dan mengganti tabel sumber dengan tabel Iceberg) | ![\[No\]](http://docs.aws.amazon.com/id_id/prescriptive-guidance/latest/apache-iceberg-on-aws/images/icon-no.png)Tidak(membuat tabel baru) | 
| **Dampak tabel sumber** |  |  |  | 
| [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/id_id/prescriptive-guidance/latest/apache-iceberg-on-aws/migration-options.html) | Tabel sumber rusak | Merusak tabel cadangan | Aman, sumber tidak terpengaruh | 
| **Dampak tabel gunung es** |  |  |  | 
| [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/id_id/prescriptive-guidance/latest/apache-iceberg-on-aws/migration-options.html) | Meja Gunung Es Corrupts | Meja Gunung Es Corrupts | Tidak berdampak pada tabel Iceberg | 
| [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/id_id/prescriptive-guidance/latest/apache-iceberg-on-aws/migration-options.html) | Tidak terlihat di meja baru(perlu menggabungkan partisi dengan`add_files`) | Tidak terlihat di meja baru(perlu menggabungkan partisi dengan`add_files`) | Tidak terlihat di meja baru(perlu `INSERT INTO` ke tabel baru) | 
| **Biaya** | Rendah | Rendah | Lebih tinggi (penulisan ulang data lengkap) | 
| **Kecepatan migrasi** | Cepat | Cepat | Lebih lambat | 
| **Dapat digunakan untuk bermigrasi ke Tabel Amazon S3** | ![\[No\]](http://docs.aws.amazon.com/id_id/prescriptive-guidance/latest/apache-iceberg-on-aws/images/icon-no.png)Tidak | ![\[No\]](http://docs.aws.amazon.com/id_id/prescriptive-guidance/latest/apache-iceberg-on-aws/images/icon-no.png)Tidak | ![\[Yes\]](http://docs.aws.amazon.com/id_id/prescriptive-guidance/latest/apache-iceberg-on-aws/images/icon-yes.png)Ya | 
| **Membutuhkan DDL manual** | ![\[No\]](http://docs.aws.amazon.com/id_id/prescriptive-guidance/latest/apache-iceberg-on-aws/images/icon-no.png)Tidak(skema dan partisi disalin dari tabel sumber) | ![\[No\]](http://docs.aws.amazon.com/id_id/prescriptive-guidance/latest/apache-iceberg-on-aws/images/icon-no.png)Tidak(skema dan partisi disalin dari tabel sumber) | Jika menggunakan CTAS, hanya memerlukan menentukan partisi | 
| **Penggunaan terbaik** | Migrasi cepat tanpa menulis ulang data, memungkinkan side-by-side penggunaan Hive dan Iceberg untuk pengujian atau transisi bertahap. | Mengganti tabel Hive di tempat tanpa menulis ulang data, ketika peralihan langsung dapat diterima. | Optimalisasi Gunung Es penuh dengan penulisan ulang data. Ideal saat mendesain ulang partisi atau skema, atau meningkatkan tata letak dan kinerja. Selalu direkomendasikan jika memungkinkan. | 