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 ~]$

Similar Messages

  • 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.

  • Sun Solaris 10,Upgrade 8 or higher,having issues with VxFS,for Oracle 11gr2

    A while ago, we tried doing a prototype upgrade of our main Oracle 10g db to Oracle 11gr2.
    The OS on which our Oracle 10g is running is Sun Solaris 10, upgrade 4.
    According to Oracle 11gr2 documentation, we need Sun Solaris 10, upgrade 6 or higher for Oracle 11g2.
    The filesystem we are using is VxFS, Veritas File System.
    According to our system administrator, we had issues , making Sun Solar 10, upgrade 8 , work with the VxFS filesystem.
    I was wondering if anybody is running Oracle 11g2 on Sun Solaris 10 upgrade 6 or higher with VxFS file system.
    At present, our Oracle db upgrade project is on a hold, because of the above issue. So your help on this , can really help us in figuring out if there is an issue between VxFS filesystem and Sun Solaris 10 OS.
    Thanks
    Ashish

    Hi Ashish,
    We are not running Veritas Cluster file system.
    We tried moving our Oracle 10g r2 db on ZFS ,before doing the upgrade and performance on ZFS was worst.
    ZFS has certain memory parameter setting. If you did not configure that then ZFS will eat your complete system memory.
    My system administrator, has gotten a copy of Solaris 10 upgrade 9 and will try that with VxFS.
    I was curious to find out if folks are running Oracle 11g on Sun Solaris 10 with VxFS file system and if they had experienced any issue.If you can Install Vxfs on Oracle Soalris 10 U9, then according to me there sholudn't be any limitations for an oracle database.
    Recently i installed Oracle database 11.2.0.2 on one of my test server. I have created two databases - one on ZFS and another on ASM.
    Refer:
    http://appsdbaworkshop.blogspot.com/2010/10/installation-of-11202-on-oracle-solaris.html
    We dont have any performance issues. We are testing it for the performance benchmarks on both of the filesystem.
    If you can Install Vxfs on Oracle Soalris 10 U9, then according to me there sholudn't be any limitations for an oracle database.
    Regards,
    X A H E E R

  • 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

  • At least 6 differences between Oracle 9i and 10g with complete understan

    Hi 2.     
    At least 6 differences between Oracle 9i and 10g                    with complete understanding of each difference .
    cheers

    Hi,
    Forum thread already opened by you
    check what is the major difference between 9i and 10g
    regards,
    kaushal

  • 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

  • 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.

  • 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.

  • 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)

  • What is difference between oracle 9i and 10g?

    Hi All,
    please explain difference between oracle 9i and 10g with example.
    your suggestion would be greatly appreciated.

    user13842301 wrote:
    Hi All,
    please explain difference between oracle 9i and 10g with example.
    your suggestion would be greatly appreciated.One letter and one number :)
    But seriously, they document this stuff (way too much to write in a forum reply).
    For 10.1
    http://download.oracle.com/docs/cd/B14117_01/server.101/b10750/toc.htm
    and for the more popular 10.2
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14214/toc.htm

  • Is there any impact analysis tool for Oracle Forms and Reports

    Hi All
    We are curretly looking at tools available to do impact analysis in Oracle Forms and Reports. This is for the maintainance of a large Oracle application developed using forms and reports 10g. We use Oracle Designer but only to maintain the db structure and not for forms and reports generation. Our intension is to find out the impact of db model changes, stored procedure changes in Oracle Forms and Reports. Please suggest any tools that are currently used for this purpose.
    I remember manually maintaining the CRUD matrix for Oracle Forms and Reports for maintainance purpose. CRUD matrix will have the list of all the tables which are affected by the module. But this is a manual activity and hence the responsibility is with the dev team to keep the document updated. Please suggest if there is any alternative to this way which can be more effecient and less error prone...
    I also wonder how these are done in Oracle ERP? how the apps team in oracle is maintaining the forms and reports?
    Thnaks in Advance
    Mahesh Mathew

    Quest (the makers of TOAD) have a tool called SQL Impact which gathers data from forms, reports, triggers, packages etc.
    FormsMate is a simple, cheap alternative for comparing or searching in forms.
    http://www.jockvale.ca/products.html
    Alternatively, you can export forms to xml (with iff2xml90.bat) and reports to jsp (with rwconverter) and simply grep those and your sql scripts. There are grep tools for windows if you need.

  • Having issues with profile manager on 10.9 loosing users/device assignments.

    I'm having issues with profile manager on 10.9 loosing users/device assignments. Luckly I only have arround 70 devices added so far. The first time it happened I thought it was just a freak thing, but it has just happened again. What I find weird is nothing on the server was changed, no devices added. So when this happens my users phones lose access to email, because I'm using variables, which rely on the user being assigned to the device. Anyone know how to fix this, and if not. Does anyone know how to backup and restore just profile manager in 10.9. Thanks.

    I enabled all users in my AD "Domain Users" group access to "Profile Manager". I had also initially enabled "Profile Manager" access for a few individual users. Those users did not loss the device assignments. I'm not absolutely sure why/if allowing access for a group is causing this issue. Enabling access for each person would be very time consuming.... Maybe adding access to the individual users is importing that user into OD?

  • Still struggling with Captivate 6, Oracle LMS and SCORM 2004

    Still can't get this course tracking with scores.  Herewith the screen shot.  Does anyone know if the settings I have chosen for the quiz are correct.  When I load the published course into the lms and test it, it shows "not attempted" prior to opening it and it gives the final score on the last quiz slide.  There is a slide after the last quiz slide.  It still seems not to transfer the scores to the lms.  I recently found out that we have Scorm 2004 version 4, so I changed the configuration setting as it was defaulted to version 3, but that still hasn't helped with the scores.  Under the start and end settings, I have chosen close project for the end.   I have been through a week of torture with this course!  Please can anyone assist as I'm not sure what to do anymore!

    Oh no.  Now I'm panicking!  I will try it.  Thanks
    Mrs T Cassisa
    Oracle Learning Management Practitioner
    Tel: 27 (21) 403 3069
    Fax: 27 (21) 403 3333
    www.parliament.gov.za
    >>> RodWard <[email protected]> 2/26/2014 11:20 AM >>>
    Re: Still struggling with Captivate 6, Oracle LMS and SCORM 2004
    created by RodWard in Quizzing/LMS - View the full discussion
    This sounds like you have some major issue in this course project file.
    Breaking it up into smaller files might not fix your issue.
    I suggest you create a new blank CPTX project file, add one true/false quiz question, set it to report to LMS with the settings you have above, publish as a single SCO package zip file, and upload to both your LMS and SCORM cloud.
    If this file doesn't even work, your installation of Captivate would have to be suspect and nothing you do in course module is going to fix that until you work out what the problem is.  If this very simple single-SCO lesson plays OK and reports successfully to the LMS, then we need to figure out what is lacking in your current file. 
    It could be that your current file has somehow become corrupted.  See the suggestions here for how to debug general corruption issues:
    http://www.infosemantics.com.au/adobe-captivate-troubleshooting/basic- troubleshooting-techniques
    Please note that the Adobe Forums do not accept email attachments. If you want to embed a screen image in your message please visit the thread in the forum to embed the image at http://forums.adobe.com/message/6158090#6158090
    Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: http://forums.adobe.com/message/6158090#6158090
    To unsubscribe from this thread, please visit the message page at http://forums.adobe.com/message/6158090#6158090. In the Actions box on the right, click the Stop Email Notifications link.
    Start a new discussion in Quizzing/LMS at Adobe Community
    For more information about maintaining your forum email notifications please go to http://forums.adobe.com/thread/416458?tstart=0.

  • Embedded License Resource Kit for Oracle Application Server 10g

    Hi,
    I work for a company and we are an Oracle partner. We would like to deliver our flagship product with Oracle Database and Application Server (10g) embedded.
    According to an Oracle press release back in october 2003, Embedded License Resource Kits for Oracle Database and Oracle Application Server are available through the Oracle Partner Network (http://www.oracle.com/corporate/press/2484668.html)
    I found a kit for Oracle Database through OPN but was not able to find one for Oracle Application Server 10g.
    Does such a kit still exist for Oracle Application Server, and if yes where can I download it?

    Go to MyOracleSupport/Metalink.
    Click patches and Updates on the top left bar. Download the patches.
    Each patch comes with its readme.txt. Do read it. It shows you how to install the patch. it also gives syntax with example for various scenarios of how to install it, or remove a patch either. In most of the patches, Installing a patch again does not hurt your system.
    It's a good practice to keep db inventory clean before attempting to install the patch because otherwise the patch installation will fail.
    hope that helps!
    AMN

Maybe you are looking for

  • Conversion configuration error Unknown structure Header found in document

    Hi, we are having the following target structure according to that we need to generate a file. Output file sample format: ACODESXXXX0001581012011-03-2209.12.42WARRANTY CAUSE CODES FILE ACODESXXXX000158102CCCORROSION INSPECTION ACODESXXXX00015810255CA

  • JTable not working in JDK 1.6

    Hi In my Application I am using JTable for diplay and sorting purpose.Its properly working with JRE 1.5. But When i try to run the same application in JRE 1.6 the sorting functionality is not working properly. plz let me know what is the difference b

  • "clip cannot be converted"

    Getting this error message: "clip cannot be converted." Why? Have been able to convert clips for slow-motion, reverse, etc., before.

  • Oracle Content Management for spatial data

    Hi, Is it possible to use Oracle universal content management sofware for managing GIS files/spatial data. Can we integrate Oracle Universal content management or anyother tool to manage spatial files. I am looking for standard content management fea

  • R12:Request Error Out

    Hi, Show some shadow of lights please a request erroed out. Req id: 78402624 has been submitted for ''Ikon Item Master Automation Request Set'' from a user and ended in following error. ERROR at line 46: ORA-04052: error occurred when looking up remo