ITPub博客

首页 > 数据库 > 数据库开发技术 > Determining the Global Database Name (86)

Determining the Global Database Name (86)

原创 数据库开发技术 作者:tsinglee 时间:2007-12-26 16:44:38 0 删除 编辑

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博客 ” ,链接:https://blog.itpub.net/10599713/viewspace-995838/ ,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论
  • 博文量
    740
  • 访问量
    2002849