global database name
The full name of the database which uniquely identifies it from any other database. The global database name is of the form "database_name
.
database_domain
," for example, sales.us.example.com
.
The database name portion, sales
, is a simple name you want to call your database. The database domain portion, us.example.com
, specifies the database domain in which the database is located, making the global database name unique. When possible, Oracle recommends that your database domain mirror the network domain.
The global database name is the default service name of the database, as specified by the SERVICE_NAMES
parameter in the initialization parameter file.
instance name
A name of an Oracle database instance. The instance name is identified by the INSTANCE_NAME
parameter in the database initialization parameter file. INSTANCE_NAME
corresponds to the Oracle System Identifier (SID) of the instance. Clients can connect to a specific instance by specifying the INSTANCE_NAME
parameter in the connect descriptor.
A name that identifies a specific instance of a running pre-release 8.1 Oracle database. For any database, there is at least one instance referencing the database.
For pre-release 8.1 databases, SID is used to identify the database. The SID is included in the connect descriptor of a tnsnames.ora file and in the definition of the listener in the listener.ora file.
service name
A logical representation of a database, which is the way a database is presented to clients. A database can be presented as multiple services and a service can be implemented as multiple database instances. The service name is a string that is the global database name, that is, a name comprising the database name and domain name, entered during installation or database creation. If you are not sure what the global database name is, you can obtain it from the value of the SERVICE_NAMES
parameter in the initialization parameter file.
The service name is included in the connect data part of the connect descriptor.
以上摘自oracle online documentation
详细说明以后补充