Determining the Global Database Name (86)

tsinglee發表於2007-12-26

The global database name consists of the user-specified local database name and the
location of the database within a network structure. The DB_NAME initialization
parameter determines the local name component of the database name, and the
DB_DOMAIN parameter indicates the domain (logical location) within a network
structure. The combination of the settings for these two parameters must form a
database name that is unique within a network.

For example, to create a database with a global database name of
test.us.acme.com, edit the parameters of the new parameter file as follows:

DB_NAME = test
DB_DOMAIN = us.acme.com

You can rename the GLOBAL_NAME of your database using the ALTER DATABASE
RENAME GLOBAL_NAME statement. However, you must also shut down and restart the
database after first changing the DB_NAME and DB_DOMAIN initialization parameters
and re-creating the control file.

全域性資料庫名稱
1. 由使用者指定的本地資料庫名稱(DB_NAME)和資料庫在網路中的位置(DB_DOMAIN)組成
這兩個引數的組合在網路中必須唯一
2. 可使用 ALTER DATABASE RENAME GLOBAL_NAME 語句來改變 GLOBAL_NAME .
但是需要關閉並重啟資料庫 , 並重建空間檔案

[@more@]

來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/10599713/viewspace-995838/,如需轉載,請註明出處,否則將追究法律責任。

相關文章