

本文為英文版的機器翻譯版本，如內容有任何歧義或不一致之處，概以英文版為準。

# 選擇遷移策略
<a name="choose-strategy"></a>

 在大多數資料庫遷移中，您可以選擇重新託管、複寫或重構。任何這些策略都可以為您效勞。指導原則應該是如何從遷移中獲得最大利益。選擇重構您的應用程式並遷移到 Aurora 等雲端原生資料庫，可讓您增強資料庫應用程式。不過，根據您的工作負載複雜性，重構資料庫可能耗時且資源密集。

 WQF 分類可協助您決定何時應該考慮特定的遷移策略。較高的 WQF 類別表示所需的遷移工作很重要；因此，您可能想要選擇另一個選項，例如重新託管或轉譯，以在可接受的時間範圍內完成遷移。下表顯示基於 WQF 類別的建議策略。


****  

| 類別 | 工作負載複雜性 | 工作負載 | 遷移策略 | 
| --- | --- | --- | --- | 
| 1 |  ![\[Blue rectangular icon representing a cloud or network storage service.\]](http://docs.aws.amazon.com/zh_tw/prescriptive-guidance/latest/strategy-database-migration/images/one-bar.png)  | ODBC/JBDC 工作負載 | 重新考慮的候選者 | 
| 2 |  ![\[Solid light blue square background with no additional elements or features.\]](http://docs.aws.amazon.com/zh_tw/prescriptive-guidance/latest/strategy-database-migration/images/two-bar.png)  | 輕量的專屬功能工作負載 | 重新考慮的候選者 | 
| 3 |  ![\[Solid light blue background with no additional elements or features.\]](http://docs.aws.amazon.com/zh_tw/prescriptive-guidance/latest/strategy-database-migration/images/three-bar.png)  | 繁重的專屬功能工作負載 | 重構或轉譯的候選者 | 
| 4 |  ![\[Blue rectangular shape representing a basic geometric form or color swatch.\]](http://docs.aws.amazon.com/zh_tw/prescriptive-guidance/latest/strategy-database-migration/images/four-bar.png)  | 引擎特定工作負載 | 複寫或重新託管的候選者 | 
| 5 |  ![\[Blue rectangular shape representing a basic geometric element or UI component.\]](http://docs.aws.amazon.com/zh_tw/prescriptive-guidance/latest/strategy-database-migration/images/five-bar.png)  | 非可攜、高風險或lift-and-shift工作負載 | 複寫或重新託管的候選者 | 

當重構涉及的複雜性很高時，重新託管和轉換選項是合適的。在這些案例中，根據您的現代化需求，您可能會考慮在完成遷移至 AWS 雲端之後重構資料庫。