Oracle DBCA命令複製執行個體

來源:互聯網
上載者:User

利用dbca複製執行個體可以不用像資料泵還原那樣繁瑣,建資料表空間,建使用者,授權,拷貝然後還原,跟rman類似,但在效率上跟rman還是有差距的

在我們建立執行個體的時候可以儲存為模板,其實也可以直接用DBCA命令來建立我們的執行個體模板,並且利用這個功能進行執行個體的複製。只是這個功能很少被關注

這裡我們選擇ManageTemplate:

注意建立模板的三種類型,官網也有相關的說明:

Installing Oracle Database and Creating aDatabase

http://docs.oracle.com/cd/E11882_01/server.112/e10897/install.htm#ADMQS023

(1)From an existing template

Using anexisting template, you can create a new template based on the predefinedtemplate settings. You can add or change any template settings such asinitialization parameters, storage parameters, or whether to use customscripts.

--根據已經存在的模板來建立新的模板,在此基礎之上可以修改舊模板的參數。

(2)From an existing database(structure only)

You can create anew template that contains structural information from an existing database,including database options, tablespaces, data files, and initializationparameters. User-defined schemas and their data will not be part ofthe created template. The source database can be either local or remote. Selectthis option when you want the new database to be structurally similar to thesource database, but not contain the same data.

--根據已經存在的資料庫執行個體來建立新的模板,這種只包含structural 的資訊,如database options,tablespaces,datafiles 和initialization parameters。 使用者定義的schemas 和data 不會被包含在模版中。因此這種模板只包含基本的架構資訊。

  • 1
  • 2
  • 3
  • 下一頁

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.