Two different databases in a single RPD


Hi all

is it possible to have the oracle and Teradata connections pools in a unique RPD. If so is there any impact. Please suggest

Yes it is possible. No there is no impact whatsoever. You can have 50 different sources connected to any type of technology that is supported by the RPD.

If you look at SampleApp you will see in this RPD only a ton of data types and distinct sources:

Tags: Business Intelligence

Similar Questions

  • How to create a Pool of connections to two different databases in OBIEE

    Hello

    I have a requirement where few reports coming from databases and a few others to another database. I created two pools of connections and added the frame connection details. But when I created the report I get error as below.

    State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error occurred. [nQSError: 43113] The message returned by OBIS. [nQSError: 17001] Oracle error code: 942, message: ORA-00942: table or view does not exist to the call of the OCIStmtExecute OIC. [nQSError: 17010] Prepare the SQL statement failed. (HY000)

    Now, I would like to see if I can create a pool of connections to two different databases. If so, how that happen.

    Thank you!

    Hi Antonio,.

    Cross database joins are possible, no problem for it. But you do not do so in an object of unique data base in the physical layer using 2 pools of connections connection to the source A and B, then adding objects to A and B children of your unique database.

    You create 2 databases in the physical layer, each with its own connection pool, then you can do your knuckles crossed on the physical schema.

    As a picture is worth a thousand words, take a look:

    The physical diagram uses objects of A and B and define the rules of the join between them, it is a cross-database join. But in the physical layer of the database A and B are 2 separate objects each with its own pool of connections.

  • New search with two different database Page

    Hi all

    I got a new work in which I design a page using OFA where, in two fields (2 boxes) are present that references on behalf of the Organization and values such as LPN...

    ----------------------------------------------------------------------------------------
    Name of organization: (text box with LOV icon)

    LPN values:---(zone de texte avec icône LOV)

    Go cancel


    Table of results

    -----------------------------------------------------------------------------------------


    In this the is organization name text box refers to a database and the Lpn to the other databases values text box...

    In case of employee exercise research I got the name of the employee and the employee number in the same database... But here its different... How do I get this resolved? Is it possible to do so in the OPS?

    Ganesh

    Then no problem. Create two different VO and create messageLovInputs based on these VO. Let us know if you face any problems with it.

    Thank you
    AJ

  • Two different antennas on a single point of access

    Hi all

    I know that the two different antennas connected by an access point are not supportet by Cisco.

    Unfortunately I can not find the document where this scenario is described.

    Does anyone know what document describes this solution?

    Thank you

    Martin

    you are correct. It is actually recommended that it makes no sense that he would defeat the purpose of the diversity. If an antenna gain is higher then the other your stronger antenna is probably still favored for tx

    Diversity

    Diversity is the use of two antennas for each radio, to increase the chances that you get a better signal on

    or antennas. Antennas used to provide a solution of diversity may be under the same physical envelope

    either two separate but equal co-located antennas. Diversity provides relief to a wireless network

    network in a scenario of multiple paths. Diversity antennas are physically separated from the radio and the other to

    ensure that we meet less trips with multiple effects of propagation than the other. Double antennas generally to ensure

    that if an antenna is in RF null, while the other is not, which offers better performance in railways

    environments (see Figure 3). You can move the antenna around the null point and provide a means of

    receive the signal correctly.

    http://www.ciscosystems.or.at/application/PDF/paws/27147/multipath.PDF

    hope this helps... Please rate the post if you find it useful

    Thank you

  • To connect two different database instance, what configuration in web cleint is necessary?


    Hi all

    We had two P6 database instance as a DEV and PROD

    We want to configure the web client so that the user can select either DEV or PROD according to the requirement by the same URL.

    Can you please tell me what I need to do in the web to work with two DB instance client?

    Normally, changes are reflected without bouncing the middle tier (weblogic Server). If t is not then rebound / restart the server managed by admin / when P6 application is deployed.

    Kind regards

    Sachin Gupta

  • How can I add (gather) two different images into a single image?

    Well, I'm creating a HTML element / CSS Web site. I have two logos that I need to add to the header areas of the Web page. I thought that creating a chart would contribute to this question. I want to be able to add two different images (logos) into a finished product. However, I am having some difficult understand how to combine two different images on the same workspace (tab).  The images would be out there with text in the middle of the space. I would use the 2015 Photoshop, does anyone have and ideas?

    If it was me I open one of the images then go to Image--> the canvas size.  Then expand TI (relative check) of several (12) inches in width and height (choose to anchor the part you want to stay where he is.)

    Open another image and drag it in the first.  Or select all and then copy / paste If you wish, you can you should now have two images in the same file/tab.  Everyone should be on different layers.  Use the move tool to position them how you want.

    Finally go to Image > Trim and leave the default values.  He must cut off all the excess.  Save in any format you want.

    I hope this helps.

  • Same SQL different execution Plans in two different database instances.

    Hi all

    I run a different query on two instances of database. On one instance, the query takes 30 minutes and the other it takes 10 hours to complete. Data on the two instances are the same. When I generated the execution plan, on the two cases, it was different.

    OS: Redhat Linux 5
    Database version: 11.2.02 (on two instances)

    Plan on 1 Instance that takes 30 minutes.
    SELECT 
         X_REPLEN_RQST_INV_STG.BUSINESS_UNIT, 
         NVL(SUBSTR (W_PURCH_SCHEDULE_LINE_F.PURCH_ORDER_NUM, 
         INSTR(W_PURCH_SCHEDULE_LINE_F.PURCH_ORDER_NUM, '~', -1, 1) - LENGTH(W_PURCH_SCHEDULE_LINE_F.PURCH_ORDER_NUM)),'N/A') AS DOC_ID, 
         W_PURCH_SCHEDULE_LINE_F.PURCH_ORDER_ITEM, 
         W_PURCH_SCHEDULE_LINE_F.PURCH_SCHEDULE_NUM, 
         X_REPLEN_RQST_INV_STG.INV_ITEM_ID, 
         X_REPLEN_RQST_INV_STG.PROCESS_DATE AS REPLEN_PROCESS_DT, 
         X_REPLEN_RQST_INV_STG.EXPECTED_DATE AS REPLEN_EXPECTED_DT, 
         X_REPLEN_RQST_INV_STG.REORDER_QTY AS REPLEN_REORDER_QTY, 
         X_ITEM_ATTRIB_D.REPLENISH_CLASS AS REPLEN_CLASS, 
         X_REPLEN_RQST_INV_STG.REPLEN_STATUS, 
         X_REPLEN_RQST_INV_STG.REPLENISH_TYPE AS REPLEN_TYPE, 
         X_REPLEN_RQST_INV_STG.REQ_ID, 
         X_REPLEN_RQST_INV_STG.REQ_LINE_NBR, 
         X_REPLEN_RQST_INV_STG.REQ_SCHED_NBR, 
         X_REPLEN_RQST_INV_STG.REQ_DISTRIB_NBR, 
         P.FIRST_PO_DISP_DT, 
         W_PURCH_SCHEDULE_LINE_F.DATASOURCE_NUM_ID
    FROM 
         X_REPLEN_RQST_INV_STG LEFT OUTER JOIN W_RQSTN_LINE_COST_F 
                   ON X_REPLEN_RQST_INV_STG.RQSTN_LN_COST_INTG_ID = W_RQSTN_LINE_COST_F.INTEGRATION_ID 
                        AND X_REPLEN_RQST_INV_STG.DATASOURCE_NUM_ID = W_RQSTN_LINE_COST_F.DATASOURCE_NUM_ID 
         LEFT OUTER JOIN W_PURCH_COST_F 
                   ON W_RQSTN_LINE_COST_F.INTEGRATION_ID = W_PURCH_COST_F.REQ_DISTR_INTG_ID 
                        AND W_RQSTN_LINE_COST_F.DATASOURCE_NUM_ID = W_PURCH_COST_F.DATASOURCE_NUM_ID 
         INNER join W_PURCH_SCHEDULE_LINE_F 
                   ON W_PURCH_COST_F.PURCH_SCHEDULE_INTG_ID = W_PURCH_SCHEDULE_LINE_F.INTEGRATION_ID 
                        AND W_PURCH_COST_F.DATASOURCE_NUM_ID = W_PURCH_SCHEDULE_LINE_F.DATASOURCE_NUM_ID 
         LEFT OUTER JOIN W_STATUS_D S1 
                   ON W_RQSTN_LINE_COST_F.APPROVAL_STATUS_WID = S1.ROW_WID 
                        AND W_RQSTN_LINE_COST_F.DATASOURCE_NUM_ID = S1.DATASOURCE_NUM_ID 
                        AND 'PURCH_APPROVE' = S1.W_STATUS_CLASS 
         LEFT OUTER JOIN W_STATUS_D S2 
                   ON W_PURCH_COST_F.APPROVAL_STATUS_WID = S2.ROW_WID 
                        AND W_PURCH_COST_F.DATASOURCE_NUM_ID = S2.DATASOURCE_NUM_ID 
                        AND 'PURCH_APPROVE' = S2.W_STATUS_CLASS 
         LEFT OUTER JOIN (SELECT p1.BUSINESS_UNIT, p1.PO_ID, MIN(p1.DATETIME_DISP) AS FIRST_PO_DISP_DT
    FROM 
              X_PS_PO_DISPATCHED p1 GROUP BY p1.BUSINESS_UNIT, p1.PO_ID) P 
                   ON SUBSTR (W_PURCH_SCHEDULE_LINE_F.PURCH_ORDER_NUM, 1, INSTR(W_PURCH_SCHEDULE_LINE_F.PURCH_ORDER_NUM, '~', 1, 1)-1) = P.BUSINESS_UNIT 
                        AND SUBSTR (W_PURCH_SCHEDULE_LINE_F.PURCH_ORDER_NUM, INSTR(W_PURCH_SCHEDULE_LINE_F.PURCH_ORDER_NUM, '~', -1, 1) - LENGTH(W_PURCH_SCHEDULE_LINE_F.PURCH_ORDER_NUM)) = 
    
    P.PO_ID      
         LEFT OUTER JOIN W_PRODUCT_D 
                   ON W_PURCH_SCHEDULE_LINE_F.PRODUCT_WID = W_PRODUCT_D.ROW_WID 
         LEFT OUTER JOIN X_ITEM_ATTRIB_D 
                   ON SUBSTR (W_PURCH_SCHEDULE_LINE_F.PURCH_ORDER_NUM, 1, INSTR(W_PURCH_SCHEDULE_LINE_F.PURCH_ORDER_NUM, '~', 1, 1)-1) = X_ITEM_ATTRIB_D.BUSINESS_UNIT 
                        AND W_PRODUCT_D.PART_NUM = X_ITEM_ATTRIB_D.INV_ITEM_ID
    WHERE 
         TRIM(X_REPLEN_RQST_INV_STG.req_id) IS NOT NULL 
         AND X_REPLEN_RQST_INV_STG.replenish_type = '1' 
         AND X_REPLEN_RQST_INV_STG.replen_status = '4' 
         AND X_ITEM_ATTRIB_D.REPLENISH_CLASS = 'A' 
         AND S1.STATUS_CODE != 'X' 
         AND S2.STATUS_CODE != 'X' 
         AND P.FIRST_PO_DISP_DT IS NOT NULL
    
    Execution Plan
    ----------------------------------------------------------
    Plan hash value: 1674299164
    
    ----------------------------------------------------------------------------------------------------------------
    | Id  | Operation                            | Name                    | Rows  | Bytes | Cost (%CPU)| Time     |
    ----------------------------------------------------------------------------------------------------------------
    |   0 | SELECT STATEMENT                     |                         |     1 |   461 | 13942   (1)| 00:04:11 |
    |*  1 |  HASH JOIN                           |                         |     1 |   461 | 13942   (1)| 00:04:11 |
    |   2 |   NESTED LOOPS                       |                         |       |       |            |          |
    |   3 |    NESTED LOOPS                      |                         |     1 |   441 | 10409   (1)| 00:03:08 |
    |   4 |     NESTED LOOPS                     |                         |     1 |   421 | 10407   (1)| 00:03:08 |
    |   5 |      NESTED LOOPS                    |                         |     1 |   388 | 10406   (1)| 00:03:08 |
    |   6 |       NESTED LOOPS                   |                         |     1 |   319 | 10405   (1)| 00:03:08 |
    |   7 |        NESTED LOOPS                  |                         |     1 |   280 | 10404   (1)| 00:03:08 |
    |*  8 |         HASH JOIN                    |                         |     1 |   220 | 10401   (1)| 00:03:08 |
    |   9 |          NESTED LOOPS                |                         |       |       |            |          |
    |  10 |           NESTED LOOPS               |                         |    16 |  2896 | 10392   (1)| 00:03:08 |
    |* 11 |            TABLE ACCESS FULL         | X_REPLEN_RQST_INV_STG   |    16 |  2432 | 10375   (1)| 00:03:07 |
    |* 12 |            INDEX UNIQUE SCAN         | W_RQST_LN_CS_F_U1       |     1 |       |     1   (0)| 00:00:01 |
    |  13 |           TABLE ACCESS BY INDEX ROWID| W_RQSTN_LINE_COST_F     |     1 |    29 |     2   (0)| 00:00:01 |
    |* 14 |          TABLE ACCESS FULL           | W_STATUS_D              |     1 |    39 |     8   (0)| 00:00:01 |
    |  15 |         TABLE ACCESS BY INDEX ROWID  | W_PURCH_COST_F          |     1 |    60 |     3   (0)| 00:00:01 |
    |* 16 |          INDEX RANGE SCAN            | W_PURCH_COST_F_M1       |     1 |       |     2   (0)| 00:00:01 |
    |* 17 |        TABLE ACCESS BY INDEX ROWID   | W_STATUS_D              |     1 |    39 |     1   (0)| 00:00:01 |
    |* 18 |         INDEX UNIQUE SCAN            | W_STATUS_D_P1           |     1 |       |     0   (0)| 00:00:01 |
    |  19 |       TABLE ACCESS BY INDEX ROWID    | W_PURCH_SCHEDULE_LINE_F |     1 |    69 |     1   (0)| 00:00:01 |
    |* 20 |        INDEX UNIQUE SCAN             | W_PRCH_SC_LN_F_U1       |     1 |       |     1   (0)| 00:00:01 |
    |  21 |      TABLE ACCESS BY INDEX ROWID     | W_PRODUCT_D             |     1 |    33 |     1   (0)| 00:00:01 |
    |* 22 |       INDEX UNIQUE SCAN              | W_PRODUCT_D_P1          |     1 |       |     0   (0)| 00:00:01 |
    |* 23 |     INDEX RANGE SCAN                 | X_ITEM_ATTRIB_U01       |     1 |       |     1   (0)| 00:00:01 |
    |* 24 |    TABLE ACCESS BY INDEX ROWID       | X_ITEM_ATTRIB_D         |     1 |    20 |     2   (0)| 00:00:01 |
    |  25 |   VIEW                               |                         |  1428K|    27M|  3529   (2)| 00:01:04 |
    |* 26 |    FILTER                            |                         |       |       |            |          |
    |  27 |     HASH GROUP BY                    |                         |  1428K|    27M|  3529   (2)| 00:01:04 |
    |  28 |      TABLE ACCESS FULL               | X_PS_PO_DISPATCHED      |  1428K|    27M|  3493   (1)| 00:01:03 |
    ----------------------------------------------------------------------------------------------------------------
    On the Instance 2
    SELECT 
         X_REPLEN_RQST_INV_STG.BUSINESS_UNIT, 
         NVL(SUBSTR (W_PURCH_SCHEDULE_LINE_F.PURCH_ORDER_NUM, 
         INSTR(W_PURCH_SCHEDULE_LINE_F.PURCH_ORDER_NUM, '~', -1, 1) - LENGTH(W_PURCH_SCHEDULE_LINE_F.PURCH_ORDER_NUM)),'N/A') AS DOC_ID, 
         W_PURCH_SCHEDULE_LINE_F.PURCH_ORDER_ITEM, 
         W_PURCH_SCHEDULE_LINE_F.PURCH_SCHEDULE_NUM, 
         X_REPLEN_RQST_INV_STG.INV_ITEM_ID, 
         X_REPLEN_RQST_INV_STG.PROCESS_DATE AS REPLEN_PROCESS_DT, 
         X_REPLEN_RQST_INV_STG.EXPECTED_DATE AS REPLEN_EXPECTED_DT, 
         X_REPLEN_RQST_INV_STG.REORDER_QTY AS REPLEN_REORDER_QTY, 
         X_ITEM_ATTRIB_D.REPLENISH_CLASS AS REPLEN_CLASS, 
         X_REPLEN_RQST_INV_STG.REPLEN_STATUS, 
         X_REPLEN_RQST_INV_STG.REPLENISH_TYPE AS REPLEN_TYPE, 
         X_REPLEN_RQST_INV_STG.REQ_ID, 
         X_REPLEN_RQST_INV_STG.REQ_LINE_NBR, 
         X_REPLEN_RQST_INV_STG.REQ_SCHED_NBR, 
         X_REPLEN_RQST_INV_STG.REQ_DISTRIB_NBR, 
         P.FIRST_PO_DISP_DT, 
         W_PURCH_SCHEDULE_LINE_F.DATASOURCE_NUM_ID
    FROM 
         X_REPLEN_RQST_INV_STG LEFT OUTER JOIN W_RQSTN_LINE_COST_F 
                   ON X_REPLEN_RQST_INV_STG.RQSTN_LN_COST_INTG_ID = W_RQSTN_LINE_COST_F.INTEGRATION_ID 
                        AND X_REPLEN_RQST_INV_STG.DATASOURCE_NUM_ID = W_RQSTN_LINE_COST_F.DATASOURCE_NUM_ID 
         LEFT OUTER JOIN W_PURCH_COST_F 
                   ON W_RQSTN_LINE_COST_F.INTEGRATION_ID = W_PURCH_COST_F.REQ_DISTR_INTG_ID 
                        AND W_RQSTN_LINE_COST_F.DATASOURCE_NUM_ID = W_PURCH_COST_F.DATASOURCE_NUM_ID 
         INNER join W_PURCH_SCHEDULE_LINE_F 
                   ON W_PURCH_COST_F.PURCH_SCHEDULE_INTG_ID = W_PURCH_SCHEDULE_LINE_F.INTEGRATION_ID 
                        AND W_PURCH_COST_F.DATASOURCE_NUM_ID = W_PURCH_SCHEDULE_LINE_F.DATASOURCE_NUM_ID 
         LEFT OUTER JOIN W_STATUS_D S1 
                   ON W_RQSTN_LINE_COST_F.APPROVAL_STATUS_WID = S1.ROW_WID 
                        AND W_RQSTN_LINE_COST_F.DATASOURCE_NUM_ID = S1.DATASOURCE_NUM_ID 
                        AND 'PURCH_APPROVE' = S1.W_STATUS_CLASS 
         LEFT OUTER JOIN W_STATUS_D S2 
                   ON W_PURCH_COST_F.APPROVAL_STATUS_WID = S2.ROW_WID 
                        AND W_PURCH_COST_F.DATASOURCE_NUM_ID = S2.DATASOURCE_NUM_ID 
                        AND 'PURCH_APPROVE' = S2.W_STATUS_CLASS 
         LEFT OUTER JOIN (SELECT p1.BUSINESS_UNIT, p1.PO_ID, MIN(p1.DATETIME_DISP) AS FIRST_PO_DISP_DT
    FROM 
              X_PS_PO_DISPATCHED p1 GROUP BY p1.BUSINESS_UNIT, p1.PO_ID) P 
                   ON SUBSTR (W_PURCH_SCHEDULE_LINE_F.PURCH_ORDER_NUM, 1, INSTR(W_PURCH_SCHEDULE_LINE_F.PURCH_ORDER_NUM, '~', 1, 1)-1) = P.BUSINESS_UNIT 
                        AND SUBSTR (W_PURCH_SCHEDULE_LINE_F.PURCH_ORDER_NUM, INSTR(W_PURCH_SCHEDULE_LINE_F.PURCH_ORDER_NUM, '~', -1, 1) - LENGTH(W_PURCH_SCHEDULE_LINE_F.PURCH_ORDER_NUM)) = 
    
    P.PO_ID      
         LEFT OUTER JOIN W_PRODUCT_D 
                   ON W_PURCH_SCHEDULE_LINE_F.PRODUCT_WID = W_PRODUCT_D.ROW_WID 
         LEFT OUTER JOIN X_ITEM_ATTRIB_D 
                   ON SUBSTR (W_PURCH_SCHEDULE_LINE_F.PURCH_ORDER_NUM, 1, INSTR(W_PURCH_SCHEDULE_LINE_F.PURCH_ORDER_NUM, '~', 1, 1)-1) = X_ITEM_ATTRIB_D.BUSINESS_UNIT 
                        AND W_PRODUCT_D.PART_NUM = X_ITEM_ATTRIB_D.INV_ITEM_ID
    WHERE 
         TRIM(X_REPLEN_RQST_INV_STG.req_id) IS NOT NULL 
         AND X_REPLEN_RQST_INV_STG.replenish_type = '1' 
         AND X_REPLEN_RQST_INV_STG.replen_status = '4' 
         AND X_ITEM_ATTRIB_D.REPLENISH_CLASS = 'A' 
         AND S1.STATUS_CODE != 'X' 
         AND S2.STATUS_CODE != 'X' 
         AND P.FIRST_PO_DISP_DT IS NOT NULL
    
    
    ---------------------------------------------------------------------------------------------------------------
    | Id  | Operation                           | Name                    | Rows  | Bytes | Cost (%CPU)| Time     |
    ---------------------------------------------------------------------------------------------------------------
    |   0 | SELECT STATEMENT                    |                         |     1 |   420 | 19630   (1)| 00:04:35 |
    |   1 |  NESTED LOOPS                       |                         |       |       |            |       |
    |   2 |   NESTED LOOPS                      |                         |     1 |   420 | 19630   (1)| 00:04:35 |
    |   3 |    NESTED LOOPS                     |                         |     1 |   400 | 19627   (1)| 00:04:35 |
    |   4 |     NESTED LOOPS                    |                         |     1 |   386 | 19626   (1)| 00:04:35 |
    |   5 |      NESTED LOOPS                   |                         |     1 |   317 | 19625   (1)| 00:04:35 |
    |   6 |       NESTED LOOPS                  |                         |     1 |   289 | 19624   (1)| 00:04:35 |
    |   7 |        NESTED LOOPS                 |                         |     1 |   229 | 19621   (1)| 00:04:35 |
    |   8 |         NESTED LOOPS                |                         |     1 |   201 | 19620   (1)| 00:04:35 |
    |   9 |          MERGE JOIN CARTESIAN       |                         |     1 |   172 | 19619   (1)| 00:04:35 |
    |  10 |           VIEW                      |                         |     1 |    20 |  4942   (2)| 00:01:10 |
    |* 11 |            FILTER                   |                         |       |       |            |       |
    |  12 |             HASH GROUP BY           |                         |     1 |    20 |  4942   (2)| 00:01:10 |
    |  13 |              TABLE ACCESS FULL      | X_PS_PO_DISPATCHED      |  1428K|    27M|  4902   (1)| 00:01:09 |
    |  14 |           BUFFER SORT               |                         |     1 |   152 | 19619   (1)| 00:04:35 |
    |* 15 |            TABLE ACCESS FULL        | X_REPLEN_RQST_INV_STG   |     1 |   152 | 14676   (1)| 00:03:26 |
    |  16 |          TABLE ACCESS BY INDEX ROWID| W_RQSTN_LINE_COST_F     |     1 |    29 |     1   (0)| 00:00:01 |
    |* 17 |           INDEX UNIQUE SCAN         | W_RQST_LN_CS_F_U1       |     1 |       |     1   (0)| 00:00:01 |
    |* 18 |         TABLE ACCESS BY INDEX ROWID | W_STATUS_D              |     1 |    28 |     1   (0)| 00:00:01 |
    |* 19 |          INDEX UNIQUE SCAN          | W_STATUS_D_P1           |     1 |       |     0   (0)| 00:00:01 |
    |  20 |        TABLE ACCESS BY INDEX ROWID  | W_PURCH_COST_F          |     3 |   180 |     3   (0)| 00:00:01 |
    |* 21 |         INDEX RANGE SCAN            | W_PURCH_COST_F_M1       |     1 |       |     2   (0)| 00:00:01 |
    |* 22 |       TABLE ACCESS BY INDEX ROWID   | W_STATUS_D              |     1 |    28 |     1   (0)| 00:00:01 |
    |* 23 |        INDEX UNIQUE SCAN            | W_STATUS_D_P1           |     1 |       |     0   (0)| 00:00:01 |
    |* 24 |      TABLE ACCESS BY INDEX ROWID    | W_PURCH_SCHEDULE_LINE_F |     1 |    69 |     1   (0)| 00:00:01 |
    |* 25 |       INDEX UNIQUE SCAN             | W_PRCH_SC_LN_F_U1       |     1 |       |     1   (0)| 00:00:01 |
    |* 26 |     TABLE ACCESS BY INDEX ROWID     | W_PRODUCT_D             |     1 |    14 |     1   (0)| 00:00:01 |
    |* 27 |      INDEX UNIQUE SCAN              | W_PRODUCT_D_P1          |     1 |       |     0   (0)| 00:00:01 |
    |* 28 |    INDEX RANGE SCAN                 | X_ITEM_ATTRIB_U01       |     1 |       |     2   (0)| 00:00:01 |
    |* 29 |   TABLE ACCESS BY INDEX ROWID       | X_ITEM_ATTRIB_D         |     1 |    20 |     3   (0)| 00:00:01 |
    ---------------------------------------------------------------------------------------------------------------
    In the second execution plan, we can see that it uses a Cartesian product.

    Thank you.

    Oceaner wrote:
    Hi all

    I run a different query on two instances of database. On one instance, the query takes 30 minutes and the other it takes 10 hours to complete. Data on the two instances are the same. When I generated the execution plan, on the two cases, it was different.

    The most obvious difference is the subquery total inline:

    Quick plan:

    ----------------------------------------------------------------------------------------------------------------
    | Id  | Operation                            | Name                    | Rows  | Bytes | Cost (%CPU)| Time     |
    ----------------------------------------------------------------------------------------------------------------
    |*  1 |  HASH JOIN                           |                         |     1 |   461 | 13942   (1)| 00:04:11 |
    |   2 |   NESTED LOOPS                       |                         |       |       |            |          |
    ...
    |  25 |   VIEW                               |                         |  1428K|    27M|  3529   (2)| 00:01:04 |
    |* 26 |    FILTER                            |                         |       |       |            |          |
    |  27 |     HASH GROUP BY                    |                         |  1428K|    27M|  3529   (2)| 00:01:04 |
    |  28 |      TABLE ACCESS FULL               | X_PS_PO_DISPATCHED      |  1428K|    27M|  3493   (1)| 00:01:03 |
    ----------------------------------------------------------------------------------------------------------------
    

    Plan of slow

    ---------------------------------------------------------------------------------------------------------------
    | Id  | Operation                           | Name                    | Rows  | Bytes | Cost (%CPU)| Time     |
    ---------------------------------------------------------------------------------------------------------------
    ...
    |   9 |          MERGE JOIN CARTESIAN       |                         |     1 |   172 | 19619   (1)| 00:04:35 |
    |  10 |           VIEW                      |                         |     1 |    20 |  4942   (2)| 00:01:10 |
    |* 11 |            FILTER                   |                         |       |       |            |          |
    |  12 |             HASH GROUP BY           |                         |     1 |    20 |  4942   (2)| 00:01:10 |
    |  13 |              TABLE ACCESS FULL      | X_PS_PO_DISPATCHED      |  1428K|    27M|  4902   (1)| 00:01:09 |
    |  14 |           BUFFER SORT               |                         |     1 |   152 | 19619   (1)| 00:04:35 |
    |* 15 |            TABLE ACCESS FULL        | X_REPLEN_RQST_INV_STG   |     1 |   152 | 14676   (1)| 00:03:26 |
    ...
    ---------------------------------------------------------------------------------------------------------------
    

    Note the value of lines given to the operation - VIEW


    One for the slow plan - that of why Oracle chose display online as a starting point for the query and used a Cartesian merge join to join to the table nearby.

    1.4Million for the fast plan - this is why Oracle has decided to visit the table set and use it as the table of the probe in a hash join.

    I think we can assume that the estimation of the single line is a big mistake. We can also assume that the two series of statistics (or possibly index definitions) on the tables two versions do not match.

    It would be useful, of course, see the comprehensive implementation plan, and preferably one from memory: (http://jonathanlewis.wordpress.com/2006/12/22/dbms_xplan-again/).

    You might notice that you outer joins are not relevant - maybe this SQL is a framework for a more general query - given that the plan shows that they have all been turned away.

    Concerning
    Jonathan Lewis
    http://jonathanlewis.WordPress.com
    Author: core Oracle

  • Has used two different PC with a single product key supplied with my DVD to buy?

    Hello

    Sorry if the question is already asked.

    My friend has purchase DVD Ultimate to windows 7. There two which is 32-bit and 64-bit. But there is only one product key. A PC is already installed with 64-bit windows with this product key. If one pc to another is eligible for the installation of 32-bit windows with the same product key? Is this possible?

    If it is not possible, then why have 2 CD?

    Thank you.

    They are different architectures.  Use 64-bit 4 GB or more of RAM, 32 bit for 3 GB or less RAM.

    You can install one at a time.

    Clean reinstall Windows 10.

  • transformation of the two different database table

    Hi all
    I am trying to load the table from a database table to another table of database in ODI 10 g. I created two physical and logical topology.
    But when in the design of the interface I drag source and target tables in the diagram window, but here he doesnot shows the auto mapping options, when I try manually by dragging a field, I failed. When I run the operation the following error has occurred:
    Create or replace view db1. "" C$ _0 W_INT_ORG_D.
    (

    )
    in select

    from db1. W_INT_ORG_DS W_INT_ORG_DS
    where (1 = 1)


    Here db of the source and the target are the same...
    How can I solve it

    Click the field to the target. And then in the expression editor to write

    sourcetable_alisname. FieldName

    As do this for all columns, then save and close the interface.
    Now open your interface, and then click on any target filed. You should see the filed source raised is automatically informed.

    If everything is ok then its done.

    Thank you

  • How can I join two tables that belong to two different databases?

    I can build a SQL query in SQL Server Management Studio, which performs a join of a table in a database with a table in another database.  I have a good 'read' name to username/password for the two databases.

    How to do the join in ColdFusion?  The tag < cfquery > requires a unique data source.  I could do like two queries and through comparing, or maybe even some use dbtype = query, but it would be horribly less effective than a direct join.

    I could place the SQL statement in a stored procedure, but that seems like overkill - all the necessary number of fields in the "WHERE" clause will change based on the logic of the ColdFusion program.

    Does anyone know of a way to do this with < cfquery >?

    How do you take in SQL Server Management Studio?  You must do something that I'm not aware, if what you're doing here does not work in a block.

    The way I did in the past is just to fully qualify the names of the tables.  Server.databaseOwner.database.table know if I remember correctly.

    This does not require that the database connected to the name of data source is configured to be allowed to connect to the database.

  • Passage of a setting for two different queries on a single page

    I followed tutorial ADF - value of the parameter passing between Pages. It works very well, but I tried to add a second query to the page single.jspx , using the same setting and it shows all the data.

    I tried to analyze the queries and the problem is in bind variables. While the first query gets the right value, the second Gets null (see the log below). I also noticed that if I return to the single.jspx page, only the first request is executed.

    < oracle.adf.model > < ViewObjectImpl > < buildQuery > < [3556] SELECT ServiceRequests.ASSIGNED_DATE,.

    ServiceRequests.ASSIGNED_TO,

    ServiceRequests.CREATED_BY,

    ServiceRequests.PROBLEM_DESCRIPTION,

    ServiceRequests.PROD_ID,

    ServiceRequests.REQUEST_DATE,

    ServiceRequests.STATUS,

    ServiceRequests.SVR_ID

    OF SERVICE_REQUESTS ServiceRequests

    WHERE (ServiceRequests.SVR_ID =: p_svr_id) >

    < oracle.adf.model > < ViewObjectImpl > < getPreparedStatement > < ViewObject [3557]: [oracle.srdemo.model.ServiceRequestById_VO] AppModule.ServiceRequestById_VO1 created new QUERY statement >

    < oracle.adf.model > < ViewObjectImpl > < bindParametersForCollection > < [3558] params for ViewObject Bind: [oracle.srdemo.model.ServiceRequestById_VO] AppModule.ServiceRequestById_VO1 >

    < oracle.adf.model > < OracleSQLBuilderImpl > < bindParamValue > < [3559] param 'p_svr_id' liaison: 111>

    < oracle.adf.model > < ViewObjectImpl > < buildQuery > < [3716] select svh_date, service_histories where svr_id =: p_svr_id order of svh_date >

    < oracle.adf.model > < ViewObjectImpl > < getQueryHitCount > < [3717] number of rows estimated for ViewObject: [oracle.srdemo.model.ServiceHistoryByRequestId_VO] AppModule.ServiceHistoryByRequestId_VO1, query statement: >

    < oracle.adf.model > < ViewObjectImpl > < getQueryHitCount > < [3718] ' SELECT count (1) FROM (select svh_date, notes from service_histories where svr_id =: p_svr_id order of svh_date) ">"

    < oracle.adf.model > < ViewObjectImpl > < getQueryHitCount > < [3719] Bind params for ViewObject.getQueryHitCount: ServiceHistoryByRequestId_VO1 >

    < oracle.adf.model > < ViewRowSetImpl > < doSetWhereClauseParam > < [3720] ServiceHistoryByRequestId_VO1 ViewRowSetImpl.doSetWhereClause(-1, p_svr_id, null) >

    < oracle.adf.model > < OracleSQLBuilderImpl > < bindParamValue > < [3721] null of type 12 for connection "p_svr_id" > ""

    I got it.

    I need to add an another ExecuteWithParams of the request on the other in the pageflow.

  • By using two different accounts on a single computer

    I have Adobe accounts for workers and businesses - the cloud photography plan with my personal account and Acrobat with my business account (employer). Is it possible to merge these two so I can use them while I'm at work? It's really embarrassing when I sign into one account and in another if I want to use a program or another...

    Unfortunately the individual & the CC company can not be merged.

    Concerning

    Stéphane

  • Bug: Editor two different view on a single page?

    Hi all

    I use WebCenter Portal 11.1.1.8 and I encountered a problem with the page execution on space (Webcenter Portal). I created a new portal with the default parameter and create a new page with the name is "New Page" with the Style of the blank Page and ID = "newpage". In the Source tab, I see code like this:

    <? XML version = "1.0" encoding = "UTF - 8"? >

    " < = xmlns:jsp jsp:root ' http://Java.Sun.com/JSP/page "xmlns:pe =" " http://xmlns.Oracle.com/ADF/PAGEEDITOR "cust =" http://xmlns.Oracle.com/ADF/faces/customizable "xmlns:f =" http://Java.Sun.com/JSF/Core "xmlns:trh =" http://MyFaces.Apache.org/Trinidad/html "xmlns:af =" http://xmlns.Oracle.com/ADF/faces/Rich "version ="2.1"> " "" ""

    < jsp:directive.page deferredSyntaxAllowedAsLiteral = "true" / >

    < jsp:directive.page contentType = text/html"; charset = utf - 8 "/ >

    < f: view >

    < af:document title = "#{pageDocBean.title}" id = "docrt" > "

    < f: facet name = "metaContainer" >

    < trh:meta name = "keywords" content = "#{bindings." SEO_KEYWORDS} "/ >"

    < / f: facet >

    < af:form usesUpload = "true" id = "f1" >

    < af:pageTemplate value = "#{bindings.shellTemplateBinding.templateModel}" id = "T" > "

    < f: facet 'content' = name >

    < pe: pageCustomizable id = "PGE1" >

    < af:panelGroupLayout id = "pgl1" layout = "scroll" styleClass = "WCSchemeCustom" inlineStyle = "" >

    < cust:panelCustomizable id = rendered = "#{bindings.showHeader"hm_pnchdr"}" layout = "vertical" showTabAction = "true" / > "

    < af:panelGroupLayout id = "pgl2" layout = "vertical" styleClass = "AFStretchWidth" >

    <trh:tableLayout id = 'tl1' width = '100% ' >

    < trh:rowLayout id = "rl1" >

    "< trh:cellFormat id ="cf1"rendered =" #{bindings.leftWidth! = "and bindings.leftWidth! =" 0% "}" width = "#{bindings.leftWidth}" valign = "top" >

    < cust:panelCustomizable id = "hm_pnc1" layout = "scroll" showTabAction = "true" / >

    < / trh:cellFormat >

    "< trh:cellFormat id ="cf2"rendered =" #{bindings.centerWidth! = "and bindings.centerWidth! =" 0% "}" width = "#{bindings.centerWidth}" valign = "top" >

    < cust:panelCustomizable id = "hm_pnc2" layout = "scroll" showTabAction = "true" / >

    < / trh:cellFormat >

    "< trh:cellFormat id ="NF3"rendered =" #{bindings.rightWidth! = "and bindings.rightWidth! =" 0% "}" width = "#{bindings.rightWidth}" valign = "top" >

    < cust:panelCustomizable id = "hm_pnc3" layout = "scroll" showTabAction = "true" / >

    < / trh:cellFormat >

    < / trh:rowLayout >

    < / trh:tableLayout >

    < / af:panelGroupLayout >

    < cust:panelCustomizable id = rendered = "#{bindings.showFooter"hm_pncftr"}" layout = "vertical" showTabAction = "true" / > "

    < / af:panelGroupLayout >

    < f: facet name = "Publisher" >

    < pe: pageEditorPanel id = "pep1" / >

    < / f: facet >

    < / pe: pageCustomizable >

    < / f: facet >

    < / af:pageTemplate >

    < / af:form >

    < / af:document >

    < / f: view >

    < / jsp:root >

    You pay attention to the red line. Here you can see the body of the page, we have 3 columns.

    If you click on the Edit link, you will still see the page in edit mode with 1 single column in the middle (this is normal).

    In the tree view of pages, I create a new link object has ID = "newlink" The link is to 'New Page'.

    (a) arrived to the New Page , I click on the view link to see the page on the portal and then press Ctrl + Shift + E to go into edit mode and here I saw that it is normal with 1 single column in the middle of the page.

    (b) after that, I try to go to the New Page in another way with the link , I create above. And I always display the normal News Page . But when I press Ctrl + Shift + E to go into edit mode, I saw another screen, not like the screen I saw in step a. "We have 3 column in the middle of the page"?


    You have an idea about this?

    Thank you very much!

    Post edited by: AS84

    Yes, I see the same question in WebCenter Portal 11.1.1.8.6 but switching back and forth between a Page and PageLink cope (via Ctrl + Shift + E) - began to show a box or a column by the suite and the issue is not seen any more that it overrides the settings of the page.

    Another option that I tried and it works for me. Steps are the following:

    Create a copy of the blank Page Style

    Click on change the Source

    Delete the columns or the code for leftWidth and rightWidth ONLY that resembles

    NOTE: Do NOT remove the centerWidth.

    ----------------------

    ----------------------

    Now, create a new page (say MyNewBlankPage) using 'Copy of the blank Page Style' with all the default options (left: 0%, Center: 100%, right: 0%)

    Then, create a new Page link pointing to "MyNewBlankPage" with the value of the parameters as the left: 25%, Center: 50%, right: 25% and click Save

    Show portal, access MyNewBlankPage and press Ctrl + Alt + E for edit to new message and now you will see only 1 box or column of composer.

    Return to the view portal, access the link to the MyNewBlankPage page and press Ctrl + Alt + E to edit the composer. Again, you will see only 1 box or to the composer instead of 3 boxes or 3 columns (i.e. it is not replacing the Page settings when I used the new style (based on the Style of the Page blank) page in which I had removed left & right columns.)

    Also, it seems that this problem is resolved in 11.1.1.9.0 that I am not able to reproduce it.

  • How to integrate the structures of different tables in different databases?

    Hello

    I am new to oracle... well help me with the below question...

    I have the same set of attributes linked together (a, b, c and d) in two different databases A and B.

    The structure of the tables at the same time the database are different, but they carry the same attributes in the same relationship.

    I have to integrate these attributes to object unique db such as any update to the base tables updates my object. How can I do this and what object will be useful?


    Thank you

    Hi Arun,

    Then as you say they are of different databases, we can create a link between the databases and
    can create view based on the Tables.

    (i.e.) if the data in the base table changes the data in the view should also change in real time.

    Arun, of course, the view will also change in real time, because the view is nothing more than a virtual table.

    When you query on a view, he questioned the details of the * "Base Table" * only. If the data will be updated, i.e.
    existing in the Base Table.

    Thank you
    Shankar

  • How to compare two fields in two separate databases

    Hello

    Can we compare two columns in two separate databases with a single script.



    See you soon

    Sexy

    Hello

    If you mean Oracle to SQL Server while you'd have to put the hand in the Pocket and buy ODBC connectivity for this...

    If it's just one large may export your data and import into an Oracle table and make your unique comparison.

    Kind regards

    Robert.

Maybe you are looking for

  • Lenovo phone

    Hello I am from Slovenia, and I got a phone from lenovo as a gift, came with the undocumented to all that it was a gift and I can't tell the model of it someone who can help me please I need to know because I have to report this to my operator if I g

  • Removing plot a chart legend?

    HI - another beginner question: Following the tutorial, I created a graph. The graph has a small box to the right to go a legend for the different plots. (I would like to put a picture, but looks like that I do not have permission to do so). The purp

  • Reference Dell photo printer 720 compatibility with Windows 8

    Is Dell photo printer 720 compatibility with Windows 8. ?

  • is there a date for the new update of output? I mean Lumetri in AE and so on...

    As in the topic - I can not wait for this. As well as the optic flow in first.NL

  • Why my image appears on a browser

    I do a mock-up of a possible website for a friend. I added a png of a logo that could exceed a photographic background. The logo appears on the display in dreamweaver but will not appear on the browser (I've checked chrome and firefox)Thank youKurt E