How to access multiple database present in single instance

Hi Team,
In oracle 11.2, can there be multiple databases in an instance???  In one of our environment, I could see multiple databases in an instance. Could you please help me in giving the data dictionary or query to access those databases?
Actually, querying v$database, I could see only one database which is same as instance name. But in inventory, there are multiple database in an instance?
I am still not exactly clear about this. Can someone help me with this?
Thanks!
Vidhya

In Oracle one instance manages one (1) database. A database consists of multiple *schemas*.
Other vendors erroneously call a schema 'database'.
So, no, you didn't see multiple databases.
There is also one datadictionary, consisting of a set of views.
All views beginning with dba_  list the entire database, all schemas.
All views beginning with all_ list the objects you have access to.
All views beginning with user_ list your own objects.
The view DICT show you the contents of the datadictionary.
Oracle also has online documentation at http://docs.oracle.com
From your question it is clear you should read the document called the 'Oracle Concepts Manual'.
You can find all documentation for 11gR2 here Oracle Database Online Documentation 11g Release 2 (11.2)
Too many people here don't make any effort to read it. This is probably the reason why you got no response.
Sybrand Bakker
Senior Oracle DBA

Similar Messages

  • How to add multiple databases for a single frontend

    We have a project based on distributed databases and we have to workout on .Net framework.I want to know some information of connecting multiple databases for a single frontend and how can we access them.
    If so we have connected 2 databases for a single frontend in future if I want add one more database to it how it will be possible to do it without disturbing the current connectivity.
    Please help me in resolving this problem.
    Thanks......

    hi,
    what do you mean by connecting 2 databases? can you explain further?
    using entityframework you can connect to different databases
    public class CustomerContext : DbContext
    public ReportContext()
    : base("DefaultConnection")
    public DbSet<Customers> Customers { get; set; }
    and your connectionstring (config file)
    <connectionStrings>
    <add name="DefaultConnection" connectionString="Data Source=(LocalDB)\v11.0;AttachDbFilename=D:\\Database\Project.mdf;Integrated Security=True" providerName="System.Data.SqlClient" />
    </connectionStrings>
    you can add more connection strings on it.
    https://msdn.microsoft.com/en-us/library/vstudio/cc716756(v=vs.100).aspx
    https://msdn.microsoft.com/en-us/library/ms254978(v=vs.110).aspx
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

  • How to connect multiple database in a single app?

    hi ppl,
    Im being asked to provide a application which is database independent.
    I need ur ways to approach this issue.
    if u have a solution, do drop in here.
    Thanks & Regards,
    intelnbril

    on the paper, the hibernate persistence framework can achieve that.
    In the reality its a bit more complicated as your app becomes more complex.
    anyway i'd say it is the best solution

  • Using Single Datasource to Access Multiple Databases

    Hi,
    We would like to know the pros and cons of accessing multiple
    databases through a single datasource, versus accessing each
    database through its own datasource. Our environment includes
    multiple web servers w/ the latest version of ColdFusion MX 7,
    clustered through a load balancer. Each web server has 800+ dsns
    pointing to different SQL databases on the same SQL server. We have
    noticed that the ColdFusion administrator is taking a long time to
    display or verify all datasources and sometimes it even times out.
    Another problem is that sometimes the neo-query file gets corrupted
    (for unknown reasons) which results in the deletion of one, or
    more, or all datasources on the web server.
    Because of the issues above we are researching the
    possibility of removing most of the datasources, and then accessing
    each database through a single bridge datasource. In that regard we
    plan to change our queries by inserting the sql db name and user in
    front of each table in the query such as:
    <cfquery name="query" datasource="single_dsn_name">
    select * from [#dbname#].dbo.tableName
    </cfquery>
    In the example above, obviously #dbname# would be a variable
    that will hold the name of the requested database. The code above
    would similarly apply to queries using, update, insert and join
    words.
    Are there any limitations or negatives from scalability,
    performance, and reliability perspective in implementing the above
    scenario versus having one datasource for each database.
    Also, if there is a better way of accomplishing this, we
    would love to hear about it.

    Here is my opinion, because I work with both schemas. The
    main advantage to use one datasource for all DBs in a SQL Server is
    the simplicity of administration.
    But the main disadvantage is security, because you are using
    a single user to access all DB in a server, you don't have
    isolation, and a user that knows your schema can access data of
    other DBs that he sould not be authorized.
    Another issue is is a user must access 2 differents DB with
    different permissions (a DB only read and the other read/write),
    you'll have to create another datasource, user, etc for it.
    But the decision depends in the enviroment. If you are a
    hosting company, I would use 1 datasource for user or DB. If the
    servers and DBs are of the same company, I could use one datasource
    for each SQL server.
    Best regards

  • How to configure multiple databases in single listener

    Hi,
    I want to configure upto 8 standby databases in a server. But I do not know how to configure multiple databases within the listener.
    Also can I use the same port number for all the databases.
    please give your suggestions.
    thankyou
    satyanag

    Please check (http://download.oracle.com/docs/cd/B10501_01/network.920/a96580/toc.htm)
    Jonathan Ferreira
    http://oracle4dbas.blogspot.com

  • Multiple databases in a single query

    I need to query multiple databases in a single query.
    e.g.
    Database d1 contains table t1 with column id
    Database d2 contains table t2 with column id
    I need a query like
    SELECT * FROM t1, t2 WHERE t1.id = t2.id;
    is this possible in jdbc? if yes can anyone help with some sample code?
    thanks,
    Ashish Saraf

    It is not possible using the JDBC API to query tables in two or more databases using a single query. The reason is that a JDBC Connection is made to a single data source.
    However, some databases support the idea of federations or linked tables. What you do is inside the database manager link or federate a table that is present in another DBMS. Then, pose a single JDBC query to the one DBMS which will have its own table and links to the external tables.
    Another approach is to use a special JDBC driver with a built-in integration engine that will perform a query across multiple databases. In effect, the system poses separate queries to the different databases and integrates and joins the data together for you automatically on the client-side. That is much easier than doing it yourself in code, but that is also possible for simple queries.
    As part of my research program, we have released a shareware version of the UnityJDBC driver that can query multiple databases using a single SQL query. For more information, see:
    http://www.unityjdbc.com
    http://www.cs.uiowa.edu/~rlawrenc/research/projects.html
    Sincerely,
    Dr. Ramon Lawrence
    Assistant Professor
    Department of Computer Science
    University of Iowa
    [email protected]

  • Accessing Multiple Databases

    I have a requirement in which I will need to use the same classes to
    access different databases. In other words, let's say I have a Person
    class. I'd like to use the enhanced Person class to pull people from a
    SQL Server database, and an Oracle database.
    The documentation mentions that you can access multiple databases by using
    different kodo.properties files with different names. However, it doesn't
    mention using different mappings, that I can see.
    What I'm thinking I could do is extend kodo.jdbc.meta.FileMappingFactory.
    Then I could have a .mapping file for each different database. My
    extension would just need to know to access *.sqlserver.mapping or
    *.oracle.mapping for instance.
    Is this plausible? If so, any hints on extending FileMappingFactory? How
    is that guy determining the name of the mapping file? Can I simply
    override a method?
    I'm hoping this will work, so that I don't have to create a
    SQLServerPerson and an OraclePerson. Any ideas appreciated.
    Thanks,
    Steve

    Ok, in answer to my own question, I'm providing the following which I hope
    Abe or Stephen will look at, and tell me this won't break everything.
    It seems that jdbc-class-ind is only read at the base level, and thus I
    couldn't add an "indicator" for each of my subclasses. So, as I wrote
    previously, I needed a way to read my jdbc-class-ind-value in my .mapping
    file for each class. Here is the code I came up with:
    <code>
    public class MyFileMappingFactory extends FileMappingFactory {
    JDBCConfiguration myConfiguration = null;
    static Logger log = Logger.getLogger(MyFileMappingFactory.class);
    public synchronized void readMapping(ClassMetaData type,
    MappingInfoRepository repos) {
    super.readMapping(type,repos);
    try {
    String[] persistentClasses =
    myConfiguration.getPersistentClassesList();
    MappingRepository mappingRepos =
    myConfiguration.getMappingRepository ();
    for (int i=0;i<persistentClasses.length;i++) {
    String className = persistentClasses;
    try {
    Class clazz = Class.forName(className);
    ClassMapping mapping = mappingRepos.getMapping(
    clazz, clazz.getClassLoader(), true);
    mapping.addExtension(
    "jdbc-class-ind-value",
    mapping.getMappingInfo().getAttribute("jdbc-class-ind-value"));
    catch (Exception e) {
    log.error("Could not set jdbc-class-ind-value for class '" +
    className + "'.");
    catch (Exception ex) {
    public void setConfiguration(Configuration conf)
    myConfiguration = (JDBCConfiguration) conf;
    super.setConfiguration(conf);
    </code>
    I did a lot of introspection using JBuilder as well as the Javadoc to
    figure out what I needed to call. Basically, I need to have
    kodo.PersistentClasses set in my config file, and I added an attribute to
    the .mapping jdbc-class-map element. Finally, my kodo.properties has to
    point to my custom MappingFactory.
    It all seems to work, but I wanted to verify with the experts I'm not
    breaking anything. I had hoped to figure out how to put an <extension> in
    the .mapping file so that it stood out even more as being "custom code",
    but could not figure out how to read such an element.
    Steven Kouri wrote:
    I think you've answered my question, but it doesn't help my problem. I
    actually did both: I loaded the static classes in my code as well as used
    the kodo.PersistentClasses property. Neither helped this situation.
    The reason it seems is when the fromMapping() gets called. It only got
    called after calling execute() on my query. Thus, the rest of my mappings
    hadn't been loaded yet. I put a breakpoint in fromMapping(), and here was
    my stack trace:
    execute()
    executeWithArray()
    executeWithMap()
    internalCompile()
    getMetaDatas()
    getMappings()
    getMapping()
    getMappingInternal()
    getMapping()
    getMappingInternal()
    intialize()
    fromMapping()
    So, I need to figure out a way to get my code to read all the mappings
    before I do an execute(). I think. :) I'll investigate further unless
    you can give me a pointer in the right direction.
    Thanks!
    Steve
    PS: 1pm? 1PM? I'm here before 7am! But then, I usually leave at 4pm. :)
    Abe White wrote:
    Is the .mapping file preparsed, or is it only accessed when a class is
    requested from the datastore?
    We only resolve mappings when the classes are actually used. Have you
    listed all your persistent classes in the kodo.PersistentClasses
    configuration property, as suggested by the documentation for
    MetadataValueIndicator?
    PS: It's 5:37pm on a Friday. I'm going home. You should too! :)
    When you decide to start work at 1pm, you tend to stick around a little
    later.

  • How to use multiple tape drive for single filesystem on single client.

    Hello All.
    I want to backup single filesystem with multiple tape drive.
    Incase of Symantec veritas netbackup "NEW_STREAM" for multi-stream backup.
    Backup client has a  single backup filesystem like /data1  directory with 4 LTO6 drives.
    /data1 directory doesn't have a sub-direcotry, just present a files.
    If /data1 directory has a sub-directory like /data1/aaa, /data1/bbb, /data1/ccc , Is it possible to use multiple drives?
    Please anybody answer the questions.
    Thanks advanced.

    See how to use multiple tape drive from single client when I want to backup single filesystem?

  • Urgent ! How to add multiple JToolBars in a single JFrame

    How to implement multiple JToolBars in a single JFrame
    or what is the concept behind floating toolBars.If anybody can help me ,Thisis very urgent

    If you insist on multiple toolbars, use the following code:
    JToolBar tb1 = new JToolBar();
    //add stuff
    JToolBar tb2 = new JToolBar();
    //add stuff
    //put the toolbars on the top of the window
    JPanel toolbars = new JPanel(new BorderLayout());
    toolbars.add(tb1, BorderLayout.NORTH);
    toolbars.add(tb2, BorderLayout.CENTER);
    getContentPane().add(toolbars, BorderLayout.NORTH);Stephen

  • How to set multiple styles on a single component in flex ?

    Hi ,
    I would like to know how to set multiple styles on a single component in flex.
    Can anyone give me an example as to how to set multiple styles for a single component ?
    Thanks ,
    Regards,
    Ajantha

    Hi tuliptaurus,
    You can setStyleName property for chnaging the external css dynamically by using the setStyle() method ...
    btn.setStyle("styleName","blendButtonSkinOther");
    You can change the external css by using the styleaName property with setStyle method..the line in blue..where blendButtonSkinOther is another css class..
    blendButtonSkin {
        fontFamily: Arial;
        fontSize: 11;
        color: #F1F1F1;
        textRollOverColor: #F1F1F1;
        textSelectedColor: #F1F1F1;
        horizontal-align:center;
        width:150;
        height:30;
        cornerRadius:5;
        upSkin:ClassReference('assets.skins.BlendButtonSkin');
        downSkin:ClassReference('assets.skins.BlendButtonSkin');
        overSkin:ClassReference('assets.skins.BlendButtonSkin');
        disabledSkin:ClassReference('assets.skins.BlendButtonSkin');
        selected-up-skin: ClassReference('assets.skins.BlendButtonSkin');
        selected-down-skin: ClassReference('assets.skins.BlendButtonSkin');
        selected-over-skin: ClassReference('assets.skins.BlendButtonSkin');
    blendButtonSkinOther {
        fontFamily: Arial;
        fontSize: 11;
        color: #F1F1F1;
        textRollOverColor: #F1F1F1;
        textSelectedColor: #F1F1F1;
        horizontal-align:center;
        width:150;
        height:30;
        cornerRadius:5;
        upSkin:ClassReference('assets.skins.BlendButtonSkin');
        downSkin:ClassReference('assets.skins.BlendButtonSkin');
        overSkin:ClassReference('assets.skins.BlendButtonSkin');
        disabledSkin:ClassReference('assets.skins.BlendButtonSkin');
        selected-up-skin: ClassReference('assets.skins.BlendButtonSkin');
        selected-down-skin: ClassReference('assets.skins.BlendButtonSkin');
        selected-over-skin: ClassReference('assets.skins.BlendButtonSkin');
    Thanks,
    Bhasker Chari

  • How to delete multiple data domains with single step ?

    how to delete multiple data domains with single step ?

    You can go to your Endeca-Server domain home e.g.($WEBLOGIC-HOME$/user_projects/domains/endeca_server_domain/EndecaServer/bin)
    run
    [HOST]$ ./endeca-cmd.sh list-dd
    default is enabled.
    GettingStarted is enabled.
    endeca is enabled.
    BikeStoreTest is enabled.
    create a new file from the output just with the domains that you want to delete and then create a loop
    [HOST]$ vi delete-dd.list
    default
    GettingStarted
    endeca
    BikeStoreTest
    [HOST]$ for i in $(cat delete-dd.list); do; ./endeca-cmd.sh delete-dd $i; done
    Remember that this can not be undone, unless you have a backup.

  • Does anyone know how to add multiple pictures to a single frame in iMovie?

    Does anyone know how to add multiple pictures to a single frame in iMovie?

    Maybe you would be better off posting this in the iPhoto or iDVD categories of the forums.
    http://discussions.apple.com/category.jspa?categoryID=143
    http://discussions.apple.com/category.jspa?categoryID=128
    The answer to your question depends on what you ant to do with the DVD.
    Do you want a DVD menu, slide show etc.
    iPhoto will allow you to burn straight to a DVD. Just select the album you want to burn then go to share in the tool bar and select Burn.

  • How to insert multiple records in a single query

    Dear all,
    Can you please tell
    how to insert multiple records in a single query ??

    INSERT INTO table_name (column_1, column_2) VALUES ('value_A', 'value_B')OR
    INSERT INTO table_name
    (column_1, column_2)
    SELECT 'value_A', 'value_B' FROM DUAL
    UNION ALL
    SELECT 'value_C', 'value_D' FROM DUAL
    ;Edited by: Benton on Nov 9, 2010 1:59 PM

  • How to access Oracle database using UNIX?

    Hi,
    Does anyone know how to access Oracle database Oracle 8i that is hosted on unix server via unix command line?
    Thanks,
    Willy

    Well, Oracle probably has a command line tool. I think it's called sqlplus or somesuch. Check you Oracle docs.
    Of course, given that this is a Java forum, it's remotely possible that you're actually asking about accessing the database from a Java program.
    http://java.sun.com/developer/onlineTraining/Database/JDBC20Intro/

  • How to call multiple strus actions froma single jsp

    how to call multiple strus actions froma single jsp, and that actions should be automatically called pls help me
    Thanks in advance

    how to call multiple strus actions froma single jsp, and that actions should be automatically called pls help me
    Thanks in advance

Maybe you are looking for

  • Address Book Sharing

    Is it at all possible to share parts of my address book but not the hole darn thing? Not sure if this really needs to be in feedback or if I am missing something. My address book covers everything from family, several groups of friends, financial com

  • Error Message - "Aperture cannot access this library"

    I'm using OS 10.5.7 and Aperture 2.1.3. I recently had an error message pop-up when I try to start Aperture that says, "Aperture cannot access this library. To use this library, make sure its file permissions are set correctly." Unfortunately, I can'

  • Migration 2005A SP01 PL39? Yes or No

    Hi Gurus, We are thinking about a study about a migration of SBO from PL22 to PL39. We are using all modules of SBO (Sales, Production, Purchasing, Accounting, Financial, CRM, DTW). So, we are actually in PL22. However, we have some troubles like wro

  • Can't locate files on itunes

    hen I try to open file (music, video, podcast, etc) receive message from Itunes when I click on an item the"cain't locate file.  When I click on locate itunes doesn't point me to the file. Help!

  • Using Servers and Servlets

    Does anyone know how to make sure that when a servlet is run the class that is running the servlet (ie extends HttpServlet) is able to be accessed by another program, say Lisp, through the use of jlinker. If anyone knows, the problem is that I can no