Service_Name and SID

Hi
What is the difference between the Service_Name and the SID and when is it used.
In the Default Listener File we have :
(ADDRESS=(PROTOCOL=ipc)(KEY=PNPKEY)))
Any comments for why/where is it used.
Thanks

Hi,
Serice Name represents the global database name but SID represents instance name. both of them can be used in case of single instance but in RAC envirnoment you will have to specify the SID in case of that you want to login to specific instance of the instances in the RAC envirnoment.
Here is a sample of a RAC tnsnames entry:
SEC.GROUP.LOCAL =
(DESCRIPTION =
(ENABLE=BROKEN)
(ADDRESS_LIST =
(LOAD_BALANCE=ON)
(FAILOVER=ON)
(ADDRESS = (PROTOCOL = TCP)(HOST = 193.16.1.162)(PORT = 1521))
(ADDRESS = (PROTOCOL = TCP)(HOST = 193.16.1.161)(PORT = 1521))
(CONNECT_DATA =
(SERVICE_NAME = GRP)
(FAILOVER_MODE=
(TYPE=SELECT)
(METHOD=BASIC)
in the above example Service name (Global database name is used) if you want to be loged on a specific instance change :
1. remove the address cluase of the unneeded instances
2. add (SID=GRPx) cluase where GRPx is the SID of the needed instance.
Regards;

Similar Messages

  • Difference between service name and sid

    Hi All,
    1. I am not able to understand the difference between Service_name and SID.
    2. And I have 3 different databases(like 9i,10g,11g) with 3 instances in each(total 6), Can I configure one listener for all the databases and instances, as I have found in some documents that we need to set SID's list in listener.ora file.
    Please help me in this regard,
    Thanks in advance

    Rafi (Oracle DBA) wrote:
    Hi,
    If you wanted to have multiple databases specified you could nest more SID_DESC parameters in the SID_LIST. In the same way, if you wanted to listen on diffrent IP addresses you could use multiple DESCRIPTION sections in the DESCRIPTION_LIST. For example:
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 10.10.0.130)(PORT = 1521))
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 10.20.0.10)(PORT = 1522))
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (ORACLE_HOME = /u01/app/oracle/product/10.1.0/db_1)
    (SID_NAME = test)
    (SID_DESC =
    (ORACLE_HOME = /u01/app/oracle/product/10.1.0/db_1)
    (SID_NAME = anotherdb)
    For more details check below link from oracle:
    http://download-west.oracle.com/docs/cd/B12037_01/network.101/b10776/toc.htm
    Best regards,
    Rafi.
    http://rafioracledba.blogspot.com/
    Hi Rafi,
    Thanks for your reply. Can I configure different version databases in same listener file with different port. For example:
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 10.10.0.130)(PORT = 1521))
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 10.20.0.10)(PORT = 1522))
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (ORACLE_HOME = /u01/app/oracle/product/10.1.0/db_1)
    (SID_NAME = test)
    (SID_DESC =
    (ORACLE_HOME = /u01/app/oracle/product/11.1.0/db_1)
    (SID_NAME = anotherdb)
    Edited by: user7280060 on Jun 15, 2011 2:36 AM
    Edited by: user7280060 on Jun 15, 2011 2:37 AM

  • Service_name or sid?

    hi,
    in some of our tnsnames.ora we're using service_name, and in some others, we're using sid.
    what is the difference and which should be used when?
    thanks

    This is what Oracle doc(11.2) says for the service.
    >
    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, then you can obtain it from the value of the SERVICE_NAMES parameter in the initialization parameter file.>
    http://download.oracle.com/docs/cd/E11882_01/network.112/e10835/glossary.htm#NETRF1839
    And this is what is for SID
    >
    A name that identifies a specific instance of a running an Oracle database earlier than release 8.1. For any database, there is at least one instance referencing the database.
    For Oracle databases earlier than release 8.1, a 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.>
    http://download.oracle.com/docs/cd/E11882_01/network.112/e10835/glossary.htm#BGBIAEED
    With the SID, which Sybrand has explained clearly is an older wayout,you are going to connect through the specific instance with very little options for HA solutions like Load Balancing and Fail Over. OTOH SErvice is a "logical gateway" to access the database which is not tied to any specific instance as such. Using the service name, you may connect to any instance which is configured to serve that service. The concept goes in much better conjuction with the RAC environments where we do configure any one active insntance as the preferred instance for the service where it runs in the first place and the other instance(s) as avaialable instance where it can also run in case the primary fails. So using the new syntax of serivices, the HA capabilities are available to you in a complete manner and now , almost all the things of Oracle, including scheduler, resource manager are shifting to services only and Oracle is also recommending people to use service_name parameter to use than the sid.
    HTH
    Aman....

  • How to find out the host, client and sid for jdbc connection

    I've just registered at oracle application express and would like to test my java programm from my pc
    I need the connection string in form: "jdbc:oracle:thin:@host:port:sid";
    where can I found out my host, port and sid?
    Thanks!
    Edited by: 1009284 on 01.06.2013 14:42

    Hi "1009284",
    If you registered at http://apex.oracle.com, then you are not able to connect directly to the database.
    Joel

  • Anyone know of a way to adjust the top and side MARGINS of a document printed from iOS numbers? The default margins are too wide. Need more working space.

    Anyone know of a way to adjust the top and side MARGINS of a document printed from iOS numbers? The default margins are too wide. Need more working space.

    Open the document,
    Tap the Tools icon (upper right).
    Tap Document Set up.
    Drag the margins to the position you wish (the actual margin width sould display as you are doing this).

  • TV picture has a white line in the bottom and side

    I connected the iTV to my TV via a DVI/HDMI converter. It is an older Pinoneer TV with only a old DVI jack. It plays fine but after a few minutes a very thin mostly white line appears at the bottom and side sometimes the top and side on the TV.  If I turn it off and back on it goes away but only for a few minutes.  Can I do anything to fix this?

    I solved the problem last night.  Since it took take a few minutes for the line to show up on the screen, we thought it might be the screen saver function on the TV.  We turned off the TV picture rotation setting and it works perfectly now.

  • "why the Psoft oracle DB and SID names should be in all upper case

    Customer is having a Question like
    "why the Psoft oracle DB and SID names should be in all upper case (according to the PsoftTools 8.50 Installation for Oracle manual)
    why the Peopletools 8.5 install book states all Oracle SID and database names should be in UpperCase.
    If we use lower case database name, would encounter any problems, what sort of problems?
    i Observed that all the Installation manual for 8.49,50,51 States the Same for Creating of Data base !
    Task 1-6-1: Determining Databases and Database Names
    You should also determine the names of the
    databases at this point, using database names that:
    • Are limited to eight characters, all UPPERCASE.
    • Capture information about the PeopleSoft product line and the type of database
    Please suggest on this !
    Thanks
    Bala

    user13798675 wrote:
    Customer is having a Question like
    "why the Psoft oracle DB and SID names should be in all upper case (according to the PsoftTools 8.50 Installation for Oracle manual)
    why the Peopletools 8.5 install book states all Oracle SID and database names should be in UpperCase.
    If we use lower case database name, would encounter any problems, what sort of problems?
    i Observed that all the Installation manual for 8.49,50,51 States the Same for Creating of Data base !
    Task 1-6-1: Determining Databases and Database Names
    You should also determine the names of the
    databases at this point, using database names that:
    • Are limited to eight characters, all UPPERCASE.
    • Capture information about the PeopleSoft product line and the type of database
    Please suggest on this !
    Thanks
    Balabcm@bcm-laptop:~$ env | grep ORA
    ORACLE_SID=v112
    ORACLE_BASE=/u01/app/oracle
    ORACLE_HOME=/u01/app/oracle/product/11.2.0/dbhome_1
    bcm@bcm-laptop:~$

  • How to change DB name and SID in RAC environment?

    I have 2 node RAC on Red Hat Linux, EL 4, upd. 4. It's using ASM
    and it is working great. However, after 2 years of faithful service
    I was asked to change DB name and SID. In non-RAC environment, that is
    easy. Rename a few files, change init.ora and re-create control file.
    I've done that many times. With 10g RAC, however, situation is different. There is also RAC registry which has the database under the certain name and, I believe, it also has SID registered. Can you, please, point me to a document describing how to do that? It's a production DB and I can't test it anywhere.

    It's in the manual:
    http://download.oracle.com/docs/cd/E11882_01/server.112/e17023/dbresource.htm#i1029540
    Larry

  • Photoshop cs5.5 -  loaded on windows 8  - way too small! top and side

    Hi,
    I just loaded CS5  (and 5.5 updates) onto my windows 8  microsoft surface pro 3 computer.
    the top and sides are soooo small you can't even read it.
    I mainly use photoshop; but I loaded the entire web premium set of dvd's.
    is there anything I can do?
    thanks!

    No, I'm on the Cloud now. I've owned Photoshop 5 (1998), 6, 7 CS CS2 CS3 CS4 CS6 CC and now CC 2014.
    Just went from Windows to Mac.
    Photoshop Elements is a permanent license. You buy it, you keep it. Elements has its' own forum where those who know the program will answer your question.
    Anyway thanks for the "correct". You only give it out if anyone settles your questions and you need no further discussion. It closes the case.
    "Helpful" awards 5 points towards a score and "like" is recognition of good information.
    Gene

  • How do I remove the white space from the bottom and side of my document?

    How do I remove the white space from the bottom and side of my document? (I'm not talking about printing, just viewing it on the screen.) There are about 6 inches of white space at the bottom and at the right hand side. I don't like this. On a blank new spreadsheet it's triple that amount of white space.

    The infinite canvas convention doesn't make a lot of sense for Numbers. When I'm viewing a spreadsheet and mistakenly scroll into white, empty space I think, "this is ridiculous - all of my content is fits on one screen. there's nothing over there."
    A (relatively) infinite canvas is logical for Microsft Excel because it's one big table. There are 256(?) columns by default and hundreds of rows on a sheet - there are cells outside what a user is looking at to see. However, when viewing a Numbers spreadsheet with a single 10 column 10 row table that fits on the screen, there's nothing else on it to scroll to.
    Numbers should distinguish between viewing a spreadsheet and editing one. When I'm just viewing, when there's no content outside the window it shouldn't scroll there. This window behavior is beyond annoying for Numbers on my iPad and iPhone.
    (Adding user-defined canvas size setting to my view mode / edit mode thinking would probably be the most complete solution to this now that I think about it.)
    Until now the way scrolling worked in Numbers has defied logic. Actually it still does lol. That said, thank you Yellowbox for providing a clear explanation. Much appreciated.

  • OS Migration of SAP ECC 6.0 system and SID needs to be changed.

    Hi Folks ,
                   I need a small help ,
                   here i need to migrate SAP ECC 6.0 EHP 7 from SUSE Linux to AIX and SID is also going to change from ABC to XYZ
                   so what is the proposed plan for it
                   1. we have to built the target system first ... and go with the import or  
                   2. after export and import we have to go for SID change ...

    Hi  Reagan ,
    In homogeneous system copy its possible , its possible to change SID when you are importing but is it possible for heterogeneous copy to change the SID
    here the file system is built with target SID (eg : usr/sap/XYZ , sapmnt/XYZ , oracle/XYZ)
    or we have to create the symlinks like oracle/ABC-->oracele/XYZ and then we have to delete the symlinks and change the SID  

  • Dimension ID and SID ID

    Hi,
    Can U let me know where exactly the dimension id(s) and SID(s) are stored in the BW star schema
    Thanks

    Hi,
    DIM ids will store in Dimension table and SID's will store in Masterdata table.
    Fact table is linked to Dimensional table and Dimensional table is further linked to SID table, and SID table further linked to 3 table's i.e. Attribute,Text and Heirarchies.
    So, Dim ids create link between Fact table and Dimension table, SID's will link Dimansional table and SID table, and Character Id will link Attribute,Text and Heirarchy tables with SID table.
    All this is Primary Forgin  key relation
    You can see SID's and DIM id's in SE11 tcode.
    http://help.sap.com/saphelp_nw04/helpdata/en/e3/e60138fede083de10000009b38f8cf/frameset.htm
    It may help you.
    Thanks
    Reddy
    Message was edited by: Reddy

  • My center and side speakers are not working with my gigaworks 7.1 with a sb live 5.1 soundcard?

    There doesnt seem to be any sound coming out of my center and side speakers. I have an sb live 5. sound card. Pls help.
    Thank you.
    I have tried changing the setting the settings to 5.1 on my speaker creative panel and upmixing to 7.1 but no luck.

    hyper-dood,
    Make sure you have enable CMSS in playcenter for the sound card. Next, check that the upmix function in the speaker volume control pod and set to 5.1->7.1 upmix.
    Jason

  • Serial# and SID

    hi!!!
    I am a DBA funa-1 9i WDP student.I need some help:
    (If i am not wrong)v$session is dynamic view which store some information about oracle.but my question is why serial# and SID is required to kill the session??why not just only SID to kill the session??
    another thing is that a user can use multiple session(as oracle does not restrict to do so).we observed there is a unique-ness for Serial# then why do we need to mention SID to kill the session?
    And my final question is, how the SID and Serial# is generated?

    mango_boy wrote:
    yes i can't kill a session without serial#.------------>its nice.i got it.
    so why on earth i need SID???Please note that you are looking at one (or very few) specific configuration of Oracle session interaction and probably one specific operating system.
    WHen you explore ALL possibilities (Windows, Linux, *Nnix, VMS, mainframe, RAC, dedicated server, shared server, IPC, Networking), you will find that both SID and SERIAL can be reused over time.  Even the combination may be reused, but the probablilty of hitting that seems to be very low.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Mac OS 10.9.2 Reader 11.0.7 does not initialize, cannot fill in fillable forms and side scroll bars does not operate.  Can you please help?

    Mac OS 10.9.2 Reader 11.0.7 does not initialize, cannot fill in fillable forms and side scroll bars does not operate.  Can you please help?

    Perhaps you missed that you started a discussion at I have OS 10.9.2 and have downloaded latest version of Reader 11. I can no longer fill in form or scroll using the side bar. and you did not respond to the last post there.

Maybe you are looking for

  • Is there a limit to how many ipods you can have on one computer?

    We have 5 iPods between myself, my spouse and my kids. I manage all of our music, video and games from my iMac. I am planning to purchase the new 3G iPhone on Friday. Is there a limit to the number of devices that I can have on my iTunes account? I s

  • How to get data from a table in a condition between twomonth

    hai friends I have a query that is i want to get data from a table based on a condition between two months in a format of char column Ex I have a column called from_month in the format of 'mon/yyyy'(already converted from date') then the second colum

  • Custom formula in cross-tab?

    I have a cross-tab like this                   JAN    FEB    MAR ....... DEC (the 12 months as columns) year 2006    item 01     150    205      300 .......    550    item 02       80    190      284 ........   620 year 2007    item 01      458    23

  • Sending final cut clips to Motion

    I did this just yesterday, and it worked fine, now all of a sudden when I go to send a clip to motion, it just shows up black in motion!! The clips not there!! Suggestions??

  • Macbook Pro 10.5.8 reset password

    Tried to use my install disk, but the drive won't read it. Is there another way to retrieve my admin password. I can't remember it.