One instance and two databases?

Hello, I've installed oracle database on my server. I've read a lot of documentation to learn the basic concepts.
Ok, I have a question. I have read that one instance only can manage ONE database. Is it true? If it's true, how on earth I can create two database? for example, I want to create database-one and database-two.
I would create these with CREATE DATABASE command. How does Instance know if I want to access to database-one or database-two. How I indicate it in initilitation parameter file of my instance?
In sumary, Can one instance works with two databases?

Look at the following output. If I do not set my ORACLE_SID variable, the 9.2.0.7 client connects to the 9.2.0.7 database instance. If I set my ORACLE_SID , the same 9.2.0.7 client now connects to the 10.2.0.1 database (the database specified in the ORACLE_SID variable).
C:\>set ORACLE_SID=
C:\>sqlplus kkishore/kkishore
SQL*Plus: Release 9.2.0.7.0 - Production on Mon Jul 17 09:27:55 2006
Copyright (c) 1982, 2002, Oracle Corporation.  All rights reserved.
Connected to:
Oracle9i Enterprise Edition Release 9.2.0.7.0 - Production
With the Partitioning, OLAP and Oracle Data Mining options
JServer Release 9.2.0.7.0 - Production
SQL> exit
Disconnected from Oracle9i Enterprise Edition Release 9.2.0.7.0 - Production
With the Partitioning, OLAP and Oracle Data Mining options
JServer Release 9.2.0.7.0 - Production
C:\>set ORACLE_SID=ORA10GR2
C:\>sqlplus kkishore/kkishore
SQL*Plus: Release 9.2.0.7.0 - Production on Mon Jul 17 09:29:31 2006
Copyright (c) 1982, 2002, Oracle Corporation.  All rights reserved.
Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
With the Partitioning, OLAP and Data Mining options
SQL> disconnect
Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
With the Partitioning, OLAP and Data Mining options
SQL>Message was edited by:
Kamal Kishore

Similar Messages

  • Can i create more than one instance for single database?

    HI
    anybody can tell me how to create more than one instance for single database(without using RAC)?
    thanks
    Kalanidhi

    Anandji,
    I sometimes think differently. I also think like what this person is asking..(although I have installed and administering 5 different RAC databases)
    The main doubt of mine is that we create multiple instances accessing the same storage area.
    Anyway the controlfiles of all instances will have the same information except the instance_names and instance id's.
    Hence I always think , why can't it be possible to to create another instance in the same system and point it to a controlfile which is copied from the other instance.
    Why can't the same files be shared between the two instances in a same system ?
    I know I am thinking a little bit confusing...
    Anyway I need to test that also...
    Mahesh.

  • One sender and two receiver

    Hi All,
    I have a scenario in which there is only one outbound Message interface and 2 inbound message interfaces ( one sender and two receiver). In XI, how can i configure the interface determination for this? Shall i need to put * for receiver and add 2 inbound message interfaces and interface mappings.
    Thanks
    Michael

    Use xpath in your interface determination in case you have some conditions, else u can *** multiple interfaces in your int. det.. also ref:
    /people/suraj.sr/blog/2006/01/05/multiple-inbound-interfaces-within-a-service

  • I have one Iphone and two computers. How do i get my ringtones off of one computer and onto the other?, I have one Iphone and two computers. How do i get my ringtones off of one computer and onto the other?

    I have one Iphone, and two computers. They both have different purchases on them. One is older than the other. and one was my moms. How do i get the ringtones off of my computer and onto my moms computer to use all of them on my Iphone?

    Copy them to a cd/dvd/flash drive/external drive/etc,  then to the other computer.
    E-mail them.

  • Oracle financials on one instance and PO,PA,EAM, Inventory etc on another

    Hi all,
    Can any one suggest a possible solution architecture with Oracle HRMS and Financial suite on one instance and all other modules like PO, PA, Inventory, EAM etc on another instance?
    Regards,
    Rajesh

    Please open a new thread for new questions.
    In your case, here is what you can do
    1) Manually copy all HR setups from HR instance to the SCM instance.
    2) Extract data such as employees, assignments etc.c from HR instance
    3) Load the data into the SCM instance using API/Interfaces.
    4) Retire HR instance.
    Hope this answers your question
    Sandeep Gandhi
    Omkar Technologies Inc.
    Independent Techno-functional Consultant
    513-325-9026

  • In my family we have 3IPhones 4S, one IPhone5, one IPad3, one IPadMini and two IPad 4. Is it possible to use the same energieadapter for all of those ?

    In my family we have 3IPhones 4S, one IPhone5, one IPad3, one IPadMini and two IPad 4. Is it possible to use the same energieadapter for all of those ?

    Yes but the iPhone chargers will struggle to charge the iPads ,they need more power than the iPhone chargers produce and with an iPad will charge VERY slowly
    The iPad chargers whether 10w or 12 will happily charge all your devices and Apple confirms the compatibility on the relevant web page.

  • POSDM Diff Between : One Step and Two Step Processing Tasks

    Hi All,
    Can you pl give some points on difference between "One Step and Two Step Processing Tasks in POSDM ??
    Thanks!!

    Please consult the SAP Note 980272 on the service marketplace. It gives a detailed description of the difference.

  • We have one iPod and two iPhones; we have not been able to transfer our music from Ipod to IPhones, via iTunes, please assist?

    We have one iPod and two iPhones; we have been unable to transfer our music from the Ipod via iTunes to the iPhones, please assist.

    did you right click the ipod/iphone and click transfer purchases

  • Trade-off between the one-arm and two-arm WAE designs

    We are configuring a WAE (model 512) for a branch office and I was wondering if someone could please tell me the trade-off between the one-arm and two-arm WAE designs..
    thanks..
    greg..

    if you are using WCCP then the WAE becomes the client withing the servcie groups 61, 62. In order to accelerate both vlans then apply the ip redirect 61 in on the client vlan ineterfaces to the one interface.
    If inline, you can use both 2 port groups for each client interface or trunk all to a single inetrface and configure which vlans you would like to accelerate.
    Now in terms of of using both GE inetrfaces, I would have to check. A topology diagram would help

  • Hash with one key and two values

    Hello,
    In java can i have a hash or similar data type than can have one value and two keys?
    thanks,
    jd

    Eh, I'd avoid arrays, personally.
    The reason why is that in my experience, once you start doing things like this, you end up adding an arbitrary number of additional elements for each key. Fixed-size arrays would be a pain.
    If you don't want/need to create an object that encapsulates the two values, why not just use a java.util.Collection as the value in the hash? The Collection -- say, a LinkedList (you decide) -- would hold the two values you want associated with the key.

  • One instance for two different application

    Hello,
    I have to solve following problem..
    need have one instance of object for two different application..fist is standard SE application and second is EE (web)..
    SE application is a server..listen on and accepting connection from mobile phone..and EE application need to show list of connected devices and should say to SE application that new device was connected..
    I would like to do this without database..only server and web app..
    I have thought about RMI..but hope there is more simple solution..
    Thanks a lot for your ideas.
    Dmitrij

    I would like to do this without database..only server and web app..You have your reasons for wanting this to be the case. If you are sure you don't want a DB, then pass the state of the object between the two ends using XML as the transport form. As someone said, you can use JMS or you can write an HTTP POST or probably other transport mechanisms other people will suggest to actually get it over the wire from one side to the other.
    As to your question of how to sync state, just make the object you're sharing final after it's been created (on the side that creates it) and make the reference that receives it and holds it final also, after you've reconstructed it from the XML you received.

  • 10g ASM instance and 11g database

    Hello,
    does anybody ever connected ASM instance10.2 and database 11.1? Is there any sense in it? When I have two databases: 10.2 and 11.1 running on the same host, should they both use separate ASM instances or is it possible to connect them to the common one?
    Thanks,
    Aliq

    Yes, such combination is supported with asm 10.2 and database 11.1.
    You can check metalink note 337737.1 as well.

  • V$instance and V$database

    Hi
    Are these tables can contain more than one row? in which situation?

    Sagi wrote:
    Thinks for the help
    I'm trying to figure out some things about RAC environment and SBDB.What is SBDB?
    Is out of tables ($ V $ V INSTANC and DATABASSE) I can know whether the environment is a RAC environment
    I would suggest to look for the parameter cluster_database in the parameter file. If this parameters comes as true , that means you are on a clustered database. Otherwise, it would be false all the time. I don't have a db with me to test the output of both the views but based on the documentation, there is no column in both which does tells you that its a rac or non-rac db.
    and how NODE / DB / INSTANCE have around, same goes for SBDB environment.Sorry, I couldn't parse your statement. Can you rephrase please?
    Aman....

  • One Instance for Mutiple Databases

    hi,
    its okay that there may be many instances in one DB, but my question is whether on Instance can be in different or more than one DB, if yes then HOW ?

    Where are you coming from? What is your background?
    Your question implies that you have experience in some other system, and are getting confused with terminology. For example, what others call a 'database' is often simply a 'schema' in Oracle.
    A strict answer to your question:
    a) instances/database:
    With RAC, many instances may coordinate to manage the data in one database. Without RAC, only one instance may manage/manipulate one database.
    b) databases/instance:
    And, in the opposite direction, one instance can can manipulate a maximum of one database (at a time).

  • ASCP One instance with two source instance

    Hi,
    We are in a position to work with two source instances and One APS (ASCP) instance (Decentralized).
    What are all the setups we need to do in 1. Admin > Instances 2. Profile option and other
    Appreciating your valuable answers
    - Ramesh

    Using administrator responsibility, first create 2 instance partitions.
    Then using the instances screen, create the 2 instances. Make sure you have setup the db links prior to that.
    Then assign appropriate orgs to the 2 instances.
    After that, the remaining setups (such as DC, defining plans etc.) should be repeated for instances.
    Hope this answers your question
    Sandeep Gandhi
    Independent Techno-functional Consultant

Maybe you are looking for