One query on two databases acts differently.

Hi - this is a doozy. I'd Ask Tom but I think he's busy...
Database-A = PRODUCTION
Database-B = TEST
Both databases run 9.2.0.8, the parameter files in use are the same (so all optimizer settings etc are equal). The table spaces were created equally.
One difference is that 'A' uses an overloaded SAN and 'B' is on a different one with plenty of bandwidth - though the problem sounds to me like a database optimizer issue, anyway...
'B' schema was created from export/import of 'A'.
The schemas have both been analyzed the same way (and both do each night).
The problem is here that on 'B' the query uses the PK index on one of the tables whereas on 'A' the same query does not use the PK index.
Note: There are slightly fewer rows in 'B' as 'A' is prod and getting updated.
Already ruled out:
optimizer_index_cost_adj: this is set to 100 on both databases and dropping it to 50, 10, 5 and 1 on 'A' does not make the optimizer favour the index.
Stored outlines may not be an option for this query as we cannot alter the application code and the query changes....
Any ideas where should I look next?
Ta!

Thanks to both the above comments.
I did think about the data clustering but I kept
coming back to why the optimizer on 'A' said "I want
a full table scan" and 'B' says, "oh hey, there's an
index, I'll use that".This has nothing to do with clustering data.
http://download.oracle.com/docs/cd/B19306_01/server.102/b14237/statviews_1069.htm#i1578369 - look for 'Clustering Factor'
Also see Note:39836.1
IN a nutshell - it tells the system how bad an index could be when considering the organization of the table. A table (not index) reorg could easily change the clustering factor, give the same index for the same table with exactly the same data (but different row order) a completely different value.

Similar Messages

  • Select query on two Database views

    Hi all,
    Can i fetch the data by writing a select query on two DATABASE VIEWS
    Because i am able to fetch data by writing a selct query on ONE DATABASE VIEW and ON TRANSPARANT TABLE
    but i am not able to fetch data by writing a query on TWO DATABASE VIEWS
    Query which i am able to fetch data is
    select * from CSKS where OBJNR = COVJ-OBJNR
    Query which i am NOT able to fetch data is
    Select * from COAS where OBJNR = COVJ-OBJNR
    Here
    COVJ is a DATABASE VIEW
    CSKS is a Transparant Table
    COAS is a DATABASE VIEW
    Thanks in advance
    Regards
    Ajay

    Hi
    I tried with code and I am able to fetch data from view COAS
    DATA:it_coas TYPE STANDARD TABLE OF coas.
    SELECT * FROM coas INTO TABLE it_coas.
    IF sy-subrc IS INITIAL.
      WRITE:/ 'Sucess'.
    ENDIF.
    I think in your case COAS view does not have a value for COVJ-OBJNR.
    Regards
    Srilaxmi

  • How to compare two database on different servers

    hi,
    I want to compare two database on different servers in oracle.first i want to ckechk thier structures and then data.i m using oracle 10.2.0.plz help me out
    Thanks in advance

    In terms of structures, there are various tools out there that can do this, such as TOAD which can do a database compare.
    In terms of data comparisons, that will depend on what sort of results you are expecting to see. I'm sure some tools will do it for you, but it can be just as easy to write your own comparison using a database link from one database to the other.

  • Make one query from two

    Hi,
    Could you help optmize this query. If possibel.
    I have three tables: GROUP, GROUP_X_USER, USER.
    If there is a relation between GROUP and USER, it will be stores at GROUP_X_USER.
    Example:
    <tt>
    GROUP               GROUP_X_USER         USER
    1 - GROUP A             1 - 2            1 - MARIO
    2 - GROUP B             1 - 3            2 - JOSE
    3 - GROUP C             2 - 2            3 - MARIA
    </tt>
    That means: JOSE can access groups A and B. MARIA, just group A. MARIO does not
    have a implicit realation, so he can access all groups (A,B and C).
    Clear?
    So... I want to create a sql query that return the groups a given user can
    access. If in my where clause i use "WHERE USER_ID = 2", it should return 2
    lines: GROUP A and GROUP B.
    For users that has a impliciti relation at GROUP_X_USER is a peace of cake query.
    SELECT GROUP.NAME FROM GROUP, GROUP_X_USER, USER
    WHERE GROUP.GROUP_ID = GROUP_X_USER.GROUP_ID
    AND GROUP_X_USER.USER_ID = 2;But, this query does not work for user MARIO.
    Currently, I´m doing this:
    SELECT count(*) INTO wcount FROM GROUP_X_USER WHERE USER_ID = 1;
    if wcount = 0 then
        SELECT GROUP.NAME FROM GROUP;
    else
        SELECT GROUP.NAME FROM GROUP, GROUP_X_USER, USER
         WHERE GROUP.GROUP_ID = GROUP_X_USER.GROUP_ID
           AND GROUP_X_USER.USER_ID = 2;
    end if;
    Can I do this with just one query, whithout need do a count and a "if"?
    PS: My query is actually more complex than this, has 5 tables and a lot of "conditions".
    I made this example just to explain what I need. The goal is to have just one query
    to mantein, because, today, if it needs to change, I need to do it two times.
    Edited by: mcardia on 30/03/2010 12:15
    Edited by: mcardia on 30/03/2010 12:16

    Clear?Sorry, but
    No,since:
    1) you forgot to mention your database version (the result of select * from v$version; )
    2) you've posted unformatted code, which you can (and should) easily adjust by adding the tag before and after your examples.
        see: http://forums.oracle.com/forums/help.jspa for more explanation regarding using tags (scroll a bit down)
        we have no clue regarding columns and/or datatypes you're using now.
    3) please try to put up a small but concisive testcase, using CREATE TABLE and INSERT INTO statements and the results you want from
        that.
    Can I do this with just one query, whithout need do a count and a "if"?
    It probably can be done, but you'd need to be more clear and specific first regarding the already mentioned points.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • 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

  • Make one query of two queries?

    I have these two quries, how can I at the best way get the same result in one query?
    --Querie 1
    SELECT 'm' || Year_Month As Month,
    Sum(NET_SALES) As "Net Sales"
    FROM tlbInfo 
    WHERE Year_Month Between '200709' And '200801'
    And record_type IN ('A','X')
    Group by Year_Month
    Order by Year_Month
    --Querie 2
    SELECT 'm' || Year_Month As Month, 
    Sum(STANDARD_MANUF_COST)/Sum(Case When SALES_QUANTITY <> '0' Then SALES_QUANTITY End) As "Cost",
    to_char(100*((sum(NET_SALES)-sum(STANDARD_MANUF_COST))/sum(NET_SALES)) || '%') As "Margin"
    FROM tlbInfo 
    WHERE Year_Month Between '200709' And '200801'
    And record_type NOT IN ('A', 'X')
    And Net_Sales >0
    Group by Year_Month
    Order by Year_Month

    why did you change the 1st query? now you're further from getting the correct answer (not to mention that now my previous post makes no sense).
    put the 1st query back to the way it was. then change the 2nd query to remove the record_type and net_sales criteria from the where clause, and instead put the logic into the select, via a CASE, like the first query is written.
    now look at the two new queries, and ask yourself, what's so hard about making one query?
    and don't do this work in the original post. do it in notepad. and if you want to post the new queries here to get further help, hit the REPLY button, NOT THE EDIT BUTTON

  • DIfferent perfromance of same query on two database

    We have our DEV database of 11.2.0.2 on Redhat 5.2, and our production database is a two node RAC of the same version on same ype of servers. Recently, we noticed that when run the same query on the two server, the DEV is 300 to 1000 times faster than on production, while the exec plan cost of DEV is one third of that of PRD. The query is SELECT PERSON_X_IDTY.PERSON_ID AS Facet_ID,1.0 AS Facet_Rank
    FROM (IDTY INNER JOIN PERSON_X_IDTY ON ((IDTY.IDTY_ID = PERSON_X_IDTY.IDTY_ID)))
    WHERE (((IDTY.IDTY_NAME_FIRST IS NOT NULL AND LOWER(IDTY.IDTY_NAME_FIRST) = LOWER('DAVID'))
    AND (IDTY.IDTY_NAME_LAST IS NOT NULL AND LOWER(IDTY.IDTY_NAME_LAST) = LOWER('MILLER'))
    AND (IDTY.IDTY_BIRTH_DATE IS NOT NULL
    AND (IDTY.IDTY_BIRTH_DATE BETWEEN TO_DATE('1981-01-01 00:00:00','YYYY-MM-DD HH24:MI:SS')
    AND TO_DATE('2000-12-31 23:59:59','YYYY-MM-DD HH24:MI:SS')))
    AND (IDTY.IDTY_GENDER IS NOT NULL AND IDTY.IDTY_GENDER = 'M'))) AND ROWNUM<= 300 I know the query looks stupid, but that is generated and we are not to change it.
    The exec plan show indexes are used for both table, but cost on PRD are heavier for index RANGE SCAN or BY INDEX ROWID. The index used for table IDTY is a functional index on IDTY.IDTY_NAME_LAST. I rebuild the indexes used but there is no improvement.
    What parameters or configuration of database I need to check to find the reason for this case?
    Thanks.

    Thank you for all your replies. I did found some difference in init parameters and I restarted Oracle on PRD with a parameter file that is most copied from DEV and make the two as the same as possible. Not solve the problem. After noted that both tables involved are set to PARALLEL 4, I did SQL> alter table IDTY parallel 1;
    SQL> alter table PERSON_X_IDTY patallel 1; The query plan got worse, but the query returned in a time comparable with DEV. THen I re-set parallelism back to 4 SQL> alter table IDTY parallel 4;
    SQL> alter table PERSON_X_IDTY patallel 4; Query performance remained being good.
    Now I have a work around, but hope can got an explaination? The parameters related to parallellism areNAME1                           VALUE_PRD                   VALUE_DEV                  
    fast_start_parallel_rollback    LOW                         LOW                        
    parallel_adaptive_multi_user    TRUE                        TRUE                       
    parallel_automatic_tuning       FALSE                       FALSE                      
    parallel_degree_limit           CPU                         CPU                        
    parallel_degree_policy          MANUAL                      MANUAL                     
    parallel_execution_message_size 16384                       16384                      
    parallel_force_local            FALSE                       FALSE                      
    parallel_io_cap_enabled         FALSE                       FALSE                      
    parallel_max_servers            160                         160                        
    parallel_min_percent            0                           0                          
    parallel_min_servers            0                           0                          
    parallel_min_time_threshold     AUTO                        AUTO                       
    parallel_server                 TRUE                        FALSE                      
    parallel_server_instances       2                           1                          
    parallel_servers_target         64                          64                         
    parallel_threads_per_cpu        2                           2                          
    recovery_parallelism            0                           0    

  • CR 4 Ent, Xcelsius and WebI - one query and two different results

    Dear Sirs,
    I'm using BO 4.0 platform and 3 tools: Crystal Reports for Enterprise, WebI and Dashboard Design (Xcelsius).
    I have one question, because in my opinion in this solution is one inconsistency.
    I have one table in SQL Server (like below):
    IDRec (autoinc)  | Col1 (varchar)   | Col2 (int)
    1      A    1
    2      A    1
    3      B    2
    4      B    2
    I have one universe with ONLY 3 dimensions (IDRec, Col1, Col2). I haven't any measures.
    And:
    1. Using CR 4 Ent and I create report using 3 dimensions (IDRec, Col1, Col2).
    I make sure, that I selected option: "Retrieve duplicate rows"
    If I have 3 columns in details I have 4 records (4 rows) in my report, when I have 2 columns (Col1 Col2) I have only 2 records (2 rows) in report (Page view).
    So universe (or something like this) use option DISTICT (I think).
    2. When I use WebI (14.0.2) I have the same situation.
    3. When I use Dashboard Desigm (Xcelsius 2011) I have 4 rows !!!  ALWAYS - it doesn't matter I selected "Retrieve duplicate rows" or not  !!!
    When I look to "View script" window, I not see DISTINCT clause.
    Am I doing something wrong?
    I can change the settings so as to be able to see duplicate records?
    It's very important for some calculation, especially in Crystal Reports (for Enterprise).

    Hi,
      Thanks for the response...But the result is deviating from the expected..
           expected is
         if we have first query returns              second query returns
                  1                                                     4
                  2                                                     5
                  3                                                     6
         these two queries result should be in one table , with first query result in first column and second query result in second column.
       The two queries fetching data from same table(category table as in my post) with different search criteria( in where clause).......Regards,
    Rakesh.

  • One Query or Two liinked Queries

    hi experts
    i want to know what is the better in performance in the report builder is to create one single query with join 2 master and details tables
    or
    create 2 queries one for each table and link them by datalink
    thanks

    I don't think you will notice a HUGE difference in performance.
    But, I think it would be easier to have everything in one main query then control it with grouping.
    Edited by: Kurzweil4 on Sep 8, 2010 3:30 PM

  • Query across multiple databases

    Hi,
    One shot question: is it possible in Oracle to write a query joining two tables from different databases ?
    I used MS SQL, and it was duable there, but I have to port app to Oracle, and I did not manage to do this on oracle.
    I use oracle 9
    Thanks.
    pesq

    1. Create an account on the remote database with permissions to select from the relevent tables.
    2. Create a database link in the local database to connect to the account (step 1.) in the remote database.
    3. Now execute you query in the local database connecting to the tables in the remote database.
    SELECT local_a.col1, local_a.col2, rmt_a.col5
    FROM local_table local_a, remote_table@<name of link> rmt_a
    WHERE local_a.key = rmt_a.key;

  • CR11R2: two Databases - doesn't work

    Hi!
    I've developed a CR-Viewer with .NET 2.0 and CR11 Release 2. The Viewer works fine with reports which have only one datasource (ODBC) with one database. But a few reports of us have one datasource with two databases.
    The first database-Name is IMS and the second fibgs.
    Our Viewer needs to update the Connection (ODBC-Name, Database-Name, DB-User and password) for each table.
    The info of table.LogOnInfo.ConnectionInfo.DatabaseName is always IMS and thats not correct. The tables/views which are in the database fibgs aren't available after the Datasource was updated.
    So my question is: How can I get the correct Database name of each table. (In Crystal Reports the correct name is shown).
    Thanks a lot!

    Hi!
    Thanks! But my problem is, to find out which table is part of which database. I've already have two datasources. Here my code, perhaps it is better to understand:
    foreach (CrystalDecisions.CrystalReports.Engine.Table tbl in cr.Database.Tables)
                li = tbl.LogOnInfo;
                string oldDbName = li.ConnectionInfo.DatabaseName.ToUpper();
                if (oldDbName.Length >= 2)
                    //Here is the problem => always IMS!!!
                    if (oldDbName.Substring(0, 3) == "IMS") 
                        // IMS-Table
                        try
                            li.ConnectionInfo = p_ImsCi;                       
                        catch (Exception ex)
                            MessageBox.Show("Fehler bei der Zuweisung der
    iMS-Verbindungsinformationen bei
    Tabelle " + tbl.Name + "." + Environment.NewLine + ex.Message);
                    else
                        // GYPSILON-Table
                        if (p_GypCi.DatabaseName != "" & p_GypCi.ServerName != "")
                            try
                                li.ConnectionInfo = p_GypCi;                           
                            catch (Exception ex)
                                MessageBox.Show("Fehler bei der Zuweisung der
    Gypsilon-Verbindungsinformationen
    bei Tabelle " + tbl.Name + "." + Environment.NewLine + ex.Message);
                        else
                            MessageBox.Show("Die Logon-Informationen für die
    FiBu-Datenbank sind unvollständig.",
    "iMS Report Viewer", MessageBoxButtons.OK, MessageBoxIcon.Information);
                            return false;
                    // Nun weisen wir li wieder der Tabelle zu
                    try { tbl.ApplyLogOnInfo(li); }
                    catch (Exception ex)
                        MessageBox.Show(tbl.Name.ToString() + " " +
    ex.Message + Environment.NewLine +
    "(ApplyLogOnInfo->" + tbl.Name + " )");
                else
                    // Alter Datenbankname hat weniger als 3 Zeichen -> FEHLER
                    MessageBox.Show("Die Logon-Informationen für folgende
    Datenbank sind unbekannt: '" + li.ConnectionInfo.DatabaseName +
    "' '" + li.ConnectionInfo.ServerName + "' '" +
    li.ConnectionInfo.Type + "'", "iMS Report Viewer",
    MessageBoxButtons.OK, MessageBoxIcon.Information);
                    return false;
                //check connectivity
                bool StatusConnectivity = false;
                try
                    StatusConnectivity = tbl.TestConnectivity();               
                catch (Exception ex)
                    MessageBox.Show("Fehler bei der Verbindungsprüfung." +
    Environment.NewLine +
    ex.Message + " -> " + tbl.Location + "(" +
    tbl.LogOnInfo.ConnectionInfo.DatabaseName + " " +
    tbl.LogOnInfo.ConnectionInfo.ServerName + ")" +
    Environment.NewLine);
    We've got about 300 reports and a couple of them have two databases in one ODBC-Connection.
    Any other idea? Thanks!!!

  • LINK to Database with different GLOBAL_NAME

    Could anybody help me? We have two databases with different GLOBAL_NAME parameter. First database has GLOBAL_NAME=true, second - 'false'. I would like to make LINK from first database to second. If I make link name as a simple word ('DBST'- for example), ORACLE adds DOMAIN name and connects with error ORA-02085. Second database doesn't use DOMAIN name.
    Thanks

    This script will export the activeDocument as a jpg and gif
    function exportSFWJpg( doc, saveFile, qty ) {
         var exportOpts = new ExportOptionsSaveForWeb( );
         // see guide for other options
         exportOpts.format = SaveDocumentType.JPEG
         exportOpts.includeProfile = true;//default false
         exportOpts.quality = qty;
         if ( saveFile.exists ) saveFile.remove( );
         doc.exportDocument( saveFile, ExportType.SAVEFORWEB, exportOpts );
    function exportSFWGif( doc, saveFile, qty ) {
         var exportOpts = new ExportOptionsSaveForWeb( );// default format is gif
         // see guide for other options
         if ( saveFile.exists ) saveFile.remove( );
         doc.exportDocument( saveFile, ExportType.SAVEFORWEB, exportOpts );
    var doc = activeDocument;
    var docPath = decodeURI( doc.path );
    var docName = decodeURI ( doc.name );
    docName = docName.match( /(.*)(\.[^\.]+)/ ) ? docName = docName.match( /(.*)(\.[^\.]+)/ ) : docName = [ docName, docName, undefined ];
    var saveName = docName[ 1 ];
    exportSFWJpg( doc, new File( docPath + '/' + saveName + 'POWERPOINT.jpg' ), 80 );
    exportSFWGif( doc, new File( docPath + '/' + saveName + 'WEB.gif' ) );

  • Two different results using one query

    Hi Friends
    Oracle version that I am using is : Oracle Database 10g Enterprise Edition Release 10.2.0.2.0 - 64bit Production
    With the Partitioning, OLAP and Data Mining options
    I have a scenario where one account can be related to two customers. Hence, in table have many rows for one account. Here’s the sample data:
    Account_ID | product_code | cust_id | relationship_code | entity_code
    1111 | ABC | 1234 | SOL | CUST
    1111 | ABC | 2222 | ZZZ | LINK
    1111 | ABC | 4455 | ABC | LINK
    2222 | ABC | 7890 | SOL | CUST
    2222 | ABC | 5678 | ZZZ | LINK
    3333 | JFK | 5878 | TST | CUST
    3333 | JFK | 3254 | PRI | CUST
    3333 | JFK | 3299 | PRI | CUST
    4444 | JFK | 2535 | SOL | CUST
    4444 | JFK | 4565 | SOL | CUST
    5555 | DEF | 6666 | PRI | CUST
    5555 | DEF | 6667 | TST | CUST
    5555 | DEF | 9667 | TST | CUSTIn this scenario, I need two outputs differently:
    Output 1: When an account has relationship_code = ‘SOL’ then take the least cust_id
    1111 | ABC | 1234 | SOL | CUST
    2222 | ABC | 5678 | ZZZ | LINK
    4444 | JFK | 2535 | SOL | CUST Output 2: else take the highest cust_id
    3333 | JFK | 5878 | TST | CUST
    5555 | DEF | 9667 | TST | CUSTHow can I get this result using one query?

    Not sure what you mean. Works OK:
    SQL> with t as (
      2             select 1111 account_ID,'ABC' product_code,1234 cust_id,'SOL' relationship_code,'CUST' entity_code from dual union all
      3             select 1111,'ABC',2222,'ZZZ','LINK' from dual union all
      4             select 1111,'ABC',4455,'ABC','LINK' from dual union all
      5             select 2222,'ABC',7890,'SOL','CUST' from dual union all
      6             select 2222,'ABC',5678,'ZZZ','LINK' from dual union all
      7             select 3333,'JFK',5878,'TST','CUST' from dual union all
      8             select 3333,'JFK',3254,'PRI','CUST' from dual union all
      9             select 3333,'JFK',3299,'PRI','CUST' from dual union all
    10             select 4444,'JFK',2535,'SOL','CUST' from dual union all
    11             select 4444,'JFK',4565,'SOL','CUST' from dual union all
    12             select 5555,'DEF',6666,'PRI','CUST' from dual union all
    13             select 5555,'DEF',6667,'TST','CUST' from dual union all
    14             select 5555,'DEF',9667,'TST','CUST' from dual union all
    15             select 6666,'XYZ',8877,'SOL','CUST' from dual
    16            )
    17  select  account_ID,
    18          product_code,
    19          cust_id,
    20          relationship_code,
    21          entity_code
    22    from  (
    23           select  account_ID,
    24                   product_code,
    25                   cust_id,
    26                   relationship_code,
    27                   entity_code,
    28                   case max(case relationship_code when 'SOL' then 1 else 0 end) over(partition by account_ID)
    29                     when 1 then dense_rank() over(partition by account_ID order by cust_id)
    30                     else dense_rank() over(partition by account_ID order by cust_id desc)
    31                   end rnk
    32             from  t
    33          )
    34    where rnk = 1
    35  /
    ACCOUNT_ID PRO    CUST_ID REL ENTI
          1111 ABC       1234 SOL CUST
          2222 ABC       5678 ZZZ LINK
          3333 JFK       5878 TST CUST
          4444 JFK       2535 SOL CUST
          5555 DEF       9667 TST CUST
          6666 XYZ       8877 SOL CUST
    6 rows selected.
    SQL> SY.

  • Querying from two different databases

    Hi All,
    I have a Adhoc requirement where in i have to do a select from two tables, but one of them resides on a different database.
    The tables have a common primary key, so i can do a one to one match. Is there anyway to query them without using a DB link?

    Hi!
    I think - if u create a global synonym using that dblink - next time u can use that synonym and u don't have to use any dblink further.
    Regards.
    Satyaki De.

  • Two database with the same sid but different ORACLE_HOME on one host

    two database with the same sid but different
    ORACLE_HOME on one host,and if configure them with
    two differnt lisnter staticaclly,this abosultely work
    because in the lisnter.ora we must provice
    ORACLE_HOME variable,with this ORACLE_HOME the client
    can differentiate which database to connect,but if
    use dynamically register feature,how can the client
    tell which database to connect?

    Also note that this type of configurtion may not be supported.
    Just because a given configuration works in certain given conditions does not mean that it would be supported.
    If this setup is for a configuration that has any value, please also Contact Oracle Support to get their inputs on what you are trying to accomplish.

Maybe you are looking for

  • Hyper-V replica vs Shared Nothing Live Migration

      Shared Nothing Live Migration allows to transport your VM over the WAN without shutting it down (how much time it takes on io intensive vm is another story)   Hyper-V replica does not allow to perform the DR switch without shutdown operation on pri

  • My keyboard doesn't light up anymore.

    Don't know if it is a setting that got turned off or if I need to get it fixed.  Please help.

  • IPod wont update after iTunes Update

    Recently installed iTunes 6.0.3.5 from 6.0.2 Afetr the update i can no longer update songs. I connect the iPod and it shows in iTunes, it seems to update for a split second then nothing happens. I have searched around the forums for fixes with no luc

  • Lumia 925 Strange behaviour

    Hello. I bought a Vodafone DE Lumia 925 from Ebay. The phone appears to be SIM unlocked, because it starts with my Bulgarian SIM, but it hangs almost immediately after boot. If I put a normal SIM card, cut to fit the dimenstions of a micro SIM, there

  • Composite schema for Oracle send port - Binding Issue

    Hi this is my composite schema has 2 operations : the first is a generated view that has filter and column tags and the second one is a SQLEXECUTE operation. my problem is I think with the Binding of the composite schema. this is the schema: <?xml ve