SQL Query + long execution time.

Dear Gurus/masters/All,
I request you all to help me in tuning the SQL query which is taking more time. DB Version : 10.2.0.4
SQL Query WHERE condition:
select column1, column2, .........
FROM
SIEBEL.S_ORG_EXT T1,
SIEBEL.S_PROD_INT T2,
SIEBEL.S_VOD T3,
SIEBEL.S_ORG_EXT T4,
SIEBEL.S_ORG_EXT T5,
SIEBEL.S_ORG_EXT_X T6,
SIEBEL.S_PROD_LN T7,
SIEBEL.S_ASSET_OM T8,
SIEBEL.S_VOD_VER T9,
SIEBEL.S_CTLG_CAT T10,
SIEBEL.S_CONTACT T11,
SIEBEL.S_PARTY T12,
SIEBEL.S_PARTY T13,
SIEBEL.S_PROD_INT T14,
SIEBEL.S_ASSET_BU T15,
SIEBEL.S_CTLG_CAT T16,
SIEBEL.S_ORG_EXT T17,
SIEBEL.S_ORG_EXT T18,
SIEBEL.S_ASSET T19,
SIEBEL.S_ADDR_PER T20,
SIEBEL.S_ORG_EXT T21,
SIEBEL.S_ASSET_X T22,
SIEBEL.S_ASSET T23
WHERE
T16.PAR_CAT_ID = T10.ROW_ID (+) AND
T14.CG_PR_CTLG_CAT_ID = T16.ROW_ID (+) AND
T3.ROW_ID = T9.VOD_ID AND
T14.CFG_MODEL_ID = T3.OBJECT_NUM AND
T23.OWNER_CON_ID = T11.ROW_ID (+) AND
T23.OWNER_ACCNT_ID = T6.PAR_ROW_ID (+) AND
T23.PER_ADDR_ID = T20.ROW_ID (+) AND
T23.PROD_ID = T14.ROW_ID AND
T23.OWNER_ACCNT_ID = T21.PAR_ROW_ID (+) AND
T14.PR_PROD_LN_ID = T7.ROW_ID (+) AND
T23.ROOT_ASSET_ID = T19.ROW_ID (+) AND
T19.PROD_ID = T2.ROW_ID (+) AND
T23.BILL_ACCNT_ID = T18.PAR_ROW_ID (+) AND
T23.RTNG_DLR_ID = T1.PAR_ROW_ID (+) AND
T23.PREF_SRV_DLR_ID = T17.PAR_ROW_ID (+) AND
T23.DLR_ID = T4.PAR_ROW_ID (+) AND
T23.ROW_ID = T22.PAR_ROW_ID (+) AND
T23.ROW_ID = T8.PAR_ROW_ID (+) AND
T23.PR_CON_ID = T12.ROW_ID (+) AND
T23.BU_ID = T15.BU_ID (+) AND T23.ROW_ID = T15.ASSET_ID (+) AND
T15.BU_ID = T13.ROW_ID (+) AND
T15.BU_ID = T5.PAR_ROW_ID (+) AND
((T23.SERIAL_NUM IS NOT NULL AND T23.PAR_ASSET_ID IS NULL OR T23.X_PHONE_NUMBER IS NOT NULL AND T23.PAR_ASSET_ID IS NOT NULL) AND
(T9.VER_NUM = :1));Query Exection Plan:
PLAN_TABLE_OUTPUT
Plan hash value: 967177145
| Id  | Operation                                         | Name           | Rows  | Bytes | Cost (%CPU)| Time     |
|   0 | SELECT STATEMENT                                  |                | 54117 |    92M|  4435K  (1)| 01:58:43 |
|   1 |  NESTED LOOPS OUTER                               |                | 54117 |    92M|  4435K  (1)| 01:58:43 |
|   2 |   NESTED LOOPS OUTER                              |                | 54117 |    87M|  4261K  (1)| 01:54:04 |
|   3 |    NESTED LOOPS OUTER                             |                | 54117 |    86M|  4154K  (1)| 01:51:13 |
|   4 |     NESTED LOOPS OUTER                            |                | 54117 |    85M|  4111K  (1)| 01:50:03 |
|   5 |      NESTED LOOPS OUTER                           |                | 54117 |    84M|  3980K  (1)| 01:46:33 |
|   6 |       NESTED LOOPS OUTER                          |                | 54117 |    83M|  3937K  (1)| 01:45:24 |
|   7 |        NESTED LOOPS OUTER                         |                | 54117 |    81M|  3763K  (1)| 01:40:44 |
|   8 |         NESTED LOOPS OUTER                        |                | 54117 |    81M|  3751K  (1)| 01:40:25 |
|   9 |          NESTED LOOPS OUTER                       |                | 54117 |    80M|  3621K  (1)| 01:36:57 |
|  10 |           NESTED LOOPS OUTER                      |                | 54117 |    73M|  3515K  (1)| 01:34:07 |
|  11 |            NESTED LOOPS OUTER                     |                | 54117 |    71M|  3410K  (1)| 01:31:18 |
|  12 |             NESTED LOOPS OUTER                    |                | 54117 |    69M|  3410K  (1)| 01:31:18 |
|  13 |              NESTED LOOPS OUTER                   |                | 54117 |    67M|  3410K  (1)| 01:31:18 |
|  14 |               NESTED LOOPS OUTER                  |                | 54117 |    66M|  3410K  (1)| 01:31:18 |
|  15 |                NESTED LOOPS OUTER                 |                | 54117 |    64M|  3324K  (1)| 01:28:59 |
|  16 |                 NESTED LOOPS OUTER                |                | 54117 |    62M|  3237K  (1)| 01:26:40 |
|  17 |                  NESTED LOOPS                     |                | 54117 |    57M|  3106K  (1)| 01:23:10 |
|  18 |                   NESTED LOOPS OUTER              |                |    71 | 43665 |   381   (2)| 00:00:01 |
|  19 |                    NESTED LOOPS OUTER             |                |    71 | 42316 |   323   (2)| 00:00:01 |
|  20 |                     NESTED LOOPS OUTER            |                |    71 | 41322 |   322   (2)| 00:00:01 |
|  21 |                      NESTED LOOPS                 |                |    71 | 24708 |   265   (3)| 00:00:01 |
|  22 |                       NESTED LOOPS                |                |    77 |  2772 |   141   (4)| 00:00:01 |
|* 23 |                        TABLE ACCESS FULL          | S_VOD_VER      |    75 |  1350 |    72   (7)| 00:00:01 |
|  24 |                        TABLE ACCESS BY INDEX ROWID| S_VOD          |     1 |    18 |     1   (0)| 00:00:01 |
|* 25 |                         INDEX UNIQUE SCAN         | S_VOD_P1       |     1 |       |     1   (0)| 00:00:01 |
|  26 |                       TABLE ACCESS BY INDEX ROWID | S_PROD_INT     |     1 |   312 |     2   (0)| 00:00:01 |
|* 27 |                        INDEX RANGE SCAN           | S_PROD_INT_F9  |     1 |       |     1   (0)| 00:00:01 |
|  28 |                      TABLE ACCESS BY INDEX ROWID  | S_PROD_LN      |     1 |   234 |     1   (0)| 00:00:01 |
|* 29 |                       INDEX UNIQUE SCAN           | S_PROD_LN_P1   |     1 |       |     1   (0)| 00:00:01 |
|  30 |                     TABLE ACCESS BY INDEX ROWID   | S_CTLG_CAT     |     1 |    14 |     1   (0)| 00:00:01 |
|* 31 |                      INDEX UNIQUE SCAN            | S_CTLG_CAT_P1  |     1 |       |     1   (0)| 00:00:01 |
|  32 |                    TABLE ACCESS BY INDEX ROWID    | S_CTLG_CAT     |     1 |    19 |     1   (0)| 00:00:01 |
|* 33 |                     INDEX UNIQUE SCAN             | S_CTLG_CAT_P1  |     1 |       |     1   (0)| 00:00:01 |
|* 34 |                   TABLE ACCESS BY INDEX ROWID     | S_ASSET        |   760 |   375K| 43753   (1)| 00:01:11 |
|* 35 |                    INDEX RANGE SCAN               | S_ASSET_U2     | 55873 |       |   312   (3)| 00:00:01 |
|  36 |                  TABLE ACCESS BY INDEX ROWID      | S_ASSET_OM     |     1 |    94 |     2   (0)| 00:00:01 |
|* 37 |                   INDEX RANGE SCAN                | S_ASSET_OM_U1  |     1 |       |     2   (0)| 00:00:01 |
|  38 |                 TABLE ACCESS BY INDEX ROWID       | S_CONTACT      |     1 |    39 |     2   (0)| 00:00:01 |
|* 39 |                  INDEX UNIQUE SCAN                | S_CONTACT_P1   |     1 |       |     1   (0)| 00:00:01 |
|  40 |                TABLE ACCESS BY INDEX ROWID        | S_ADDR_PER     |     1 |    29 |     2   (0)| 00:00:01 |
|* 41 |                 INDEX UNIQUE SCAN                 | S_ADDR_PER_P1  |     1 |       |     1   (0)| 00:00:01 |
|  42 |               TABLE ACCESS BY INDEX ROWID         | S_ORG_EXT      |     1 |    32 |     1   (0)| 00:00:01 |
|* 43 |                INDEX UNIQUE SCAN                  | S_ORG_EXT_U3   |     1 |       |     1   (0)| 00:00:01 |
|  44 |              TABLE ACCESS BY INDEX ROWID          | S_ORG_EXT      |     1 |    32 |     1   (0)| 00:00:01 |
|* 45 |               INDEX UNIQUE SCAN                   | S_ORG_EXT_U3   |     1 |       |     1   (0)| 00:00:01 |
|  46 |             TABLE ACCESS BY INDEX ROWID           | S_ORG_EXT      |     1 |    32 |     1   (0)| 00:00:01 |
|* 47 |              INDEX UNIQUE SCAN                    | S_ORG_EXT_U3   |     1 |       |     1   (0)| 00:00:01 |
|  48 |            TABLE ACCESS BY INDEX ROWID            | S_ORG_EXT      |     1 |    36 |     2   (0)| 00:00:01 |
|* 49 |             INDEX UNIQUE SCAN                     | S_ORG_EXT_U3   |     1 |       |     1   (0)| 00:00:01 |
|  50 |           TABLE ACCESS BY INDEX ROWID             | S_ORG_EXT      |     1 |   139 |     2   (0)| 00:00:01 |
|* 51 |            INDEX UNIQUE SCAN                      | S_ORG_EXT_U3   |     1 |       |     1   (0)| 00:00:01 |
|  52 |          TABLE ACCESS BY INDEX ROWID              | S_ORG_EXT_X    |     1 |    16 |     2   (0)| 00:00:01 |
|* 53 |           INDEX RANGE SCAN                        | S_ORG_EXT_X_U1 |     1 |       |     2   (0)| 00:00:01 |
|* 54 |         INDEX UNIQUE SCAN                         | S_PARTY_P1     |     1 |    12 |     1   (0)| 00:00:01 |
|  55 |        TABLE ACCESS BY INDEX ROWID                | S_ASSET_BU     |     1 |    34 |     3   (0)| 00:00:01 |
|* 56 |         INDEX RANGE SCAN                          | S_ASSET_BU_U1  |     1 |       |     2   (0)| 00:00:01 |
|* 57 |       INDEX UNIQUE SCAN                           | S_PARTY_P1     |     1 |    12 |     1   (0)| 00:00:01 |
|  58 |      TABLE ACCESS BY INDEX ROWID                  | S_ASSET        |     1 |    37 |     2   (0)| 00:00:01 |
|* 59 |       INDEX UNIQUE SCAN                           | S_ASSET_P1     |     1 |       |     2   (0)| 00:00:01 |
|  60 |     TABLE ACCESS BY INDEX ROWID                   | S_PROD_INT     |     1 |    16 |     1   (0)| 00:00:01 |
|* 61 |      INDEX UNIQUE SCAN                            | S_PROD_INT_P1  |     1 |       |     1   (0)| 00:00:01 |
|  62 |    TABLE ACCESS BY INDEX ROWID                    | S_ORG_EXT      |     1 |    14 |     2   (0)| 00:00:01 |
|* 63 |     INDEX UNIQUE SCAN                             | S_ORG_EXT_U3   |     1 |       |     1   (0)| 00:00:01 |
|  64 |   TABLE ACCESS BY INDEX ROWID                     | S_ASSET_X      |     1 |    93 |     3   (0)| 00:00:01 |
|* 65 |    INDEX RANGE SCAN                               | S_ASSET_X_U1   |     1 |       |     2   (0)| 00:00:01 |
Predicate Information (identified by operation id):
  23 - filter("T9"."VER_NUM"=TO_NUMBER(:1))
  25 - access("T3"."ROW_ID"="T9"."VOD_ID")
  27 - access("T14"."CFG_MODEL_ID"="T3"."OBJECT_NUM")
  29 - access("T14"."PR_PROD_LN_ID"="T7"."ROW_ID"(+))
  31 - access("T14"."CG_PR_CTLG_CAT_ID"="T16"."ROW_ID"(+))
  33 - access("T16"."PAR_CAT_ID"="T10"."ROW_ID"(+))
  34 - filter("T23"."PAR_ASSET_ID" IS NULL AND "T23"."SERIAL_NUM" IS NOT NULL OR "T23"."X_PHONE_NUMBER" IS
              NOT NULL AND "T23"."PAR_ASSET_ID" IS NOT NULL)
  35 - access("T23"."PROD_ID"="T14"."ROW_ID")
  37 - access("T23"."ROW_ID"="T8"."PAR_ROW_ID"(+))
  39 - access("T23"."OWNER_CON_ID"="T11"."ROW_ID"(+))
  41 - access("T23"."PER_ADDR_ID"="T20"."ROW_ID"(+))
  43 - access("T23"."RTNG_DLR_ID"="T1"."PAR_ROW_ID"(+))
  45 - access("T23"."DLR_ID"="T4"."PAR_ROW_ID"(+))
  47 - access("T23"."PREF_SRV_DLR_ID"="T17"."PAR_ROW_ID"(+))
  49 - access("T23"."BILL_ACCNT_ID"="T18"."PAR_ROW_ID"(+))
  51 - access("T23"."OWNER_ACCNT_ID"="T21"."PAR_ROW_ID"(+))
  53 - access("T23"."OWNER_ACCNT_ID"="T6"."PAR_ROW_ID"(+))
  54 - access("T23"."PR_CON_ID"="T12"."ROW_ID"(+))
  56 - access("T23"."ROW_ID"="T15"."ASSET_ID"(+) AND "T23"."BU_ID"="T15"."BU_ID"(+))
  57 - access("T15"."BU_ID"="T13"."ROW_ID"(+))
  59 - access("T23"."ROOT_ASSET_ID"="T19"."ROW_ID"(+))
  61 - access("T19"."PROD_ID"="T2"."ROW_ID"(+))
  63 - access("T15"."BU_ID"="T5"."PAR_ROW_ID"(+))
  65 - access("T23"."ROW_ID"="T22"."PAR_ROW_ID"(+))
Note
   - dynamic sampling used for this statement
105 rows selected.

out put of dbms_xplan.display_cursor :
SQL> select * from table(dbms_xplan.display_cursor('xxxxxxxxxxxxxx',NULL,'iostats last'));
PLAN_TABLE_OUTPUT
SQL_ID  xxxxxxxxxxxxxx, child number 0
SELECT       T23.CONFLICT_ID,       T23.LAST_UPD,       T23.CREATED,       T23.LAST_UPD_BY,       T23.CREATED_BY,
T23.MODIFICATION_NUM,       T23.ROW_ID,       T23.ASSET_NUM,       T21.LOC,       T21.NAME,       T23.INSTALL_DT,
T23.INVLOC_ID,       T23.NAME,       T23.OU_ADDR_ID,       T23.OWNER_ACCNT_ID,       T23.PAR_ASSET_ID,       T23.PER_ADDR_ID,
     T20.STATE,       T23.PR_CON_ID,       T23.PR_EMP_ID,       T14.DESC_TEXT,       T23.PROD_ID,       T14.NAME,
T21.INTEGRATION_ID,       T23.COST_LST_ID,       T14.SERIALIZED_FLG,       T23.REGISTERED_DT,       T23.SERIAL_NUM,
T23.VERSION,       T23.STATUS_CD,       T14.PR_PROD_LN_ID,       T7.NAME,       T23.QTY,       T23.ASSET_COND_CD,
T23.PR_ACCNT_ID,       T23.OWNERSHIP_TYPE_CD,       T23.XA_CLASS_ID,       T23.OPER_STATUS_CD,       T23.SP_NUM,
T23.BILL_ACCNT_ID,       T23.SERV_ACCT_ID,       T9.RELEASED_FLG,       T23.CFG_TYPE_CD,       T9.VER_NUM,       T23.END_DT,
    T23.ASSEMBLY_PORT_ID,
Plan hash value: xxxxxxxxxxxxxx
| Id  | Operation                                         | Name           | Starts | E-Rows | A-Rows |   A-Time   | Buffers | Reads  |
|   1 |  NESTED LOOPS OUTER                               |                |      1 |     10 |     10 |00:23:58.99 |    1236K|    460K|
|   2 |   NESTED LOOPS OUTER                              |                |      1 |     10 |     10 |00:23:58.99 |    1236K|    460K|
|   3 |    NESTED LOOPS OUTER                             |                |      1 |     10 |     10 |00:23:58.85 |    1236K|    460K|
|   4 |     NESTED LOOPS OUTER                            |                |      1 |     10 |     10 |00:23:58.69 |    1236K|    460K|
|   5 |      NESTED LOOPS OUTER                           |                |      1 |     10 |     10 |00:23:58.69 |    1236K|    460K|
|   6 |       NESTED LOOPS OUTER                          |                |      1 |     10 |     10 |00:23:58.69 |    1236K|    460K|
|   7 |        NESTED LOOPS OUTER                         |                |      1 |     11 |     10 |00:23:58.47 |    1236K|    460K|
|   8 |         NESTED LOOPS OUTER                        |                |      1 |     11 |     10 |00:23:58.47 |    1236K|    460K|
|   9 |          NESTED LOOPS OUTER                       |                |      1 |     11 |     10 |00:23:58.37 |    1236K|    460K|
|  10 |           NESTED LOOPS OUTER                      |                |      1 |     11 |     10 |00:23:58.22 |    1236K|    460K|
|  11 |            NESTED LOOPS OUTER                     |                |      1 |     11 |     10 |00:23:58.16 |    1236K|    460K|
|  12 |             NESTED LOOPS OUTER                    |                |      1 |     11 |     10 |00:23:58.16 |    1236K|    460K|
|  13 |              NESTED LOOPS OUTER                   |                |      1 |     11 |     10 |00:23:58.16 |    1236K|    460K|
|  14 |               NESTED LOOPS OUTER                  |                |      1 |     11 |     10 |00:23:58.16 |    1236K|    460K|
|  15 |                NESTED LOOPS OUTER                 |                |      1 |     11 |     10 |00:23:58.09 |    1236K|    460K|
|  16 |                 NESTED LOOPS OUTER                |                |      1 |     11 |     10 |00:23:57.99 |    1236K|    460K|
|  17 |                  NESTED LOOPS                     |                |      1 |     11 |     10 |00:23:57.98 |    1236K|    460K|
|  18 |                   NESTED LOOPS OUTER              |                |      1 |      1 |     57 |00:00:00.02 |     828 |      0 |
|  19 |                    NESTED LOOPS OUTER             |                |      1 |      2 |     57 |00:00:00.02 |     828 |      0 |
|  20 |                     NESTED LOOPS OUTER            |                |      1 |      2 |     57 |00:00:00.02 |     828 |      0 |
|  21 |                      NESTED LOOPS                 |                |      1 |      2 |     57 |00:00:00.01 |     786 |      0 |
|  22 |                       NESTED LOOPS                |                |      1 |      2 |    232 |00:00:00.01 |     493 |      0 |
|* 23 |                        TABLE ACCESS FULL          | S_VOD_VER      |      1 |     75 |    246 |00:00:00.01 |      12 |      0 |
|  24 |                        TABLE ACCESS BY INDEX ROWID| S_VOD          |    246 |      1 |    232 |00:00:00.01 |     481 |      0 |
|* 25 |                         INDEX UNIQUE SCAN         | S_VOD_P1       |    246 |      1 |    232 |00:00:00.01 |     249 |      0 |
|  26 |                       TABLE ACCESS BY INDEX ROWID | S_PROD_INT     |    232 |      1 |     57 |00:00:00.01 |     293 |      0 |
|* 27 |                        INDEX RANGE SCAN           | S_PROD_INT_F9  |    232 |      1 |     57 |00:00:00.01 |     236 |      0 |
|  28 |                      TABLE ACCESS BY INDEX ROWID  | S_PROD_LN      |     57 |      1 |     39 |00:00:00.01 |      42 |      0 |
|* 29 |                       INDEX UNIQUE SCAN           | S_PROD_LN_P1   |     57 |      1 |     39 |00:00:00.01 |       3 |      0 |
|  30 |                     TABLE ACCESS BY INDEX ROWID   | S_CTLG_CAT     |     57 |      1 |      0 |00:00:00.01 |       0 |      0 |
|* 31 |                      INDEX UNIQUE SCAN            | S_CTLG_CAT_P1  |     57 |      1 |      0 |00:00:00.01 |       0 |      0 |
|  32 |                    TABLE ACCESS BY INDEX ROWID    | S_CTLG_CAT     |     57 |      1 |      0 |00:00:00.01 |       0 |      0 |
|* 33 |                     INDEX UNIQUE SCAN             | S_CTLG_CAT_P1  |     57 |      1 |      0 |00:00:00.01 |       0 |      0 |
|* 34 |                   TABLE ACCESS BY INDEX ROWID     | S_ASSET        |     57 |     10 |     10 |00:23:57.97 |    1235K|    460K|
|* 35 |                    INDEX RANGE SCAN               | S_ASSET_U2     |     57 |    734 |    627K|00:00:01.34 |    4295 |   2032 |
|  36 |                  TABLE ACCESS BY INDEX ROWID      | S_ASSET_OM     |     10 |      1 |      0 |00:00:00.01 |      26 |      2 |
|* 37 |                   INDEX RANGE SCAN                | S_ASSET_OM_U1  |     10 |      1 |      0 |00:00:00.01 |      26 |      2 |
|  38 |                 TABLE ACCESS BY INDEX ROWID       | S_CONTACT      |     10 |      1 |     10 |00:00:00.11 |      36 |     12 |
|* 39 |                  INDEX UNIQUE SCAN                | S_CONTACT_P1   |     10 |      1 |     10 |00:00:00.06 |      26 |      6 |
|  40 |                TABLE ACCESS BY INDEX ROWID        | S_ADDR_PER     |     10 |      1 |     10 |00:00:00.07 |      36 |     18 |
|* 41 |                 INDEX UNIQUE SCAN                 | S_ADDR_PER_P1  |     10 |      1 |     10 |00:00:00.04 |      26 |      8 |
|  42 |               TABLE ACCESS BY INDEX ROWID         | S_ORG_EXT      |     10 |      1 |      0 |00:00:00.01 |       0 |      0 |
|* 43 |                INDEX UNIQUE SCAN                  | S_ORG_EXT_U3   |     10 |      1 |      0 |00:00:00.01 |       0 |      0 |
|  44 |              TABLE ACCESS BY INDEX ROWID          | S_ORG_EXT      |     10 |      1 |      0 |00:00:00.01 |       0 |      0 |
|* 45 |               INDEX UNIQUE SCAN                   | S_ORG_EXT_U3   |     10 |      1 |      0 |00:00:00.01 |       0 |      0 |
|  46 |             TABLE ACCESS BY INDEX ROWID           | S_ORG_EXT      |     10 |      1 |      0 |00:00:00.01 |       0 |      0 |
|* 47 |              INDEX UNIQUE SCAN                    | S_ORG_EXT_U3   |     10 |      1 |      0 |00:00:00.01 |       0 |      0 |
|  48 |            TABLE ACCESS BY INDEX ROWID            | S_ORG_EXT      |     10 |      1 |     10 |00:00:00.05 |      46 |     12 |
|* 49 |             INDEX UNIQUE SCAN                     | S_ORG_EXT_U3   |     10 |      1 |     10 |00:00:00.03 |      26 |      6 |
|  50 |           TABLE ACCESS BY INDEX ROWID             | S_ORG_EXT      |     10 |      1 |     10 |00:00:00.15 |      55 |     23 |
|* 51 |            INDEX UNIQUE SCAN                      | S_ORG_EXT_U3   |     10 |      1 |     10 |00:00:00.04 |      26 |      6 |
|  52 |          TABLE ACCESS BY INDEX ROWID              | S_ORG_EXT_X    |     10 |      1 |     10 |00:00:00.10 |      40 |     12 |
|* 53 |           INDEX RANGE SCAN                        | S_ORG_EXT_X_U1 |     10 |      1 |     10 |00:00:00.05 |      30 |      6 |
|* 54 |         INDEX UNIQUE SCAN                         | S_PARTY_P1     |     10 |      1 |      0 |00:00:00.01 |       5 |      0 |
|  55 |        TABLE ACCESS BY INDEX ROWID                | S_ASSET_BU     |     10 |      1 |     10 |00:00:00.22 |      50 |     29 |
|* 56 |         INDEX RANGE SCAN                          | S_ASSET_BU_U1  |     10 |      1 |     10 |00:00:00.15 |      40 |     19 |
|  57 |       TABLE ACCESS BY INDEX ROWID                 | S_ORG_EXT      |     10 |      1 |     10 |00:00:00.01 |      36 |      0 |
|* 58 |        INDEX UNIQUE SCAN                          | S_ORG_EXT_U3   |     10 |      1 |     10 |00:00:00.01 |      26 |      0 |
|* 59 |      INDEX UNIQUE SCAN                            | S_PARTY_P1     |     10 |      1 |     10 |00:00:00.01 |      26 |      0 |
|  60 |     TABLE ACCESS BY INDEX ROWID                   | S_ASSET_X      |     10 |      1 |     10 |00:00:00.16 |      50 |     20 |
|* 61 |      INDEX RANGE SCAN                             | S_ASSET_X_U1   |     10 |      1 |     10 |00:00:00.09 |      40 |     10 |
|  62 |    TABLE ACCESS BY INDEX ROWID                    | S_ASSET        |     10 |      1 |     10 |00:00:00.14 |      46 |     19 |
|* 63 |     INDEX UNIQUE SCAN                             | S_ASSET_P1     |     10 |      1 |     10 |00:00:00.04 |      36 |      9 |
|  64 |   TABLE ACCESS BY INDEX ROWID                     | S_PROD_INT     |     10 |      1 |     10 |00:00:00.01 |      26 |      0 |
|* 65 |    INDEX UNIQUE SCAN                              | S_PROD_INT_P1  |     10 |      1 |     10 |00:00:00.01 |      16 |      0 |
Predicate Information (identified by operation id):
  23 - filter("T9"."VER_NUM"=:1)
  25 - access("T3"."ROW_ID"="T9"."VOD_ID")
  27 - access("T14"."CFG_MODEL_ID"="T3"."OBJECT_NUM")
  29 - access("T14"."PR_PROD_LN_ID"="T7"."ROW_ID")
  31 - access("T14"."CG_PR_CTLG_CAT_ID"="T16"."ROW_ID")
  33 - access("T16"."PAR_CAT_ID"="T10"."ROW_ID")
  34 - filter((("T23"."PAR_ASSET_ID" IS NULL AND "T23"."SERIAL_NUM" IS NOT NULL) OR ("T23"."X_PHONE_NUMBER" IS NOT NULL AND
              "T23"."PAR_ASSET_ID" IS NOT NULL)))
  35 - access("T23"."PROD_ID"="T14"."ROW_ID")
  37 - access("T23"."ROW_ID"="T8"."PAR_ROW_ID")
  39 - access("T23"."OWNER_CON_ID"="T11"."ROW_ID")
  41 - access("T23"."PER_ADDR_ID"="T20"."ROW_ID")
  43 - access("T23"."RTNG_DLR_ID"="T1"."PAR_ROW_ID")
  45 - access("T23"."DLR_ID"="T4"."PAR_ROW_ID")
  47 - access("T23"."PREF_SRV_DLR_ID"="T17"."PAR_ROW_ID")
  49 - access("T23"."BILL_ACCNT_ID"="T18"."PAR_ROW_ID")
  51 - access("T23"."OWNER_ACCNT_ID"="T21"."PAR_ROW_ID")
  53 - access("T23"."OWNER_ACCNT_ID"="T6"."PAR_ROW_ID")
  54 - access("T23"."PR_CON_ID"="T12"."ROW_ID")
  56 - access("T23"."ROW_ID"="T15"."ASSET_ID" AND "T23"."BU_ID"="T15"."BU_ID")
  58 - access("T15"."BU_ID"="T5"."PAR_ROW_ID")
  59 - access("T15"."BU_ID"="T13"."ROW_ID")
  61 - access("T23"."ROW_ID"="T22"."PAR_ROW_ID")
  63 - access("T23"."ROOT_ASSET_ID"="T19"."ROW_ID")
  65 - access("T19"."PROD_ID"="T2"."ROW_ID")
SQL_ID  xxxxxxxxxxxxxx, child number 1
SELECT       T23.CONFLICT_ID,       T23.LAST_UPD,       T23.CREATED,       T23.LAST_UPD_BY,       T23.CREATED_BY,
T23.MODIFICATION_NUM,       T23.ROW_ID,       T23.ASSET_NUM,       T21.LOC,       T21.NAME,       T23.INSTALL_DT,
T23.INVLOC_ID,       T23.NAME,       T23.OU_ADDR_ID,       T23.OWNER_ACCNT_ID,       T23.PAR_ASSET_ID,       T23.PER_ADDR_ID,
     T20.STATE,       T23.PR_CON_ID,       T23.PR_EMP_ID,       T14.DESC_TEXT,       T23.PROD_ID,       T14.NAME,
T21.INTEGRATION_ID,       T23.COST_LST_ID,       T14.SERIALIZED_FLG,       T23.REGISTERED_DT,       T23.SERIAL_NUM,
T23.VERSION,       T23.STATUS_CD,       T14.PR_PROD_LN_ID,       T7.NAME,       T23.QTY,       T23.ASSET_COND_CD,
T23.PR_ACCNT_ID,       T23.OWNERSHIP_TYPE_CD,       T23.XA_CLASS_ID,       T23.OPER_STATUS_CD,       T23.SP_NUM,
T23.BILL_ACCNT_ID,       T23.SERV_ACCT_ID,       T9.RELEASED_FLG,       T23.CFG_TYPE_CD,       T9.VER_NUM,       T23.END_DT,
    T23.ASSEMBLY_PORT_ID,
Plan hash value: xxxxxxxxxxxxxx
| Id  | Operation                                         | Name           | Starts | E-Rows | A-Rows |   A-Time   | Buffers | Reads  |
|   1 |  NESTED LOOPS OUTER                               |                |      1 |     10 |     10 |00:28:15.04 |    1237K|    512K|
|   2 |   NESTED LOOPS OUTER                              |                |      1 |     10 |     10 |00:28:15.04 |    1237K|    512K|
|   3 |    NESTED LOOPS OUTER                             |                |      1 |     10 |     10 |00:28:14.92 |    1237K|    512K|
|   4 |     NESTED LOOPS OUTER                            |                |      1 |     10 |     10 |00:28:14.82 |    1237K|    512K|
|   5 |      NESTED LOOPS OUTER                           |                |      1 |     10 |     10 |00:28:14.82 |    1237K|    512K|
|   6 |       NESTED LOOPS OUTER                          |                |      1 |     10 |     10 |00:28:14.82 |    1237K|    512K|
|   7 |        NESTED LOOPS OUTER                         |                |      1 |     11 |     10 |00:28:14.64 |    1237K|    512K|
|   8 |         NESTED LOOPS OUTER                        |                |      1 |     11 |     10 |00:28:14.63 |    1237K|    512K|
|   9 |          NESTED LOOPS OUTER                       |                |      1 |     11 |     10 |00:28:14.51 |    1237K|    512K|
|  10 |           NESTED LOOPS OUTER                      |                |      1 |     11 |     10 |00:28:14.42 |    1237K|    512K|
|  11 |            NESTED LOOPS OUTER                     |                |      1 |     11 |     10 |00:28:14.33 |    1236K|    512K|
|  12 |             NESTED LOOPS OUTER                    |                |      1 |     11 |     10 |00:28:14.33 |    1236K|    512K|
|  13 |              NESTED LOOPS OUTER                   |                |      1 |     11 |     10 |00:28:14.33 |    1236K|    512K|
|  14 |               NESTED LOOPS OUTER                  |                |      1 |     11 |     10 |00:28:14.33 |    1236K|    512K|
|  15 |                NESTED LOOPS OUTER                 |                |      1 |     11 |     10 |00:28:14.23 |    1236K|    512K|
|  16 |                 NESTED LOOPS OUTER                |                |      1 |     11 |     10 |00:28:14.12 |    1236K|    512K|
|  17 |                  NESTED LOOPS                     |                |      1 |     11 |     10 |00:28:14.12 |    1236K|    512K|
|  18 |                   NESTED LOOPS OUTER              |                |      1 |      1 |     57 |00:00:00.02 |     828 |      0 |
|  19 |                    NESTED LOOPS OUTER             |                |      1 |      1 |     57 |00:00:00.02 |     828 |      0 |
|  20 |                     NESTED LOOPS OUTER            |                |      1 |      1 |     57 |00:00:00.01 |     828 |      0 |
|  21 |                      NESTED LOOPS                 |                |      1 |      1 |     57 |00:00:00.01 |     786 |      0 |
|  22 |                       NESTED LOOPS                |                |      1 |      2 |    232 |00:00:00.01 |     493 |      0 |
|* 23 |                        TABLE ACCESS FULL          | S_VOD_VER      |      1 |     74 |    246 |00:00:00.01 |      12 |      0 |
|  24 |                        TABLE ACCESS BY INDEX ROWID| S_VOD          |    246 |      1 |    232 |00:00:00.01 |     481 |      0 |
|* 25 |                         INDEX UNIQUE SCAN         | S_VOD_P1       |    246 |      1 |    232 |00:00:00.01 |     249 |      0 |
|  26 |                       TABLE ACCESS BY INDEX ROWID | S_PROD_INT     |    232 |      1 |     57 |00:00:00.01 |     293 |      0 |
|* 27 |                        INDEX RANGE SCAN           | S_PROD_INT_F9  |    232 |      1 |     57 |00:00:00.01 |     236 |      0 |
|  28 |                      TABLE ACCESS BY INDEX ROWID  | S_PROD_LN      |     57 |      1 |     39 |00:00:00.01 |      42 |      0 |
|* 29 |                       INDEX UNIQUE SCAN           | S_PROD_LN_P1   |     57 |      1 |     39 |00:00:00.01 |       3 |      0 |
|  30 |                     TABLE ACCESS BY INDEX ROWID   | S_CTLG_CAT     |     57 |      1 |      0 |00:00:00.01 |       0 |      0 |
|* 31 |                      INDEX UNIQUE SCAN            | S_CTLG_CAT_P1  |     57 |      1 |      0 |00:00:00.01 |       0 |      0 |
|  32 |                    TABLE ACCESS BY INDEX ROWID    | S_CTLG_CAT     |     57 |      1 |      0 |00:00:00.01 |       0 |      0 |
|* 33 |                     INDEX UNIQUE SCAN             | S_CTLG_CAT_P1  |     57 |      1 |      0 |00:00:00.01 |       0 |      0 |
|* 34 |                   TABLE ACCESS BY INDEX ROWID     | S_ASSET        |     57 |     10 |     10 |00:28:14.10 |    1236K|    512K|
|* 35 |                    INDEX RANGE SCAN               | S_ASSET_U2     |     57 |    734 |    627K|00:00:01.26 |    4299 |   3327 |
|  36 |                  TABLE ACCESS BY INDEX ROWID      | S_ASSET_OM     |     10 |      1 |      0 |00:00:00.01 |      26 |      2 |
|* 37 |                   INDEX RANGE SCAN                | S_ASSET_OM_U1  |     10 |      1 |      0 |00:00:00.01 |      26 |      2 |
|  38 |                 TABLE ACCESS BY INDEX ROWID       | S_CONTACT      |     10 |      1 |     10 |00:00:00.10 |      36 |     18 |
|* 39 |                  INDEX UNIQUE SCAN                | S_CONTACT_P1   |     10 |      1 |     10 |00:00:00.04 |      26 |      9 |
|  40 |                TABLE ACCESS BY INDEX ROWID        | S_ADDR_PER     |     10 |      1 |     10 |00:00:00.11 |      36 |     20 |
|* 41 |                 INDEX UNIQUE SCAN                 | S_ADDR_PER_P1  |     10 |      1 |     10 |00:00:00.04 |      26 |     10 |
|  42 |               TABLE ACCESS BY INDEX ROWID         | S_ORG_EXT      |     10 |      1 |      0 |00:00:00.01 |       0 |      0 |
|* 43 |                INDEX UNIQUE SCAN                  | S_ORG_EXT_U3   |     10 |      1 |      0 |00:00:00.01 |       0 |      0 |
|  44 |              TABLE ACCESS BY INDEX ROWID          | S_ORG_EXT      |     10 |      1 |      0 |00:00:00.01 |       0 |      0 |
|* 45 |               INDEX UNIQUE SCAN                   | S_ORG_EXT_U3   |     10 |      1 |      0 |00:00:00.01 |       0 |      0 |
|  46 |             TABLE ACCESS BY INDEX ROWID           | S_ORG_EXT      |     10 |      1 |      0 |00:00:00.01 |       0 |      0 |
|* 47 |              INDEX UNIQUE SCAN                    | S_ORG_EXT_U3   |     10 |      1 |      0 |00:00:00.01 |       0 |      0 |
|  48 |            TABLE ACCESS BY INDEX ROWID            | S_ORG_EXT      |     10 |      1 |     10 |00:00:00.09 |      46 |     18 |
|* 49 |             INDEX UNIQUE SCAN                     | S_ORG_EXT_U3   |     10 |      1 |     10 |00:00:00.05 |      26 |      9 |
|  50 |           TABLE ACCESS BY INDEX ROWID             | S_ORG_EXT      |     10 |      1 |     10 |00:00:00.09 |      55 |     32 |
|* 51 |            INDEX UNIQUE SCAN                      | S_ORG_EXT_U3   |     10 |      1 |     10 |00:00:00.02 |      26 |      8 |
|  52 |          TABLE ACCESS BY INDEX ROWID              | S_ORG_EXT_X    |     10 |      1 |     10 |00:00:00.13 |      40 |     18 |
|* 53 |           INDEX RANGE SCAN                        | S_ORG_EXT_X_U1 |     10 |      1 |     10 |00:00:00.06 |      30 |      9 |
|* 54 |         INDEX UNIQUE SCAN                         | S_PARTY_P1     |     10 |      1 |      0 |00:00:00.01 |       5 |      0 |
|  55 |        TABLE ACCESS BY INDEX ROWID                | S_ASSET_BU     |     10 |      1 |     10 |00:00:00.18 |      50 |     29 |
|* 56 |         INDEX RANGE SCAN                          | S_ASSET_BU_U1  |     10 |      1 |     10 |00:00:00.11 |      40 |     19 |
|  57 |       TABLE ACCESS BY INDEX ROWID                 | S_ORG_EXT      |     10 |      1 |     10 |00:00:00.01 |      36 |      0 |
|* 58 |        INDEX UNIQUE SCAN                          | S_ORG_EXT_U3   |     10 |      1 |     10 |00:00:00.01 |      26 |      0 |
|* 59 |      INDEX UNIQUE SCAN                            | S_PARTY_P1     |     10 |      1 |     10 |00:00:00.01 |      26 |      0 |
|  60 |     TABLE ACCESS BY INDEX ROWID                   | S_ASSET_X      |     10 |      1 |     10 |00:00:00.10 |      50 |     20 |
|* 61 |      INDEX RANGE SCAN                             | S_ASSET_X_U1   |     10 |      1 |     10 |00:00:00.03 |      40 |     10 |
|  62 |    TABLE ACCESS BY INDEX ROWID                    | S_ASSET        |     10 |      1 |     10 |00:00:00.12 |      46 |     20 |
|* 63 |     INDEX UNIQUE SCAN                             | S_ASSET_P1     |     10 |      1 |     10 |00:00:00.06 |      36 |     10 |
|  64 |   TABLE ACCESS BY INDEX ROWID                     | S_PROD_INT     |     10 |      1 |     10 |00:00:00.01 |      26 |      0 |
|* 65 |    INDEX UNIQUE SCAN                              | S_PROD_INT_P1  |     10 |      1 |     10 |00:00:00.01 |      16 |      0 |
Predicate Information (identified by operation id):
  23 - filter("T9"."VER_NUM"=:1)
  25 - access("T3"."ROW_ID"="T9"."VOD_ID")
  27 - access("T14"."CFG_MODEL_ID"="T3"."OBJECT_NUM")
  29 - access("T14"."PR_PROD_LN_ID"="T7"."ROW_ID")
  31 - access("T14"."CG_PR_CTLG_CAT_ID"="T16"."ROW_ID")
  33 - access("T16"."PAR_CAT_ID"="T10"."ROW_ID")
  34 - filter((("T23"."PAR_ASSET_ID" IS NULL AND "T23"."SERIAL_NUM" IS NOT NULL) OR ("T23"."X_PHONE_NUMBER" IS NOT NULL AND
              "T23"."PAR_ASSET_ID" IS NOT NULL)))
  35 - access("T23"."PROD_ID"="T14"."ROW_ID")
  37 - access("T23"."ROW_ID"="T8"."PAR_ROW_ID")
  39 - access("T23"."OWNER_CON_ID"="T11"."ROW_ID")
  41 - access("T23"."PER_ADDR_ID"="T20"."ROW_ID")
  43 - access("T23"."RTNG_DLR_ID"="T1"."PAR_ROW_ID")
  45 - access("T23"."DLR_ID"="T4"."PAR_ROW_ID")
  47 - access("T23"."PREF_SRV_DLR_ID"="T17"."PAR_ROW_ID")
  49 - access("T23"."BILL_ACCNT_ID"="T18"."PAR_ROW_ID")
  51 - access("T23"."OWNER_ACCNT_ID"="T21"."PAR_ROW_ID")
  53 - access("T23"."OWNER_ACCNT_ID"="T6"."PAR_ROW_ID")
  54 - access("T23"."PR_CON_ID"="T12"."ROW_ID")
  56 - access("T23"."ROW_ID"="T15"."ASSET_ID" AND "T23"."BU_ID"="T15"."BU_ID")
  58 - access("T15"."BU_ID"="T5"."PAR_ROW_ID")
  59 - access("T15"."BU_ID"="T13"."ROW_ID")
  61 - access("T23"."ROW_ID"="T22"."PAR_ROW_ID")
  63 - access("T23"."ROOT_ASSET_ID"="T19"."ROW_ID")
  65 - access("T19"."PROD_ID"="T2"."ROW_ID")
226 rows selected.
SQL >

Similar Messages

  • How to learn sql query's execution time?

    Hello All,
    I am trying to find out the execution times of deterministic and non-deterministic function. Hence I have run following script and want to compare their execution times etc. Should I use v$sql? If so, which coloumns? Because I couln't find.
    {code}
    create table my_table
    as
    select mod(level,10)*10 col from dual connect by level <= 100 order by 1;
    create or replace function my_det(giris number)
    return number deterministic
    is
      num number;
    begin
      num :=giris*10;
      return num;
    end;
    create or replace function my_func(giris number)
    return number
    is
      num number;
    begin
      num :=giris*10;
      return num;
    end;
    select my_det(col) from my_table;   --First I want to run this query
    select my_func(col) from my_table;  --Then this query
    {code}
    What should I do in order to compare these two in terms of execution, fetch times, etc.?
    Thanks in advance.

    Hello NightWig
    As you're on 11g, if you have queries that take more than a few seconds I'd definitely recommend looking at the real-time SQL monitor (assuming you're appropriately licensed). As the name suggests, it shows the progress of an SQL statement in real-time, breaking down how long each operation has taken with details of rows fetched so far. It also keeps details of recently executed queries for a short while so can see how your changes affect a statement.
    Oracle SQL Monitoring documentation:http://docs.oracle.com/cd/E11882_01/server.112/e16638/instance_tune.htm#PFGRF94543
    Thank you

  • Optimize long execution time due to 'db file sequential read'

    Hi to all,
    I have got a query that takes long execution time. Most of the time is due to 'db file sequential read'. The query is:
    SELECT * FROM Table_Name
    WHERE col1 = :some_value
    AND col2 BETWEEN :some_range_about_2_Million
    | Id | Operation | Name | Rows | Bytes | Cost |
    | 0 | SELECT STATEMENT | | 21 | 504 | 26125 |
    | 1 | TABLE ACCESS BY INDEX ROWID| Table_Name | 21 | 504 | 26125 |
    | 2 | INDEX RANGE SCAN | Index Name | 1705K| | 4100 |
    The table is not partitioned having around 0.2 billion records. Record set for column 'col1' is around 1700K.
    Another index is available for the col2 and col3 is not getting used.
    Any suggestions to optimize it..
    Regards.

    Perhaps a combined index (col2, col1) would work...or try "parallel" hint.
    :p

  • Long execution times for TestStand conditional statements

    I have two test stations – one here, one at the factory in China that has been operating for about a year. The test program uses TestStand 3.1 and calls primarily dll's developed using CVI. Up until a couple months ago, both test stations performed in a similar manner, then the computer at the factory died and was replaced with a new, faster computer. Now the same test sequence at the factory take three times as long to execute (30 min at the facotry, 10min here).
    I have recoded the execution time at various point during the execution, and have found that the extra times seems to be occurring during the evaluation of conditional statements in TestStand (i.e. for loops, if statements, case statements). For example, one particular ‘for’ evaluation takes 30 ms on the test station here, but takes 400 ms at the test station at the factory (note: this is just the evaluation of the for condition, not the execution of the steps contained within the for loop).
    The actual dll calls seem to be slightly faster with the new computer.
    Also the ‘Module Times’ reported don’t seem to match the actual time for the module for the computer at the factory. For example, for the following piece of TestStand code:
    Label1
    Subsequence Call
    Label2
    I record the execution time to the report text in both Label1 and Label2. Subtracting one from the other gives me about 18 seconds. However the ‘Module Time’ recorded for ‘Subsequence Call’ is only 3.43 seconds.
    Any body have any ideas why the long execution time with the new computer? I always setup the computers in exactly the same way, but maybe there is a TestStand setting somewhere that I have missed? Keep in mind, both test stations are running exactly the same revision of code.

    Got some more results from the factory this morning:
    1) Task Manager shows that the TestExec.exe is the only thing using CPU to any significant degree. Also CPU Usage History show that the CPU Usage never reaches 100%.
    2) I sent a new test program that will log test execution time in more places. Longer execution times are seen in nearly every area of the program, but one area where this is very dramatic is the time taken to return from one particular subsequence call. In this subsequence I log the time just before the <End Group> at then end of Main. There is nothing in Cleanup. I then log the time immediately after returning from this sequence. On the test system I have here this takes approximately 160 ms. On the test system at the factory this takes approximately 14.5 seconds! The program seems to be hanging here for some reason. Every time this function is called the same thing happens and for the same amount of time (and this function is called about 40 times in the test program, so this is kill me).

  • Alert with event for delayed job and long execution time

    Dear All,
    We are planning to send alert via email in case job delayed or long execution time.
    I have followed below steps:
    1) Create event Raise Event when job is delayed.
    2) create job chain with STEP1, Job 1 and assign event in raise event parameter.
    3) Once job chain delayed it should raise events.
    4) Above event should trigger custom email but I can not put the Mail_To parameter as IN parameter. And can not be recognized during
    execution.
    It ends with the below error.
    Details:
    JCS-122035: Unable to persist: JCS-102075: Mandatory parameter not set: Parameter Mail_To for job 20413
    at com.redwood.scheduler.model.SchedulerSessionImpl.writeDirtyListLocal(SchedulerSessionImpl.java:805)
    at com.redwood.scheduler.model.SchedulerSessionImpl.persist(SchedulerSessionImpl.java:757)
    Please let us know if anybody knows how to add Mail_To parameter to script.
    Any help is appreciated.
    Thanks in advance.
    Regards,
    Jiggi

    Dear Jiggi,
    where will you define execution time of particular job? because some jobs will take only 1 or 2 minutes, but some jobs normally take more than hours, so how will you decide execution time of individual jobs?
    i thinks you can use P_TO Parameter for sending mail, if you want to add some output log activate spool output script.
    Thanks and regards
    Muhammad Asif

  • Size of SQL query before execution and after execution

    hi all
    I need help on how can i find out the size of SQL query before execution and after execution in java
    The query can be any query select / insert / update
    Can anyone help me if any system tables help to find out the required size i mentioned
    Urgent help is required
    Thanking in advance

    I need the size in terms of bytes
    like the rquirement is stated as below
    select ................: 10 B , return 250 B
    so i need size before and after execution in terms of bytes

  • How to know which sql query is taking time for concurrent program

       Hi sir,
    I am running concurrent program,that is taking time to execute ,i want to know which sql query causing performance
    Thanaks,
    Sreekanth

    Hi,
    My Learning: Diagnosing Oracle Applications Concurrent Programmes - 11i/R12
    How to run a Trace for a Concurrent Program? (Doc ID 415640.1)
    FAQ: Common Tracing Techniques in Oracle E-Business Applications 11i and R12 (Doc ID 296559.1)
    How To Get Level 12 Trace And FND Debug File For Concurrent Programs (Doc ID 726039.1)
    How To Trace a Concurrent Request And Generate TKPROF File (Doc ID 453527.1)
    Regards
    Yoonas

  • How to get report (SQL Query) generating Run Time

    There is a Standard report of Payroll which show employee transfer information on the bases of location, grade job or organization, now to get actual query which is generated by run time in report builder including whether single column parameter or lexical parameter " because currently the query in not complicate but the parameter and lexical parameter is much more due to this not quite easy to under stand just copy past it into toad or pl/sql developer,
    Kindly share your experience to get such kind of query in you working time.
    thanks

    Here i try to explain contain of query.
    Parameter
    P_DEPTNO = 10
    P_WHERE_CLAUSE := ' AND EMPNO IS NOT NULL AND SALARY > 100'
    SELECT * FROM EMP
    WHERE DEPTNO = P_DEPTNO
    &P_WHERE_CLAUSE
    REPROT WILL GENERATE QUERY AT RUN TIME IS LIKE THAT
    SELECT * FROM EMP
    WHERE DEPTNO = 10
    AND EMPNO IS NOT NULL AND SALARY > 100
    Now i want to get this query out(Run time) by doing any oracle database feature or sth similar.
    thanks

  • LabVIEW2012 has long execution time to write string than LabVIEW2011 on XP SP3

    in for loop, each execution will output string and display it on front panel by value property.
    But after upgrade to LabVIEW 2012, the execution time doubled on Chinese XP OS, I really want to know this difference between LabVIEW 2011 & LabVIEW 2012, pls advice.
    "I think therefore I am"

    This is no way to measure the execution time. Your parallel while loop spins as fast as the computer allows, consuming all CPU it can get in the process, and starving everything else. Your code is highly flawed!
    Eli: actually I add 10milliseconds delay inside both for and while loop. 
    In addition, get date/time in seconds is also a relatively expensive function, not to mention all these local variables! Your benchmark is completely meaningless! All it does is slow down your regular code, nothing else. How do you know in what order things start? Where is the "start time" initilized (where is the terminal?!)
    Eli: I am using the states machine, and set the "start time" during the program initialization, then calculate "test time"in next case (running block). 
    A proper benchmark uses a three-frame flat sequence with to high resolution relative seconds timers, on in each outer frame and the code to be benchmarked in the inner frame. (here is an example). The difference between the two timers is the exection time of the inner code in seconds. Make sure to only have wires in the benchmarking code. All controls and indicators belong outside the sequence. Also make sure that no other code can run in parallel to the sequence.
    Use this and you'll be surprise how fast your code actually runs.
    Then you should also disabele debugging.
    Please attach your actual code (including the subVI) so we can see what else you are doing wrong.
    Eli: if possible, give me your mail address, then I can sent more actual code to you separately. 
    "I think therefore I am"

  • Long execution time.

    Hi,
    Can anyone see a problem with the below query it is taking a long time to execute in SQL developer
    select ol.sku_id, oh.order_id
    from order_header oh, order_line ol
    where ol.qty_tasked <= 0 or ol.qty_picked <= 0
    and oh.order_id = ol.order_id
    and oh.order_id = '9150391359'
    and oh.client_id = ol.client_id
    group by oh.order_id, ol.sku_id
    order by ol.sku_id#
    Regards,
    Sam.

    You can try something like this:
    select
        ol.sku_id, oh.order_id
    from
        (select order_id, client_id
         from order_header
         where order_id = '9150391359') oh,
        (select order_id, client_id, skew_id
         from order_line
         where qty_tasked <= 0 OR qty_picked <= 0) ol
    where
        oh.order_id = ol.order_id  AND
        oh.client_id = ol.client_id
    group by
        oh.order_id, ol.sku_id
    order by
        ol.sku_idThis will reduce the number of rows before the join and may speed things up.

  • SQL query for date & time interval

    Hello everyone,
    there is my problem
    I have to make a search for events that are taking place during inserted date & time .
    There's the table structure:
    event
    datefrom
    dateto
    timefrom
    timeto
    The problem is, when I try:
    select * from xyz where datefrom <= inserted_date and dateto >= inserted_date and timefrom <= inserted_time and timeto >= inserted time;
    then I don't get back all records.
    eg: user inserts date = 10.10.2010 and time 10:00 and in the table is event [abc 11:00 9.10.2010 -> 09:00 11.10.2010] stored following way:
    event         abdc
    datefrom   09.10.2010
    dateto        11.10.2010
    timefrom    11:00
    timeto         09:00
    => this event won't be found, because the sql logic compares only single parameters and not their context.
    Do you have any idea, how to solve this issue?
    Thank you.
    Lukas

    Hello Hubert,
    thank you very much for your proposal, but your code makes the same select as mine (but in a more user friendly look :).
    Table:
    datefrom 09.10.2010
    dateto 11.10.2010
    timefrom 11:00
    timeto 09:00
    Event date = 10.10.2010 and time 10:00.
    Your query:
    select * from xyz where 10.10.2010 between 09.10.2010 and 11.10.2010 (that's so far ok) and 10:00 between 11:00 and 9:00 (no return there, because 10:00 doesn't lie within interval 11:00 -> 9:00... actually no value lies there) ;
    Don't you have any other idea?
    Thank you
    Lukas

  • Very very long execution time

    hi,
    working with 10g XE
    new_header table has 9749 rows and consist of two column : itemsets and codes like that
    AST:GLU:KREA:Na:IBIL, 2380. codes starts from 1 to 9749
    when I run belows pl/sql codes, it takes very long time in fact it can not be complete without error
    declare
    cnt1 number(15) ;
    cnt2 number(15) ;
    itemset1 varchar(800) ;
    itemset2 varchar2(800) ;
    begin
    select max(codes) into cnt1 from new_header ;
    cnt2 := cnt1 ;
    for f in 1..cnt1 loop --cnt1 loop
    for l in 1..cnt2 loop --cnt2 loop
    itemset1 := 'AST:GLU:KREA:Na:TBIL:IBIL' ; ---given for exeample
    --select itemsets into itemset1 from new_header where codes = f ;
    insert into k1
    select REGEXP_SUBSTR (itemset1,'[^:]+', 1, level)
    from dual
    connect by level <= length(regexp_replace(itemset1 ,'[^:]*'))+1 ;
    select itemsets into itemset2 from new_header where codes = l ;
    insert into k2
    select REGEXP_SUBSTR (itemset2,'[^:]+', 1, level)
    from dual
    connect by level <= length(regexp_replace(itemset2 ,'[^:]*'))+1 ;*/
    check_it ;
    commit ;
    end loop ;
    end loop ;
    dbms_output.put_line(myres.count) ;
    end ;
    I wanto to get each part of itemset1 seperated by : k1 global temporary table has one column varchar2 will be used in check_it procudere to compare with a table values. please give me some advice urgent..what can i do. what can I use instead of regexp_substr or any idea..thanks..

    The regexp_substr isn't the problem.
    The problem is your table has 9749 rows and you're doing this:
    for f in 1..cnt1 loop --cnt1 loop
    for l in 1..cnt2 loop --cnt2 loop
    end loop ;
    end loop ;i.e. you are trying to execute the code in the loops 9749^2 which is roughly 95 million times. And you wonder why its taking a long time.
    I havn't even tried to work out what you are trying to achieve in the rest of the code - maybe you could elaborate.
    I suggest you rethink your approach to the problem though. Oh, and no, it's not urgent.

  • Query's Execution time VS Cost.

    hello,
    I have tuned a query for speed of execution. The result is the query executed in less than 1 sec whereas the older one took more than 50Sec.
    But the problem is the new query is very much costly (Cast as taken from executio plan is 54K).
    Please tell me, is this 54k a very high value? Is it taxing on the server resources when nearly 1000 users run the same query at the same time?
    Thanks,
    Aswin.
    Edited by: ice_cold_aswin on Sep 9, 2008 4:26 PM

    Execution plan #1:
    Time: 52 Sec
    Plan:
    | Id  | Operation                   | Name            | Rows  | Bytes |TempSpc| Cost (%CPU)|
    |   0 | SELECT STATEMENT            |                 | 68192 |  4661K|       |  4863   (2)|
    |   1 |  TABLE ACCESS BY INDEX ROWID| TABLE_LOC |     1 |    38 |       |     4   (0)|
    |   2 |   INDEX RANGE SCAN          | PK_LOCS         |     1 |       |       |     3   (0)|
    |   3 |  SORT AGGREGATE             |                 |     1 |    14 |       |            |
    |   4 |   TABLE ACCESS FULL         | TABLE_PAT   |    10 |   140 |       |  1815   (3)|
    |   5 |  SORT AGGREGATE             |                 |     1 |    14 |       |            |
    |   6 |   TABLE ACCESS FULL         | TABLE_PAT   |    18 |   252 |       |  1815   (3)|
    |   7 |  SORT UNIQUE                |                 | 68192 |  4661K|    10M|  3729   (2)|
    |   8 |   HASH JOIN                 |                 | 68192 |  4661K|       |  2596   (3)|
    |   9 |    TABLE ACCESS FULL        | TABLE_PHC       |  1628 | 26048 |       |     9   (0)|
    |  10 |    HASH JOIN                |                 | 68192 |  3596K|  2072K|  2585   (3)|
    |  11 |     TABLE ACCESS FULL       | TABLE_PAT   | 68192 |  1265K|       |  1818   (3)|
    |  12 |     TABLE ACCESS FULL       | TABLE_LOC |   103K|  3547K|       |   430   (1)|
    --------------------------------------------------------------------------------------------Execution Plan #2
    Time taken to exec: 0.8 Sec
    Plan:
    | Id  | Operation                     | Name            | Rows  | Bytes |TempSpc| Cost (%CPU)|
    |   0 | SELECT STATEMENT              |                 |  3990K|   799M|       |  5678K  (1)|
    |   1 |  SORT ORDER BY                |                 |  3990K|   799M|  1685M|  5678K  (1)|
    |   2 |   HASH JOIN RIGHT OUTER       |                 |  3990K|   799M|       |  5495K  (1)|
    |   3 |    TABLE ACCESS FULL          | TABLE_PHC       |  1628 | 37444 |       |     9   (0)|
    |   4 |    HASH JOIN OUTER            |                 |  3990K|   711M|       |  5495K  (1)|
    |   5 |     TABLE ACCESS FULL         | TABLE_LOC | 17299 |   641K|       |   434   (2)|
    |   6 |     VIEW                      |                 |    23M|  3402M|       |  5495K  (1)|
    |   7 |      SORT UNIQUE              |                 |    23M|    17G|    40G|  5495K (51)|
    |   8 |       UNION-ALL               |                 |       |       |       |            |
    |   9 |        HASH JOIN OUTER        |                 |    11M|  9178M|    13M|  6166   (5)|
    |  10 |         VIEW                  |                 | 34599 |    13M|       |  2337   (3)|
    |  11 |          HASH JOIN RIGHT OUTER|                 | 34599 |  2905K|       |  2337   (3)|
    |  12 |           VIEW                |                 | 11789 |   552K|       |  1902   (3)|
    |  13 |            HASH GROUP BY      |                 | 11789 |   276K|   936K|  1902   (3)|
    |  14 |             TABLE ACCESS FULL | TABLE_PAT   | 11789 |   276K|       |  1816   (3)|
    |  15 |           TABLE ACCESS FULL   | TABLE_LOC | 34599 |  1283K|       |   434   (2)|
    |  16 |         VIEW                  |                 | 34599 |    13M|       |  2300   (3)|
    |  17 |          HASH JOIN RIGHT OUTER|                 | 34599 |  2905K|       |  2300   (3)|
    |  18 |           VIEW                |                 |  6430 |   301K|       |  1865   (3)|
    |  19 |            HASH GROUP BY      |                 |  6430 |   150K|   520K|  1865   (3)|
    |  20 |             TABLE ACCESS FULL | TABLE_PAT   |  6430 |   150K|       |  1815   (3)|
    |  21 |           TABLE ACCESS FULL   | TABLE_LOC | 34599 |  1283K|       |   434   (2)|
    |  22 |        HASH JOIN OUTER        |                 |    11M|  9178M|    13M|  6166   (5)|
    |  23 |         VIEW                  |                 | 34599 |    13M|       |  2300   (3)|
    |  24 |          HASH JOIN RIGHT OUTER|                 | 34599 |  2905K|       |  2300   (3)|
    |  25 |           VIEW                |                 |  6430 |   301K|       |  1865   (3)|
    |  26 |            HASH GROUP BY      |                 |  6430 |   150K|   520K|  1865   (3)|
    |  27 |             TABLE ACCESS FULL | TABLE_PAT   |  6430 |   150K|       |  1815   (3)|
    |  28 |           TABLE ACCESS FULL   | TABLE_LOC | 34599 |  1283K|       |   434   (2)|
    |  29 |         VIEW                  |                 | 34599 |    13M|       |  2337   (3)|
    |  30 |          HASH JOIN RIGHT OUTER|                 | 34599 |  2905K|       |  2337   (3)|
    |  31 |           VIEW                |                 | 11789 |   552K|       |  1902   (3)|
    |  32 |            HASH GROUP BY      |                 | 11789 |   276K|   936K|  1902   (3)|
    |  33 |             TABLE ACCESS FULL | TABLE_PAT   | 11789 |   276K|       |  1816   (3)|
    |  34 |           TABLE ACCESS FULL   | TABLE_LOC | 34599 |  1283K|       |   434   (2)|
    ----------------------------------------------------------------------------------------------Thanks in Advance,
    Aswin.
    Edited by: ice_cold_aswin on Sep 9, 2008 4:32 PM

  • SQL Query for real time resource stats

    Does anyone know what the query would be to duplicate the real time resource stats page in version 8 or above of UCCX?  I need to build a custom web page that displays the same information.  I've got all the connectivity to the database just fine and can query it and display information.  Just can't figure out what the SQL would be that would extract that information.

     Michael,
    you can try :
    SELECT x.resourceName, t.eventType, x.datetime FROM (SELECT t1.resourceID, t1.resourceName, MAX(t2.eventDateTime) AS datetime FROM Resource AS t1 INNER JOIN AgentStateDetail AS t2 ON t2.agentID = t1.resourceID GROUP BY t1.resourceID, t1.resourceName ) AS x INNER JOIN AgentStateDetail AS t ON t.agentID = x.resourceID AND t.eventDateTime = x.datetime ORDER BY x.resourceName
    You will need to translate the eventType into the "readable" status like Talking or Not Ready with an IF or Case statement.
    Regards,
    Jeroen

  • Extreme long execution time

    Hi,
    lately, I realized that Jubula needs extremely long for all the progresses...
    For example, deleting TestResults or after execution of TestCases, the Progress "Collecting Information" and "Writing Report to Database" needs about 15-20 minutes!!
    I use the embedded database and html toolkit and my project is not big at all!
    I already had larger projects and never experienced that long progresses!
    Any ideas/suggestions why Jubula is suddenly working that slow?
    Thanks

    Hi Nicole,
    Thanks for your question! I think the problem is that the h2 database isn't designed for productive use - it doesn't scale well and will indeed get slower and slower with time (not necessarily size of the project, just time).
    If you need to keep using it then you can do the following:
    - stop Jubula
    - perform an export all to export all of the projects
    - you can also copy the database files (from your home directory under .jubula) to back them up
    - delete the database files from your home directory
    - connect to the database: this will recreate the database
    - then you can import the projects you exported
    Like I say, this isn't the preferred way of working, but the steps above should help with the current performance. Bear in mind that you should ensure that you have backups before you delete the database!
    Hope that helps,
    Alex

Maybe you are looking for

  • Loops greyed out in loop browser

    Can any one tell me how to make some greyed out loops in the loop browser play? The loops in question are in the following location on the HD: H/D / LIB / AUDIO / APPLE LOOPS / APPLE / APPLE LOOPS FOR GARAGE BAND. About 15% of these loops are greyed

  • Null pointer exception with JavaCompiler interface

    Hi, I am trying to compile a java file from another java source. My files are- Cmp.java ====== public class Cmp { public static void main(String args[]) throws Exception{ JavaCompiler compiler = ToolProvider.getSystemJavaCompiler(); int result = comp

  • How do I move files to memory stick using Vista

    Can anyone throw any light on my new problem . I am using Windows Vista Home on my Toshiba Satellite 350 and I am trying to save a file to memory stick. I locate the correct file and click on ' send to removable disc ' I then get an 'Item not found '

  • Updation in Va01 for unconfirmed amount

    Hi All, I have created a sales order for 100 items. during delivery, I have picked 90 quantities. Now, what I want is that the 10 quantities not picked should show in the sales order. That is what I is that the sales order now will show the original

  • Can't install Flash Player (stupid ActiveX!)

    I can't install Flash Player or Macromedia Player on my computer. The problem came out of nowhere. We seem to have no viruses. We go to the adobe site to install it, but after we click the install button, a little message shows up, asking to install