Run two Database in single server

Hi...
I want to run two database into single server. For that I had created one another database.
But now I am not able to connect with two database at the same time.
When I am going to connect to another database i have to shutdown the first one.
Is it possible to connect and work on two database at the same time?
Thanks
pratik

You should have a good enough to have two or more instances running on the same machine.
The performance of a single instnace will always be better compared to having two or more instances on the same machine.
Is it possible to connect and work on two database at the same time?Yes
Here is an example
$ ps -ef |grep pmon
ora101AS 548928 1 0 Aug 06 - 0:31 ora_pmon_orcl
ora102DB 552974 1 0 Aug 06 - 0:36 ora_pmon_TEST
ora102DB 1380412 1 0 00:58:49 - 0:04 ora_pmon_LIVE
testuser 1613946 1691868 0 10:46:11 pts/2 0:00 grep pmon
Single machine having multiple instances
$ ps -ef |grep pmon
ora102DB 4086 1 0 Aug 06 - 1:39 ora_pmon_LIVE10
testuser 32848 31172 0 10:46:24 pts/0 0:00 grep pmon
Single machine having a single instance
The second machine performance is much better compared to the first machine that has mutiple instances.
Normally CREATE DATABASE is used by advance users while DBCA is relatively easy to use.
Adith

Similar Messages

  • Two database in single server(sun os)

    Hi,
    i need to create one more database(production) in the sun solaris server(which has enough resources) where allready one database resides, could anybody provide me the link, materail to do the same,
    helpfull is greately appreciated.
    Thanks

    Hi Prakash,
    How did you create the first one, its the same
    Just Launch the DBCA as oracle user and create the database and make the entries in ORATAB to start automatically upon rebooting
    http://www.dbspecialists.com/files/presentations/oracle10gsolaris.html

  • Multiple database in single server

    Hi experts,
    Please tell me how to configure multiple SID with single listener.
    I configured the DR setup of two databases in single server. Now the problem is, if I start one listener from orapm1(CRM), my data is replicating only for CRM, and if I am going to start my listener from oraPE2 user (DBM), error is coming u201C listener is already startu201D but DBM is not replicating with DR site.
    And when I stop the listener from oraPM1, and start listener from user oraPE2(DBM), my DBM is replicating properly, I want to start both in parallel with one listener.
    Right now I have only one port for both database (1527) and only one LISTENER, should I need to change the port for one server e.g DBM (primary and standby), and then change in listener files. For both side (primary and standby)
    If I am correct please let me know the steps, what precautions we need to take.
    And what change I need to do in listener file.
    2nd) Can I work on same port for both SIDs, if yes please tell me the steps.
    My CRM is working properly so I need to change in DBM part.
    I am attaching listener file from both users in same server (10.11.230.12)
    ADMIN_RESTRICTIONS_LISTENER = on
    LISTENER_PE2 =
    (ADDRESS_LIST =
    (ADDRESS =
    (PROTOCOL = IPC)
    (KEY = PE2.WORLD)
    (ADDRESS=
    (PROTOCOL = IPC)
    (KEY = PE2)
    (ADDRESS =
    (COMMUNITY = SAP.WORLD)
    (PROTOCOL = TCP)
    (HOST = 10.11.230.12)
    (PORT = 1527)
    STARTUP_WAIT_TIME_LISTENER = 0
    CONNECT_TIMEOUT_LISTENER = 10
    TRACE_LEVEL_LISTENER = OFF
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PE2)
    (ORACLE_HOME = /oracle/PE2/102_64)
    pm1 listener file
    ADMIN_RESTRICTIONS_LISTENER = on
    LISTENER =
    (ADDRESS_LIST =
    (ADDRESS =
    (PROTOCOL = IPC)
    (KEY = PM1.WORLD)
    (ADDRESS=
    (PROTOCOL = IPC)
    (KEY = PM1)
    (ADDRESS =
    (COMMUNITY = SAP.WORLD)
    (PROTOCOL = TCP)
    (HOST = 10.11.230.12)
    (PORT = 1527)
    STARTUP_WAIT_TIME_LISTENER = 0
    CONNECT_TIMEOUT_LISTENER = 10
    TRACE_LEVEL_LISTENER = OFF
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PM1)
    (ORACLE_HOME = /oracle/PM1/102_64)
    Thanks in advance.

    Dear Experts,
    please tell me is it ok or i need to change something else?
    this example is for only one listener, and i put both SID details in same LISTENER, or i need to change the listener name for another server. it is very confusing...
    ADMIN_RESTRICTIONS_LISTENER = on
    LISTENER =
      (ADDRESS_LIST =
            (ADDRESS =
              (PROTOCOL = IPC)
              (KEY = PM1.WORLD)
            (ADDRESS=
              (PROTOCOL = IPC)
              (KEY = PM1)
            (ADDRESS =
              (COMMUNITY = SAP.WORLD)
              (PROTOCOL = TCP)
              (HOST = 10.11.230.12)
              (PORT = 1527))
    LISTENER =
      (ADDRESS_LIST =
            (ADDRESS =
              (PROTOCOL = IPC)
              (KEY =PE2.WORLD)
            (ADDRESS=
              (PROTOCOL = IPC)
              (KEY = PE2)
            (ADDRESS =
              (COMMUNITY = SAP.WORLD)
              (PROTOCOL = TCP)
              (HOST = 10.11.230.12)
              (PORT = 1528))
    SID_LIST_LISTENER =
      (SID_LIST =
        (SID_DESC =
          (SID_NAME = PM1)
          (ORACLE_HOME = /oracle/PM1/102_64)
    STARTUP_WAIT_TIME_LISTENER = 0
    CONNECT_TIMEOUT_LISTENER = 10
    TRACE_LEVEL_LISTENER = ON
    SID_LIST_LISTENER  =
      (SID_LIST =
        (SID_DESC =
          (SID_NAME = PE2)
          (ORACLE_HOME = /oracle/PE2/102_64)
    Rishi

  • Do I need Distributed Transaction Scope when I have Two Database in Single SQL Server Instance

    Dear Sirs.
    I have Two Database in SQL Server Express 2008 R2, I Move Row From Database 1 Table 1 to Database 2 Table 1
    Do I need Distributed Transaction or just regular Transaction.
    Thank you in Advance. 
    Irakli Lomidze

    Dear Sirs.
    I have Two Database in SQL Server Express 2008 R2, I Move Row From Database 1 Table 1 to Database 2 Table 1
    Do I need Distributed Transaction or just regular Transaction.
    Thank you in Advance. 
    Irakli Lomidze
    Whats you are doing does not qualify under distributed transaction. Please read about distributed transaction from below link
    http://technet.microsoft.com/en-us/library/ms188721%28v=sql.105%29.aspx
    Please mark this reply as answer if it solved your issue or vote as helpful if it helped so that other forum members can benefit from it.
    My TechNet Wiki Articles

  • Run two databases on Linux

    Hi all... i installed a program called "Cognos 8" in Linux this program needs run two databases at the same time, so i have the two databases but i can't have two running atthe same time, how i can do this???, because when i run one, i have to declare it in the .bash_profile, and when i run the other, i have to declare again and reboot the server. So i want to know how i can run the two at the same time...
    Thanks and everybody have a nice day¡¡¡¡¡

    Do you mean does it run in a browser on Ubuntu or do you want to run the application server on Ubuntu ?

  • How to configurate system for two database under one server

    Hi Friends,
    I installed abd created A database by oracle 10GR4 in window 32 bit 2003.
    it works.
    Then i created other B database by DBCA under this server.
    When I shutdown immediate database.
    it works well. But I can not startup mount ot startup A database again,
    I got below message as
    SQL> startup mount;
    ORA-24324: service handle not initialized
    ORA-01041: internal error. hostdef extension doesn't exist
    SQL> startup;
    ORA-24324: service handle not initialized
    ORA-01041: internal error. hostdef extension doesn't exist
    SQL> startup;
    ORA-24324: service handle not initialized
    ORA-01041: internal error. hostdef extension doesn't exist
    From EM, I saw as
    A listen Status Up
    LISTENER
    Oracle Home          
    C:\oracle\product\10.2.0\db_1\BIN
    Location          
    C:\oracle\product\10.2.0\db_1\BIN\network\admin
    BUT agent connect Status          
    Failed
    Details          ORA-12505: TNS:listener does not currently know of SID given in connect descriptor (DBD ERROR: OCIServerAttach)
    A database instance down
    Host     salerpt.net
    Port 1521
    SID SALERPT
    Oracle Home C:\oracle\product\10.2.0\db_1\BIN
    Also I try to connect as
    SQL> connect sys/salel@salerpt as sysdba;
    ERROR:
    ORA-12514: TNS:listener does not currently know of service requested in connect
    descriptor
    Form EM, I saw listen start up.
    Then I stop it. then restart it
    I can saw B db listen and can not see A db listen.
    also
    I saw that other B database works.
    My listen info as***************
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = C:\oracle\product\10.2.0\db_1\BIN)
    (PROGRAM = extproc)
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
    (ADDRESS = (PROTOCOL = TCP)(HOST = SALERPT.NET)(PORT = 1521))
    I check physical, two database use one common bin directory .
    I do not have any experience to handle two database under one oracle server.
    How to check and configurate DB server system?
    Thanks for help.
    Edited by: user589812 on Jan 4, 2009 8:17 AM

    Jim,
    Before starting the database A, did you set ORACLE_SID=A from command line? You can run as many instances you want from single server provided you enough memory, processing power. Also try starting your instances usign window services and check and post some lines from alert.log for database A.
    tnsnames.ora entry
    DATABASE_A =
      (DESCRIPTION =
        (ADDRESS = (PROTOCOL = TCP)(HOST = salesrpt.net)(PORT = 1521))
        (CONNECT_DATA =
          (SERVER = DEDICATED)
          (SERVICE_NAME = DATABASE_A)
    DATABASE_B =
      (DESCRIPTION =
        (ADDRESS = (PROTOCOL = TCP)(HOST = salesrpt.net)(PORT = 1521))
        (CONNECT_DATA =
          (SERVER = DEDICATED)
          (SERVICE_NAME = DATABASE_B)
      )Regards
    Edited by: OrionNet on Jan 5, 2009 10:55 AM

  • Multiples databases on single server

    Hello,'
    I need some of the expertise opinions what are the cons and pros of having multiple databases on a single server? we have about 150 GB size of the database with millions of the recods in few tables. The reason is we have to keep one database up, while the other database is upgrading to the users. but i am little conscerned having both on same server. But we dont have an another server to accommdate, so multiple databases or multiple schemas on same box? which on has less overhead and what are the pros and cons...
    Thank you.

    couldlet me know what if i create an another schema in the existing database, do i create a separate tablespaces?
    -- You can create another schema in the existing database under same tablespace or different. Whatever makes sense for your application/database. Please note when you upgrade database then none of the schemas going to be available since they are part of same database.
    our golas is when one db is going through upgrades another should be up and running. as you suggested can i create on 'D" drive in 2 different oracle homes for each of these databases? in this case when i shutdown one db other will be still available to users right...
    please advise.
    -- Basically you will have 2 Oracle Homes on D drive. Something like D:\oracle_home\db_1 and D:\oracle_home\db_2 or whatever you directory/path names.. And database(s) can be located on same or (better) different drive.

  • Two database with Single Catalog

    Hi Experts,
    Is it possible to have two databases registered with a single catalog?
    My database versions are : 9i & 10g.
    The installed database version is 10g.
    Please advice & suggest
    Thanks & Regards,
    MB

    I have problem while connecting with the catalog , am trying to connect from 10g catalog to 9i database, but i get the following error.
    RMAN> connect target sys@TABS
    target database Password:
    Recovery Manager incompatible with TARGET database: RMAN 8.0.4.0 to 9.2.0.0 required
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-06429: TARGET database is not compatible with this version of RMAN
    Please i need help
    Thanks & Regards,
    MB

  • Multiple oracle database on single server

    Hi,
    In our organization, we are going to install, SRM, BW and XI on a single server, each going to use its own database.
    So, in that case, will the listener and listener port for all the three database will be the same, or we need to define it during the installation.
    Please help me in this regard.
    Thanks and Regards,
    Sailesh K

    Hi Sailesh,
    The best option is different binaries (Oracle & Sap), different Filesystems and different ports (Listener, msserver, gw, and so on) for every system you install. And, of course, different system numbers!
    Best Regards,
    JC Llanes.

  • How to run two instances of weblogic server as an NT service on the same machine

    I have to have two instances, one I want to use it for development(testing
    purposes) and the other one I need to use it as a live one(Production)
    So that I can test my applications independently without disturbing the live
    application.
    Thanks
    Madhu

    I can start one instance as an NT service, but the other instance, I have to
    start with the command. I need to run as an NT service because I need to
    use NTRealm
    Security
    I have created a new domain , server listening to different port.
    Thanks
    madhu
    Bruce Blackshaw <[email protected]> wrote in message
    news:[email protected]..
    "m holur" <[email protected]> wrote in message
    news:<3c0d2b66$[email protected]>...
    I have to have two instances, one I want to use it fordevelopment(testing
    purposes) and the other one I need to use it as a live one(Production)
    So that I can test my applications independently without disturbing thelive
    application.I would not recommend having development and production on the same
    machine.
    But if you wish to do so, you can create multiple domains under the
    same installation, say one for dev and one for prod. On the same
    machine make sure they listen on different ports. This, of course,
    ties you to the same version for development and production - making
    it impossible to upgrade just one.
    You may be able to do two completely different installations (i.e.
    different BEA HOMEs) on the same machine - I haven't tried this but it
    looks possible. This would mean you could upgrade each separately. The
    presence of BEAHOMELIST in the registry on NT seems to indicate this
    should work.
    Bruce Blackshaw
    Free Java FTP Library
    http://www.enterprisedt.com/downloads/ftp.html

  • Running two instances of Windows Server 2012 Essentials R2 on the same domain

    We have Windows Server 2012 Essentials R2 running as a domain controller -- and have installed another licensed copy of the same thing on the same domain.  We want to use the 2nd server for running an LOB application and provide backup for the
    AD services. 
    The 2nd server is a member of the domain. Can I do this and have the 2nd server provide AD failover services like they do with 2012 Standard? 

    Two things to consider. In the XP and 2003 era, the OS was not written in a security-first fashion. While XP did have LUA, almost nobody used them. Then came Vista and UAC, and those prompts were a major pain point because nobody wrote for security. Fast
    forward 6 years and standard accounts are a normal best practice. Almost nobody in business recommends running daily tasks as administrator.
    I mention all this to illustrate that, similar to admin accounts, what you used to get away with no longer applies. Running LOB apps on a DC is just bad. Many times, the app just doesn't work. But even if you could get it to work, it is a terrible idea.
    If the stories of Home Depot, Target, and most recently Sony don't already give it away, I'll spell it out. We no longer live in an age where you can take shortcuts and expect to be safe. Large organizations make national news when they screw up. But small
    businesses are targeted just as often and are at just as much risk. From "leaking" their client info to having their data held for ransom, the small business is abused regularly, but never makes national news because they are, by definition, small.
    If you can take simple easy steps to help minimize that risk, such as keeping a domain controller free of other software and locked down, then it is almost unethical to do Otherwise in the modern computing era. The world ha changed. It is our responsibility
    as I.T professionals to change with it. That's why we get to call ourselves "professionals" in relation to I.T.
    So, what bad things? Risking the customer's very livelihood. I consider that pretty darn bad.

  • Can I run two instances of TN3270 server on 7204?

    I have a 7204vxr router with two CPA cards. Each one connects to a different mainframe, and I would like to run the TN3270 server on each of my CPA's. Is this allowed? I have an active PU in VTAM on both systems, but cannot open a session on the second instance of the TN3270 server.

    Thanks for the reply Dan...
    LU's are hard coded, can ping the gateway/PU no problem... I get a "socket message not tapped - 28360 " error with my TN3270E client (Hummingbird) when trying to establish a session. No bind errors in VTAM or anything like that, and no error's in the router log with al the channel debug on. I have not had the time to look at this in as much detail as I would like to, but I'll get there.. Again, thanks for your input and I'll update this as soon as I have some more info...

  • *Synchronize two oracle databases in single database*

    Hi Friends,
    Is it possible to synchronize two database in single database.
    Actually the scenario is, there will be single instance database with dataguard config...So this database will be used from two different locations/places .. the distance is around 1000 Km. If the user not able to log from second location because of network problem ... then seconday server ie datagaurd will become primary for the second location.
    Then both the databasses will work as PRIMARY database for the two different locations. Once the network issue resolve then we need to sync the database to single database ...
    Is there any solution for synchonize the database ...or any tool for this one....
    Thanks in advance
    Anil Pinto

    Hi,
    You are looking for a Bidirectional Replication.
    Golden Gate Bidirectional Replication
    http://vishaldesai.wordpress.com/2011/02/24/golden-gate-bidirectional-replication-oracle-to-oracle-example/
    Oracle Streams
    Oracle Bi-Directional Data Replication
    http://www.databasejournal.com/features/oracle/article.php/3596971/Oracle-Bi-Directional-Data-Replication.htm
    Regards,
    Levi Pereira

  • HFM and Database single server installation

    Hi Everyone
    I am trying to install HFM, FDM, HFR and database on single server (64bit 2008 R2 OS), I started with installation of 64 bit database(v11g Release2) which I have installed in my D drive rest everything remains at default path. Installation completes successfully, also I am able to login into the database through SQLPLUS.
    Then I start my installation for clients which I am installing in c drive, installation of 32 bit client is successful and when I try to login through that client I am not able to login(TNS Protocol error).
    Moving ahead with the installation of 64bit client, I am not able to install since it throws me an architecture error "Actual Value 32bit and Expected Value 64bit" if I install 64 bit first and then the 32 bit everything goes fine but I am only able to connect through 64 bit client and not with 32 bit.
    Now I have few questions here..
    1) Can I install database, HFM, FDM, HFR on single server (11gR2 and v_11.1.2.1) if yes what is the correct way???? Installing database first and then clients and then 11.1.2.1??? or what????
    2) Why does it throw me an architecture error while it recommended to install 32 bit first and then 64 bit??????
    3) If I install 64bit client first and then 32 bit I am able to make connectivity to database only from 64 bit so in that case after installing the suite I should run HFM atleast but I am only able to run it once the moment I take a restart of server everything goes down with "Apache bridge error" and then the 404 forbidden error.
    If any one can guide me with proper steps for database installation and clients that would be great!!!!!
    I am installing foundation services first then HFM followed by FDM and HFR.
    Regards
    Vikalp

    The following blog post might help you:
    http://blogs.technet.com/b/dpm/archive/2014/09/29/support-tip-dpm-2012-r2-ur3-agent-install-fails-with-error-0x80070643.aspx
    Regards, Trinadh [MSFT] This posting is provided AS IS with no warranties, and confers no rights. If you found the reply helpful, please MARK IT AS ANSWER. Looking for source of information for DPM? http://blogs.technet.com/b/dpm/ http://technet.microsoft.com/en-in/library/hh758173.aspx

  • Install Two Database SID on Same Linux Server (AS 4)

    Hi
    We want to Setup/Install the Two Different SID on a same BOX what are the kernel parameter need to set to run both the instance on same server.
    Thanks

    Hi,
    you can create two database on some server there is no problem.
    and kernal parameter you already set according oracle software requirements during installation time.
    regards
    Taj

Maybe you are looking for