DBAsupport.com Forums - Powered by vBulletin
Page 1 of 2 12 LastLast
Results 1 to 10 of 12

Thread: instance names

  1. #1
    Join Date
    May 2000
    Location
    Richardson, Texas, USA
    Posts
    39

    instance names

    Is there any query that can show all the instance names (SIDs) in Oracle? I know you can look at the output of 'ps -ef|grep ora' to
    see the instances that are currently running. But is there any way
    to know the instance names that are not currently running but can be run on the machine?

    Thanks.

    Syed

  2. #2
    Join Date
    Jun 2000
    Posts
    295
    From within the database, no. But you may look at oratab
    under /opt/opt/oracle or /etc.

  3. #3
    Join Date
    Sep 2002
    Location
    England
    Posts
    7,334
    that wont work for those who dont maintain an oratab.

    Only way is to go looking and hope you find everything

  4. #4
    Join Date
    Jan 2000
    Location
    Chester, England.
    Posts
    818
    In the wonderful world of Windoze, I check the Oracle registry keys where every SID has specific nodes.

  5. #5
    Join Date
    Sep 2002
    Location
    England
    Posts
    7,334
    another OS war, sweet :-)

  6. #6
    Join Date
    Apr 2001
    Location
    Bangalore, India
    Posts
    727
    another OS war, sweet :-)
    You know I am pressing ^C
    Thomas Saviour(royxavier@yahoo.com)
    Technical Lead (Databases)
    Thomson Reuters (Markets)

    http://ora600tom.wordpress.com/

  7. #7
    Join Date
    Jan 2002
    Location
    Up s**t creek
    Posts
    1,525
    What about looking in $ORACLE_HOME/dbs for spfile or orapw files.
    Jim
    Oracle Certified Professional
    "Build your reputation by helping other people build theirs."

    "Sarcasm may be the lowest form of wit but its still funny"

    Click HERE to vist my website!

  8. #8
    Join Date
    Sep 2002
    Location
    England
    Posts
    7,334
    what about if you dont use spfiles or password files :-)

  9. #9
    Join Date
    Jan 2002
    Location
    Up s**t creek
    Posts
    1,525
    Originally posted by davey23uk
    what about if you dont use spfiles or password files :-)
    Some people can be so awkward

    Well you could use the init.ora files in that case
    Jim
    Oracle Certified Professional
    "Build your reputation by helping other people build theirs."

    "Sarcasm may be the lowest form of wit but its still funny"

    Click HERE to vist my website!

  10. #10
    Join Date
    Sep 2002
    Location
    England
    Posts
    7,334
    im gonna be awkward again, what about those who dont use dbs for the directory and use startup pfile=xxxx :-)

    My point is there is one fail safe way of finding out what databases are available on a Unix server - have to go looking everywhere to find them

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Click Here to Expand Forum to Full Width