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 .
但是需要关闭并重启数据库 , 并重建空间文件
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/10599713/viewspace-995838/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/10599713/viewspace-995838/
本文介绍了全局数据库名称的构成,包括用户指定的本地数据库名称(DB_NAME)和数据库在网络中的位置(DB_DOMAIN)。此外还介绍了如何使用ALTER DATABASE RENAME GLOBAL_NAME语句来更改全局数据库名称,并指出了更改后需要进行的操作。
590

被折叠的 条评论
为什么被折叠?



