準備移轉
移轉之前,請根據來源 MS SQL Server 資料庫的大小需求在 Oracle Cloud Infrastructure 上佈建 Oracle Autonomous Database 例項,然後安裝並設定 Oracle SQL Developer。
在雲端執行處理上佈建 Autonomous Database
根據來源 MS SQL Server 資料庫的大小需求,在 Oracle Cloud Infrastructure 上佈建 Oracle Autonomous Database 執行處理。
視需要執行下列先決條件檢查步驟:
- 開啟 Oracle Cloud Infrastructure 主控台。
- 從左邊導覽功能表中,按一下 Oracle Database,然後視您的工作負載而定,按一下 Autonomous Data Warehouse、Autonomous JSON Database 或 Autonomous Transaction Processing。此範例使用 Autonomous Data Warehouse。
-
選擇區域。
-
選擇區間。
在 Oracle Cloud Infrastructure 主控台上,「週期狀態」會顯示「啟動設定」,直到有新的資料庫為止。
安裝 Oracle SQL Developer
下載 Oracle SQL Developer 並安裝至來源 SQL Server 主機,然後將它連線至目標自治式資料庫。
- 將 Oracle SQL Developer 下載至來源 SQL Server 主機 Windows 系統。請參閱 SQL Developer 下載。
- 解壓縮檔案以安裝 SQL Developer。
- 建立先前以管理員使用者身分佈建的 Oracle Autonomous Database SQL Developer 連線,然後儲存連線。請參閱連線 SQL Developer 至自治式異動處理。本文件中使用的範例連線名為
admin_adb
,稍後將用來建立移轉儲存區域使用者。 - 下載並設定 JDBC 驅動程式,以將 SQL Developer 連線至 MS SQL Server 資料庫。請參閱 JDBC Java Database Connectivity。
- 下載 mssqlservermigration.zip 檔案,並將其解壓縮至 Windows 主機系統的工作目錄 (例如,
wkdir
)。 - 下載並安裝 Oracle Instant Client for Microsoft Windows 以執行命令行。請參閱 Oracle Instant Client Downloads for Microsoft Windows (x64)64 位元。
- (選擇性) 對於非常大的 SQL 伺服器資料庫,建議您將 Oracle Cloud Infrastructure File Storage 佈建為 NFS 儲存體,以暫存所有 SQL 伺服器資料匯出檔案。通常,請將
wkdir
設為 NFS 掛載。