SERVICE_NAME和SERVICE_NAMES和GLOBAL_DBNAME的各自己定義
阿新 • • 發佈:2017-06-30
自己 spf inf sin form service 不同 call ids
tnsnames.ora文件中邊SERVICE_NAME的參數值--對於動態註冊和靜態註冊。該參數有不同的取值
對於動態註冊:
The following pfile/spfile parameters are important when setting the value
for SERVICE_NAME in the tnsnames.ora file:
DB_NAME
DB_DOMAIN
SERVICE_NAMES
一句話概括:
Use the values of the parameters existing in the pfile or spfile,
namely DB_NAME and DB_DOMAIN to determine the value of the SERVICE_NAME that should be used in the TNSNAMES.ORA.
即是:SERVICE_NAME=DB_NAME.DB_DOMAIN
#######################################################################################################################
對於靜態註冊:
If using statically defined SIDs in the listener.ora file under SID_DESC, the
GLOBAL_DBNAME parameter (within SID_DESC) must match the value set in the
tnsnames.ora file for SERVICE_NAME.
即是:SERVICE_NAME=GLOBAL_DBNAME parameter(listener.ora文件裏)
附1:listener.ora文件裏GLOBAL_DBNAME的含義:
--來自:Global Database Name Explained (Doc ID 115499.1)
In the LISTENER.ORA file, under the sections SID description, a parameter
GLOBAL_DBNAME can be found. This parameter identifies the database by its
global database name and consists of the name and domain name of the database,
as given in SERVICE_NAMES parameter in the database initialization parameter
file (init<SID>.ora).
即是:GLOBAL_DBNAME=consists of the name and domain name of the database
The value of this parameter is used by the Oracle Intelligent Agent to
determine the service name of the database. Detailed information about this
LISTENER.ORA parameter can be found in Note:97066.1 "How the Intelligent
Agent determines a database service name".
附2:
數據庫初始化參數service_names的含義:
默認情況下,service_names為DB_NAME.DB_DOMAIN
對於動態註冊:
The following pfile/spfile parameters are important when setting the value
for SERVICE_NAME in the tnsnames.ora file:
DB_NAME
DB_DOMAIN
SERVICE_NAMES
一句話概括:
Use the values of the parameters existing in the pfile or spfile,
namely DB_NAME and DB_DOMAIN to determine the value of the SERVICE_NAME that should be used in the TNSNAMES.ORA.
即是:SERVICE_NAME=DB_NAME.DB_DOMAIN
#######################################################################################################################
對於靜態註冊:
If using statically defined SIDs in the listener.ora file under SID_DESC, the
GLOBAL_DBNAME parameter (within SID_DESC) must match the value set in the
tnsnames.ora file for SERVICE_NAME.
即是:SERVICE_NAME=GLOBAL_DBNAME parameter(listener.ora文件裏)
附1:listener.ora文件裏GLOBAL_DBNAME的含義:
--來自:Global Database Name Explained (Doc ID 115499.1)
In the LISTENER.ORA file, under the sections SID description, a parameter
GLOBAL_DBNAME can be found. This parameter identifies the database by its
global database name and consists of the name and domain name of the database,
as given in SERVICE_NAMES parameter in the database initialization parameter
file (init<SID>.ora).
即是:GLOBAL_DBNAME=consists of the name and domain name of the database
The value of this parameter is used by the Oracle Intelligent Agent to
determine the service name of the database. Detailed information about this
LISTENER.ORA parameter can be found in Note:97066.1 "How the Intelligent
Agent determines a database service name".
附2:
數據庫初始化參數service_names的含義:
默認情況下,service_names為DB_NAME.DB_DOMAIN
SERVICE_NAME和SERVICE_NAMES和GLOBAL_DBNAME的各自己定義