| Azaz |
Posted: Apr 19, 2008 08:06:05 AM |
Total Post: 49
Joined: Mar, 2008
|
| What is the difference between SID and Service name in Oracle |
|
|
Murtuja |
| Posted: Apr 19, 2008 08:52:38 AM | |
|
Total Post: 816
Joined: Jan, 2006
|
Oracle SID is the unique name that uniquely identifies your instance/database where as Service name is the TNS alias that you give when you remotely connect to your database and this Service name is recorded in Tnsnames.ora file on your clients and it can be the same as SID and you can also give it any other name you want.
SERVICE_NAME is the new feature from oracle 8i onwards in which database can register itself with listener. If database is registered with listener in this way then you can use SERVICE_NAME parameter in tnsnames.ora otherwise - use SID in tnsnames.ora.
Also if you have OPS (RAC) you will have different SERVICE_NAME for each instance.
SERVICE_NAMES specifies one or more names for the database service to which this instance connects. You can specify multiple services names in order to distinguish among different uses of the same database.
|
|
|
|
|
positive |
| Posted: Jun 29, 2008 02:29:50 AM | |
|
Total Post: 416
Joined: Jun, 2008
|
SID - System Identifier.Name given to an instance.
Servicename - Name given to service.Service is the grouping of user sessions that perform similar tasks.Ie grouping of application sessions.
|
|
|
|
|
| Time Zone: EDT |
Send this thread to your friend |