定義或載入資料庫結構
自治式 AI 資料庫建立後,使用資料庫開發應用程式的第一步就是定義資料庫結構。
一般而言,您可以使用下列兩種方法之一來定義資料庫結構:
-
手動從頭開始
您可以使用 Oracle SQL Developer 或 SQL*Plus 等資料庫工具來連線到資料庫,並定義資料庫的表格、視觀表、觸發程式、類型、序列等等。如需您可以使用的各種工具以及如何將其連線至 Autonomous AI 資料庫的相關資訊,請參閱 Oracle Tools for Database Access 。
-
從現有的 Oracle Database 載入結構 (和資料)
您可以使用 Oracle Data Pump 從現有的 Oracle Database 匯出、將匯出檔案上傳至雲端儲存,然後將上傳的檔案匯入至 Autonomous AI Database。如需詳細指示,請參閱 Load Data Using Oracle Data Pump 。
無論您使用哪種技術,您都應該檢閱 Oracle Database Dedicated Autonomous AI Database Deployments 功能,以瞭解如何在 Autonomous AI 資料庫中使用 Oracle Database 功能和選項。