安裝 Oracle GoldenGate for TimesTen 的先決條件
瞭解安裝 Oracle GoldenGate for a TimesTen 資料庫的先決條件。
若要建立 Oracle GoldenGate for Oracle TimesTen 部署,必須在要安裝 Oracle GoldenGate 的伺服器上安裝 Oracle TimesTen 從屬端。如果 Oracle TimesTen 資料庫伺服器上已安裝 Oracle GoldenGate,就可以使用必要的從屬端元件。不過,如果您在 Hub 伺服器上安裝 Oracle GoldenGate,則必須分別安裝 Oracle TimesTen 從屬端。
Oracle TimesTen 軟體安裝
從下列網站下載 Oracle TimesTen 軟體,根據要安裝 Oracle GoldenGate 的平台以及 Oracle TimesTen 資料庫的版本,選擇軟體的版本和作業系統平台。
https://www.oracle.com/database/technologies/timesten-downloads.html
如需支援的 Oracle GoldenGate 平台清單和 Oracle TimesTen 資料庫的支援版本,請檢閱此 Oracle GoldenGate 版本的認證表。
-
下載支援之資料庫版本的 In-Memory 資料庫。
-
根據 Oracle TimesTen In-Memory Database Installation Guide 中提供的指示,將 Oracle TimesTen 安裝檔案擷取至指定的位置。
-
請依照 TimesTen 文件提供的安裝指示,取得完整的安裝詳細資訊。
僅限從屬端執行處理建立
對於計畫安裝 Oracle GoldenGate 的非資料庫伺服器環境,在安裝 Oracle TimesTen 從屬端程式庫之後,請依照 TimesTen 文件指示建立僅限從屬端的 TimesTen 執行處理。1。執行下列動作:
<pre class="copy"><code>[oracle@tt_installation_dir]$ ./bin/ttInstanceCreate -clientonly</code></pre>
- 遵循實例安裝提示,記下實例名稱和實例安裝位置。設定 Replicat 與 Oracle TimesTen 的 ODBC 連線時,將需要此資訊。
設定環境變動
安裝 Oracle GoldenGate for TimesTen 之前,請先確定已取得必要的系統環境變數。與 Oracle TimesTen 互動的所有階段作業或處理作業都需要正確的環境設定值。每個 Oracle TimesTen 執行處理 (伺服器和從屬端) 都包含設定所需環境變數的命令檔。此命令檔位於 tt_instance_home/bin 中,名稱為 ttenv.[c]sh。它應該一律點選或取得來源,且絕對不要直接執行。
為 /home/oracle/tt221 中的 TimesTen 執行處理設定 bash Shell 環境的範例:
source /home/oracle/tt221/bin/ttenv.sh
雖然可以手動設定必要的環境變數,但不建議這麼做。