Query for oracle 9i and 10g on same box

HI
All,
I have oracle 9i installed on one box it has
oracle home /u01/app/oracle/product/9.2.0
and i am gonna install oracle 10g on different home /u01/app/oracle/product/10.2.0
Do I need to specify different location for OraInventory?
so what else I need to take care?
Thanks,
Vishal

So there should not be a problem if it is the same
orainventory location for both 9i and 10g right.There should be no problem.
can you throw more focus on below ?
When managing different oracle versions on the same
box you should take care of environment variables to
properly point to each ORACLE HOME and PATH, and
ensure different ports do not conflict.
For instance, you should use the Listener of the latest release on the server (in this case 10g) to services all the databases on that box 9both 9i and 10g).
When you want to startup and shutdown 9i database, you do not want to shutdown a 10g database by mistake. Hence, setting things like ORCLE_HOME and ORACLE_SID.
Also, Oracle Server make use of libraries. You do not want to mix up 9i and 10g libraries. hence take care when you set things like PATH, LD_LIBRARY_PATH etc
The same applies to all Environment variables you want to set on the server that has different oracle releases. You just need to ensure that when you logon, your variables are set correctly for the intended oracle release before you do anything.

Similar Messages

  • Running Oracle 9i and 10g on same box

    Hi Guys! :-)
    I have a development box (Win2003) that I run one Oracle 9i home on, and I wish to install a 10g home aswell. I need to install the new Oracle 10g listener on a different port. Can someone please give me some directions / how to guide how to do that ? I'm using OUI to install.
    I have tried searching this forum and Metalink, but didnt find any stuff that could help me..
    I'm pretty new to Oralce, this may be a easy config matter.
    Thanks
    Best Regards
    Orjan
    Message was edited by:
    user617980
    Message was edited by:
    user617980

    Unless there is a compelling reason, I would encourage you to use one listener for ALL databases on the machine. The rule is that it needs to be the highest version
    You have several options:
    1) do a completely separate listener-only install into it's own home. Stop (and set to 'manual service') the 9i listener and start the 10g listener on port 1521. Re-register the 9i database using the 'alter system register' command.
    2) install the listener as part of the 10g install. Stop the 9i listener and start the 10g listener on port 1521. Re-register the 9i database using the 'alter system register' command.
    3) install the listener as part of the 10g install and modify the port on both the listener (see listener.ora) and the database's LOCAL_LISTENER parameter.
    I prefer 1) simply because that allows you to upgrade/patch the listener totally independently from any DB version, while still leaving version -specific listeners around that can be used in an emergency.

  • Issue with .profile for oracle 9i and 10g

    Here I have six oracle 9i databases on one box. I am going to upgrade five of them to oracle 10g and want to keep one database RCAT in oracle 9i for one or two week.
    So, when I do upgrade I have to setup oracle home for 10g and also profile for oracle user for 10g (correct me if I m wrong). But now I want one database RCAT on oracle 9i. How can I take care of this.
    I mean how I will handle profile and all other thing for oracle 9i and 10g at the same time.
    Thanks,
    Vishal

    Install 10g under the same OS user as 9i, of course on a different Oracle Home. Then you configure your .profile consequently. Just as an example, this is my .bash_profile with 10g and 11g with the same oracle OS user :
    [oracle@linux5 ~]$ cat .bash_profile
    # .bash_profile
    # Get the aliases and functions
    if [ -f ~/.bashrc ]; then
            . ~/.bashrc
    fi
    export EDITOR=vi
    export ORACLE_BASE=/home/oracle/base
    umask 022
    o10()
    {       export ORACLE_SID=db102
            export ORACLE_HOME=$ORACLE_BASE/OraHome10
            export LD_LIBRARY_PATH=$ORACLE_HOME/lib
            export PATH=$ORACLE_HOME/bin:/bin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/X11R6/bin
            export TNS_ADMIN=$ORACLE_BASE/OraHome11/network/admin
            export PS1='[\u@\h_10 \W]\$ '
    o11()
    {       export ORACLE_SID=db11
            export ORACLE_HOME=$ORACLE_BASE/OraHome11
            export LD_LIBRARY_PATH=$ORACLE_HOME/lib
            export PATH=$ORACLE_HOME/bin:/bin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/X11R6/bin
            export PS1='[\u@\h_11 \W]\$ '
    s()
    {       sqlplus / as sysdba
    asm()
    {       export ORACLE_SID=+ASM
    db10()
    {       export ORACLE_SID=db102
    db11()
    {       export ORACLE_SID=db11
    asm10()
    {       export ORACLE_SID=asm10
    [oracle@linux5 ~]$

  • How to install oracle 11g and 10g on same linux server.

    how can i install oracle 10g and 11g on same linux server ????
    10g database is already installed , i want to installed 11g on the same machine. How can i do this???

    Hi;
    how can i install oracle 10g and 11g on same linux server ????
    10g database is already installed , i want to installed 11g on the same machine. How can i do this???You may go wiht different mount point like to create /oracle11g and /oracle10g and you can choose related path for your installation.
    Please read:
    Managing multiple oracle home
    http://docs.oracle.com/cd/B12037_01/em.101/b12140/3_oui_oracle_homes.htm#i1005615
    http://docs.oracle.com/cd/B12037_01/em.101/b12140/3_oui_oracle_homes.htm
    Regard
    Helios

  • Oracle 9i and 10G in same Fedora Core 4 machine

    Hi Friends,
    I am intalling Oracle 9i(9.2.0.4.0) and 10G(10.2.0.1.0) on a Fedora Core4 machine.
    I alredy installed Oracle 10G under,
    USER : oracle
    # useradd -u 1001 -g oinstall -G dba -d /oraeng/app/oracle/product/10.2.0/db_1 -m oracle
    # chown -R oracle:oinstall oracle /oraeng
    # chown -R oracle:dba oracle /disk1 ( disk1 for databases)
    .bash_profile
    ===========
    ORACLE_BASE : /oraeng/app/oracle
    ORACLE_HOME : /oraeng/app/oracle/product/10.2.0/db_1
    PATH : $ORACLE_HOME/bin:$PATH:.
    How to install Oracle 9i in the same machine?
    Regards
    Mathew

    Hi,
    Do I have to create a seperate user (eg: oracleuser) for installing oracle 9i database software?
    So at that time, by using
    #usradd -u 1002 -g oinstall -G dba -d /oraeng/app/oracle/product/9/2/0 -m oracleuser
    #chown -R oracleuser:oinstall /oraeng
    I think the second command will change the ownership of the /oraeng direcory from 'oracle' user to 'oracleuser' user. 'oracle' user is created erlier for 10G installation
    Regards,
    Mathew

  • Oracle 9i and 10G professionals required

    Hi All,
    A company in Tanzania is looking for Oracle 9i and 10G professionals for immediate requirement. Those who are looking for change and has 4 to 5 years experience can send in your resumes to [email protected] Indians are preffered. Mention "ORJOB#040820081411" in the subject.
    Kindly send in your resume as early as possible.
    Thank you.

    You can try setting the SGA to a low value and bring up both the databases. I don't think it should be too slow provided you are not running other windows programs.
    If you are really interested in trying out new products you can also explore the option of installing VMware, creating virtual machines & installing Linux, and then playing with the different Oracle products. Doing this will at least keep your main windows operating system clean.
    You may want to check out my blog post on Build your own oracle test lab
    Cheers !!!
    Ashish Agarwal
    http://www.asagarwal.com

  • Urgent: Regarding Join Syntax in Oracle 9i and 10g

    Dear Members
    Please help me by providing me the synatx of following Join statements for Oracle 9i and 10g:
    1.Inner Join
    2.Left Outer Join
    3.Right Outer Join
    4.Self Join
    5.Cross Join
    6.Full Outer Join
    N.B. I NEED THIS HELP URGENTLY
    Regards
    Praveen Kumar Pandey

    Inner join
    SELECT *
      FROM a,
           b
    WHERE a.<<column>> = b.<<column>>Left Outer Join
    SELECT *
      FROM a LEFT OUTER JOIN b
             ON a.<<column>> = b.<<column>>Right Outer Join
    SELECT *
      FROM a RIGHT OUTER JOIN b
             ON a.<<column>> = b.<<column>>Full Outer Join
    SELECT *
      FROM a FULL OUTER JOIN b
             ON a.<<column>> = b.<<column>>Self Join
    SELECT *
      FROM a a1,
           a a2
    WHERE a1.<<column>> = a2.<<column>>Cartesian Join
    SELECT *
      FROM a,
           bJustin
    Distributed Database Consulting, Inc.
    http://www.ddbcinc.com/askDDBC

  • Query using Materalized view in oracle 9i and 10g

    Hello
    There are snapshots (materialized view) used in my application. We have recently migrated from 9i to 10g release 2 database.
    After migration i have observed explain plan of query which is using materialized view and i found in 9i oracle treating materalized view as table. In 10g oracle is considerting it as MVIEW only (MAT_VIEW ACCESS BY INDEX ROWID). However in 10g cost of query which is using materialized view is much higher than 9i. And execution time is also random.
    Can anbody pls. expalin diff. of materalized view access in oracle 9i and 10g.
    Thanks

    can you post your query with explain plan for both 9i version and 10g version.
    Thanks,
    karthick.

  • Can we locate oracle 9i and 10g databases in same PC

    hi all
    wish U happy new year...
    I have installed oracle 9i and 10g database ..but 10g database is not working it says TNS protocol adapter error or invalied username password...I stpeed the 9i services and listner in the 9i home...but 10g database is not working.9i and 10g databases are in two different partitions....
    I want to know is it possible to running 9i and 190g database in same PC...if it's possible pls can you give me a solution for my problem
    regards
    Buddhike

    when I was trying to up the database it is looking for another listener
    and massage coming listener is not running...Not clear. The database does not look for a listener, maybe you got that error when trying to connect ?
    Do you have a listener 10g service ? Did you start it ? If not, please try the following :
    C:\> set ORACLE_HOME=<Your 10g Home>
    C:\> set PATH=%ORACLE_HOME%\bin;%PATH%
    C:\> lsnrctl start
    wait up to a minute, then execute
    C:\> lsnrctl status
    and post the result.

  • Data Replication between Oracle 9i and 10g

    Hello,
    I have a question regarding possible Replication Models between Oracle 9i and 10g. Does anybody know a possible way to syncronize the schema data between a 9i and 10g database in realtime?
    If yes can you please post perhaps a link with a kind of how to?
    Many thanks to all,
    Bob...

    You can read this metalink note 370850.1 - there are bit more ways of replication discussed.
    Yes, platforms can be different, but recomendation is to use the same platform for both databases.

  • 9i and 10g on same host

    Hi folks,
    i am just trying to run 9i and 10g on same host (sun solaris 5.9)
    I created 2 different oracle users on os level for installation and management of those 2 instances.
    There is no problem with it, but i am just curious. would it be better to run them both with the same account?
    or is it better to have 2 separete accounts for each of them?
    just want to hear expert's opinion about this, Thanks in advance.
    Edited by: merope on May 14, 2009 2:25 PM

    >
    There is no problem with it, but i am just curious. would it be better to run them both with the same account?
    or is it better to have 2 separete accounts for each of them?It depends on Your needs. Both ways are ok. Easier is to manage if both oracle homes are under the same account, because then it's easier to upgrade database, maybe in future You will want just one oracle home and so on.
    But if for example You are running on the same machine test and dev envs, then it's somewhat normal to separete and then there is no dependency between envs and You can for example upgrade dev without touching test (that can be achieved with simple 2 different oracle_homes, but with two different users as well).

  • Oracle 9i and 10g in one computer

    Could I install oracle 10g in computer where 9i is instaled. I want that both oracle is instal and test oracle 9i and 10g. Could I run oracle database 9i and 10g together and I use both of the database?
    Thanks for answer.
    Rafal Dmitrowski

    I would also suggest caution if you have a Windows server. While it is certainly possible to have both running, there are some issues with separate 9i and 10g homes on a Windows machine, things like the Oracle Home Selector doesn't work with 10g Oracle Homes. I wouldn't be overly concerned if you are dealing with development laptops, but I would make sure to do some testing before installing 10g on a production server with 9i already installed.
    Justin
    Distributed Database Consulting, Inc.
    http://www.ddbcinc.com/askDDBC

  • Difference Between Oracle 9i and 10G (Urjent)

    Hi..
    Iam intensively searching net for some whitepapers regarding the difference between Oracle 9i and 10g. I need to give demo to the client on this. So Plzzzz help me in this regard and send me the links if u know....
    thnx in advance
    Sriram

    Hello,
    Go to this link. It is compete and most well defined new features of 10g.
    http://download-west.oracle.com/docs/cd/B19306_01/server.102/b14214/toc.htm
    http://www.oracle.com/technology/documentation/index.html
    In second link you will find all the versions of database.

  • How SMON coalesces free space in oracle 9i and 10g

    how SMON coalesces free space in oracle 9i and 10g?
    Is it doing same as it was behaving in oracle 7 like looking through free extent table every five minutes (sys.fet$) to see if there are any adjacent free extents that can be coalesced into a single extent, and on every 25th cycle (i.e. every two hours and five minutes) it looks at the segment table (sys.seg$) to see if there are any temporary segments that need to be eliminated, as explained by jonathan lewis?
    what are extent and segment tables available in oracle 9i and 10g like sys.fet$ and sys.seg$ in oracle7?

    >
    how SMON coalesces free space in oracle 9i and 10g?
    Is it doing same as it was behaving in oracle 7 like looking through free extent table every five minutes (sys.fet$) to see if there are any
    adjacent free extents that can be coalesced into a single extent, and on every 25th cycle (i.e. every two hours and five minutes) it looks
    at the segment table (sys.seg$) to see if there are any temporary segments that need to be eliminated, as explained by jonathan lewis?
    what are extent and segment tables available in oracle 9i and 10g like sys.fet$ and sys.seg$ in oracle7?I think you need to go and have a look at the Oracle 9i documentation here
    http://www.oracle.com/technology/documentation/oracle9i_arch_901.html
    and automatic segment management in 10g
    http://www.oracle.com/technology/pub/articles/10gdba/week15_10gdba.html
    HTH.
    Paul...
    Software - OS (+ version), Server,
    Hardware - CPU + Disk configuration.
    Please include all of the above information with database queries.
    This will help those who are trying to help you!
    Furthermore, please do not top-post and do try to trim your replies!

  • 10.1.0.5 Patch for Oracle Application Server 10g Release 1

    Hi Guys,
    Does anyone know what is the patch number for 10.1.0.5 Patch for Oracle Application Server 10g Release 1?
    This is a Oracle Application Server and not Oracle Database server.
    I tried searching on Metalink but not able to find it.
    Thanks in advance!
    Avinash.

    10.1.0.5 is not a version number for an OAS. It is only a version number for RDBMS.
    If you are running OAS 10.1.2.x with the Identity Managmenet/SSO (OID Server), & elected to have it install the Metadata Repository database for you, this was a RDBMS release below 10.1.0.5. The OAS patch to 10.1.2.2 or 10.1.2.3 required the RDMBS be updated to 10.1.0.5 first. This is the standard 10.1.0.5 update for your platform.
    use Advanced Search on Metalink
    To find the OAS 10.1.2.2 or 10.1.2.3 patch set, search for Oracle Fusion Middleware Server. Release 10.1.2.2 and 10.1.2.3. Look for the decriptions like "PLACEHOLDER BUG FOR AS/DS 10.1.2.3 PATCHSET RELEASE" OR "PLACEHOLDER BUG FOR AS/DS 10G R2 PATCH SET 2 10.1.2.2"
    To find the RDBMS 10.1.0.5 patch, search for RDBMS Server, Release 10.1.0.5. Look for the Description containing something like "10.1.0.5 PATCH SET FOR ORACLE DATABASE SERVER"
    The patch number is different per platform, so I can't tell you the exact #s without more info (OS)

Maybe you are looking for

  • Lock up on recordings

    Anyone else had a problem with the Humax YouView box locking up when recording since the last update? It's difficult to reproduce the exact circumstances which cause the problem, but it always seems to occur when a second recording starts when there

  • TS3694 I'm having problems updating itunes in Windows Vista.

    I cannot even uninstall and start again - it locks up, giving me a error message. It did it for version 10.7 and now for 11.

  • Can't get Fireworks to stop creating notes

    All my Dreamweaver sites are set not to keep *.MNO notes. But every time I export an image to one of the folders in the site, it creates a note. If I delete them all, the next export creates a new Notes folder. I've searched through the Fireworks and

  • SAP ECC 6.0 SR3 Cluster failover not working in windows with DB2 UDB V9.1 F

    Dear Expertise, We have installed the SAP ECC 6.0 SR3 High Availability with DB2 UDB V9.1 FP5 in windows cluster environment. We have installation following instances on nodes 1 and 2. Node 1                                                           

  • I am attempting to print a number of DL size envelopes using Word 2010 and Excel2010 on a HP Officej

    I am attempting to print a number of DL size envelopes using Word 2010 and Excel 2010 on a HP Officejet 6500A Plus printer in Operating system Windows 7. Using the mail merge facility the printer reports a paper mismatch. Word does not appear to have