Query running real slow or hangs

Experts,
Please help in tuning this query
We have PART_B.part_b_fact_stage table which has around 1100 Million Rows else table that are joined has 30-40 Million rows Or more that that . Here is the query and explain plan
SELECT /*+ PARALLEL(fs) PARALLEL(ds) PARALLEL(hd) PARALLEL(cpd) PARALLEL(c)
fs.rowid,
c.bene_clm_num_equated,
fs.carr_clm_cntl_num,
fs.run_dt,
fs.hse_cwf_clm_acrtn_dt,
fs.hse_cwf_clm_acrtn_num,
hd.hcpcs_cd,
cpd.line_prcsg_ind,
fs.carr_clm_alowed_chrg_amt,
fs.hcfa_clm_proc_dt
FROM (select /*+parallel(stg) */
from PART_B.part_b_fact_stage stg
where stg.not_final_id = 1) fs,
PART_B.part_b_clm_b_distinct_stage ds,
PART_B.hcpcs_dimension hd,
PART_B.CARRIER_PROCESSING_DIMENSION CPD,
PART_B.Ptb_Bene_At_Time_Clm c
WHERE fs.carr_clm_cntl_num = ds.carr_clm_cntl_num
AND fs.hcpcs_id = hd.hcpcs_id
AND fs.carr_prcsg_id = cpd.carr_prcsg_id
AND c.ptb_bene_at_time_clm_id = fs.ptb_bene_at_time_clm_id
AND c.bene_clm_num_equated = ds.bene_clm_num_equated
PLAN_TABLE_OUTPUT
Plan hash value: 441158526
| Id | Operation | Name | Rows | Bytes |TempSpc| Cost (%CPU)| Time | Pstart| Pstop | TQ |IN-OUT| PQ Distrib |
| 0 | SELECT STATEMENT | | 1 | 144 | | 204K (2)| 00:47:48 | | | | | |
| 1 | PX COORDINATOR | | | | | | | | | | | |
| 2 | PX SEND QC (RANDOM) | :TQ10004 | 1 | 144 | | 204K (2)| 00:47:48 | | | Q1,04 | P->S | QC (RAND) |
| 3 | BUFFER SORT | | 1 | 144 | | | | | | Q1,04 | PCWP | |
| 4 | NESTED LOOPS | | 1 | 144 | | 204K (2)| 00:47:48 | | | Q1,04 | PCWP | |
| 5 | NESTED LOOPS | | 1 | 137 | | 204K (2)| 00:47:48 | | | Q1,04 | PCWP | |
|* 6 | HASH JOIN | | 1 | 125 | 155M| 204K (2)| 00:47:48 | | | Q1,04 | PCWP | |
| 7 | PX RECEIVE | | 45M| 1976M| | 13043 (2)| 00:03:03 | | | Q1,04 | PCWP | |
| 8 | PX SEND HASH | :TQ10002 | 45M| 1976M| | 13043 (2)| 00:03:03 | | | Q1,02 | P->P | HASH |
|* 9 | HASH JOIN BUFFERED | | 45M| 1976M| 83M| 13043 (2)| 00:03:03 | | | Q1,02 | PCWP | |
| 10 | PX RECEIVE | | 45M| 816M| | 1759 (3)| 00:00:25 | | | Q1,02 | PCWP | |
| 11 | PX SEND HASH | :TQ10000 | 45M| 816M| | 1759 (3)| 00:00:25 | | | Q1,00 | P->P | HASH |
| 12 | PX BLOCK ITERATOR | | 45M| 816M| | 1759 (3)| 00:00:25 | | | Q1,00 | PCWC | |
| 13 | TABLE ACCESS FULL | PTB_BENE_AT_TIME_CLM | 45M| 816M| | 1759 (3)| 00:00:25 | | | Q1,00 | PCWP | |
| 14 | PX RECEIVE | | 60M| 1556M| | 1656 (3)| 00:00:24 | | | Q1,02 | PCWP | |
| 15 | PX SEND HASH | :TQ10001 | 60M| 1556M| | 1656 (3)| 00:00:24 | | | Q1,01 | P->P | HASH |
| 16 | PX BLOCK ITERATOR | | 60M| 1556M| | 1656 (3)| 00:00:24 | | | Q1,01 | PCWC | |
| 17 | TABLE ACCESS FULL | PART_B_CLM_B_DISTINCT_STAGE | 60M| 1556M| | 1656 (3)| 00:00:24 | | | Q1,01 | PCWP | |
| 18 | PX RECEIVE | | 512M| 37G| | 66006 (4)| 00:15:25 | | | Q1,04 | PCWP | |
| 19 | PX SEND HASH | :TQ10003 | 512M| 37G| | 66006 (4)| 00:15:25 | | | Q1,03 | P->P | HASH |
| 20 | PX BLOCK ITERATOR | | 512M| 37G| | 66006 (4)| 00:15:25 | 1 | LAST | Q1,03 | PCWC | |
|* 21 | TABLE ACCESS FULL | PART_B_FACT_STAGE | 512M| 37G| | 66006 (4)| 00:15:25 | 1 | 1236 | Q1,03 | PCWP | |
| 22 | TABLE ACCESS BY INDEX ROWID| HCPCS_DIMENSION | 1 | 12 | | 1 (0)| 00:00:01 | | | Q1,04 | PCWP | |
|* 23 | INDEX UNIQUE SCAN | PK_HCPCSD_ID | 1 | | | 1 (0)| 00:00:01 | | | Q1,04 | PCWP | |
| 24 | TABLE ACCESS BY INDEX ROWID | CARRIER_PROCESSING_DIMENSION | 1 | 7 | | 1 (0)| 00:00:01 | | | Q1,04 | PCWP | |
|* 25 | INDEX UNIQUE SCAN | PK_CPD_CARRIER_ID | 1 | | | 1 (0)| 00:00:01 | | | Q1,04 | PCWP | |
Query Block Name / Object Alias (identified by operation id):
1 - SEL$F5BB74E1
13 - SEL$F5BB74E1 / C@SEL$1
17 - SEL$F5BB74E1 / DS@SEL$1
21 - SEL$F5BB74E1 / STG@SEL$2
22 - SEL$F5BB74E1 / HD@SEL$1
23 - SEL$F5BB74E1 / HD@SEL$1
24 - SEL$F5BB74E1 / CPD@SEL$1
25 - SEL$F5BB74E1 / CPD@SEL$1
Predicate Information (identified by operation id):
6 - access("STG"."CARR_CLM_CNTL_NUM"="DS"."CARR_CLM_CNTL_NUM" AND "C"."PTB_BENE_AT_TIME_CLM_ID"="STG"."PTB_BENE_AT_TIME_CLM_ID")
9 - access("C"."BENE_CLM_NUM_EQUATED"="DS"."BENE_CLM_NUM_EQUATED")
21 - filter("STG"."NOT_FINAL_ID"=1)
23 - access("STG"."HCPCS_ID"="HD"."HCPCS_ID")
25 - access("STG"."CARR_PRCSG_ID"="CPD"."CARR_PRCSG_ID")
Column Projection Information (identified by operation id):
1 - "STG"."CARR_CLM_CNTL_NUM"[VARCHAR2,15], "C"."BENE_CLM_NUM_EQUATED"[VARCHAR2,12], "FS".ROWID[ROWID,10], "STG"."HSE_CWF_CLM_ACRTN_DT"[DATE,7],
"STG"."HCFA_CLM_PROC_DT"[DATE,7], "STG"."RUN_DT"[DATE,7], "STG"."HSE_CWF_CLM_ACRTN_NUM"[NUMBER,22], "STG"."CARR_CLM_ALOWED_CHRG_AMT"[NUMBER,22],
"HD"."HCPCS_CD"[VARCHAR2,5], "CPD"."LINE_PRCSG_IND"[VARCHAR2,1]
2 - (#keys=0) "STG"."CARR_CLM_CNTL_NUM"[VARCHAR2,15], "C"."BENE_CLM_NUM_EQUATED"[VARCHAR2,12], "FS".ROWID[ROWID,10], "STG"."HSE_CWF_CLM_ACRTN_DT"[DATE,7],
"STG"."HCFA_CLM_PROC_DT"[DATE,7], "STG"."RUN_DT"[DATE,7], "STG"."HSE_CWF_CLM_ACRTN_NUM"[NUMBER,22], "STG"."CARR_CLM_ALOWED_CHRG_AMT"[NUMBER,22],
"HD"."HCPCS_CD"[VARCHAR2,5], "CPD"."LINE_PRCSG_IND"[VARCHAR2,1]
3 - (#keys=0) "STG"."CARR_CLM_CNTL_NUM"[VARCHAR2,15], "C"."BENE_CLM_NUM_EQUATED"[VARCHAR2,12], "FS".ROWID[ROWID,10], "STG"."HSE_CWF_CLM_ACRTN_DT"[DATE,7],
"STG"."HCFA_CLM_PROC_DT"[DATE,7], "STG"."RUN_DT"[DATE,7], "STG"."HSE_CWF_CLM_ACRTN_NUM"[NUMBER,22], "STG"."CARR_CLM_ALOWED_CHRG_AMT"[NUMBER,22],
"HD"."HCPCS_CD"[VARCHAR2,5], "CPD"."LINE_PRCSG_IND"[VARCHAR2,1]
4 - (#keys=0) "STG"."CARR_CLM_CNTL_NUM"[VARCHAR2,15], "C"."BENE_CLM_NUM_EQUATED"[VARCHAR2,12], "FS".ROWID[ROWID,10], "STG"."HSE_CWF_CLM_ACRTN_DT"[DATE,7],
"STG"."HCFA_CLM_PROC_DT"[DATE,7], "STG"."RUN_DT"[DATE,7], "STG"."HSE_CWF_CLM_ACRTN_NUM"[NUMBER,22], "STG"."CARR_CLM_ALOWED_CHRG_AMT"[NUMBER,22],
"HD"."HCPCS_CD"[VARCHAR2,5], "CPD"."LINE_PRCSG_IND"[VARCHAR2,1]
5 - (#keys=0) "STG"."CARR_CLM_CNTL_NUM"[VARCHAR2,15], "C"."BENE_CLM_NUM_EQUATED"[VARCHAR2,12], "FS".ROWID[ROWID,10], "STG"."CARR_PRCSG_ID"[NUMBER,22],
"STG"."HSE_CWF_CLM_ACRTN_DT"[DATE,7], "STG"."HCFA_CLM_PROC_DT"[DATE,7], "STG"."RUN_DT"[DATE,7], "STG"."HSE_CWF_CLM_ACRTN_NUM"[NUMBER,22],
"STG"."CARR_CLM_ALOWED_CHRG_AMT"[NUMBER,22], "HD"."HCPCS_CD"[VARCHAR2,5]
6 - (#keys=2) "STG"."CARR_CLM_CNTL_NUM"[VARCHAR2,15], "C"."BENE_CLM_NUM_EQUATED"[VARCHAR2,12], "FS".ROWID[ROWID,10], "STG"."CARR_PRCSG_ID"[NUMBER,22],
"STG"."HCPCS_ID"[NUMBER,22], "STG"."HSE_CWF_CLM_ACRTN_DT"[DATE,7], "STG"."HCFA_CLM_PROC_DT"[DATE,7], "STG"."RUN_DT"[DATE,7],
"STG"."HSE_CWF_CLM_ACRTN_NUM"[NUMBER,22], "STG"."CARR_CLM_ALOWED_CHRG_AMT"[NUMBER,22]
7 - "DS"."CARR_CLM_CNTL_NUM"[VARCHAR2,15], "C"."PTB_BENE_AT_TIME_CLM_ID"[NUMBER,22], "C"."BENE_CLM_NUM_EQUATED"[VARCHAR2,12]
8 - (#keys=2) "DS"."CARR_CLM_CNTL_NUM"[VARCHAR2,15], "C"."PTB_BENE_AT_TIME_CLM_ID"[NUMBER,22], "C"."BENE_CLM_NUM_EQUATED"[VARCHAR2,12]
9 - (#keys=1) "C"."BENE_CLM_NUM_EQUATED"[VARCHAR2,12], "C"."PTB_BENE_AT_TIME_CLM_ID"[NUMBER,22], "DS"."CARR_CLM_CNTL_NUM"[VARCHAR2,15]
10 - "C"."BENE_CLM_NUM_EQUATED"[VARCHAR2,12], "C"."PTB_BENE_AT_TIME_CLM_ID"[NUMBER,22]
11 - (#keys=1) "C"."BENE_CLM_NUM_EQUATED"[VARCHAR2,12], "C"."PTB_BENE_AT_TIME_CLM_ID"[NUMBER,22]
12 - "C"."PTB_BENE_AT_TIME_CLM_ID"[NUMBER,22], "C"."BENE_CLM_NUM_EQUATED"[VARCHAR2,12]
13 - "C"."PTB_BENE_AT_TIME_CLM_ID"[NUMBER,22], "C"."BENE_CLM_NUM_EQUATED"[VARCHAR2,12]
14 - "DS"."BENE_CLM_NUM_EQUATED"[VARCHAR2,12], "DS"."CARR_CLM_CNTL_NUM"[VARCHAR2,15]
15 - (#keys=1) "DS"."BENE_CLM_NUM_EQUATED"[VARCHAR2,12], "DS"."CARR_CLM_CNTL_NUM"[VARCHAR2,15]
16 - "DS"."BENE_CLM_NUM_EQUATED"[VARCHAR2,12], "DS"."CARR_CLM_CNTL_NUM"[VARCHAR2,15]
17 - "DS"."BENE_CLM_NUM_EQUATED"[VARCHAR2,12], "DS"."CARR_CLM_CNTL_NUM"[VARCHAR2,15]
18 - "STG"."CARR_CLM_CNTL_NUM"[VARCHAR2,15], "STG"."PTB_BENE_AT_TIME_CLM_ID"[NUMBER,22], "FS".ROWID[ROWID,10], "STG"."CARR_PRCSG_ID"[NUMBER,22],
"STG"."HCPCS_ID"[NUMBER,22], "STG"."HSE_CWF_CLM_ACRTN_DT"[DATE,7], "STG"."HCFA_CLM_PROC_DT"[DATE,7], "STG"."RUN_DT"[DATE,7],
"STG"."HSE_CWF_CLM_ACRTN_NUM"[NUMBER,22], "STG"."CARR_CLM_ALOWED_CHRG_AMT"[NUMBER,22]
19 - (#keys=2) "STG"."CARR_CLM_CNTL_NUM"[VARCHAR2,15], "STG"."PTB_BENE_AT_TIME_CLM_ID"[NUMBER,22], "FS".ROWID[ROWID,10], "STG"."CARR_PRCSG_ID"[NUMBER,22],
"STG"."HCPCS_ID"[NUMBER,22], "STG"."HSE_CWF_CLM_ACRTN_DT"[DATE,7], "STG"."HCFA_CLM_PROC_DT"[DATE,7], "STG"."RUN_DT"[DATE,7],
"STG"."HSE_CWF_CLM_ACRTN_NUM"[NUMBER,22], "STG"."CARR_CLM_ALOWED_CHRG_AMT"[NUMBER,22]
20 - "FS".ROWID[ROWID,10], "STG"."CARR_PRCSG_ID"[NUMBER,22], "STG"."HCPCS_ID"[NUMBER,22], "STG"."HSE_CWF_CLM_ACRTN_DT"[DATE,7],
"STG"."HCFA_CLM_PROC_DT"[DATE,7], "STG"."RUN_DT"[DATE,7], "STG"."HSE_CWF_CLM_ACRTN_NUM"[NUMBER,22], "STG"."CARR_CLM_CNTL_NUM"[VARCHAR2,15],
"STG"."CARR_CLM_ALOWED_CHRG_AMT"[NUMBER,22], "STG"."PTB_BENE_AT_TIME_CLM_ID"[NUMBER,22]
21 - "FS".ROWID[ROWID,10], "STG"."CARR_PRCSG_ID"[NUMBER,22], "STG"."HCPCS_ID"[NUMBER,22], "STG"."HSE_CWF_CLM_ACRTN_DT"[DATE,7],
"STG"."HCFA_CLM_PROC_DT"[DATE,7], "STG"."RUN_DT"[DATE,7], "STG"."HSE_CWF_CLM_ACRTN_NUM"[NUMBER,22], "STG"."CARR_CLM_CNTL_NUM"[VARCHAR2,15],
"STG"."CARR_CLM_ALOWED_CHRG_AMT"[NUMBER,22], "STG"."PTB_BENE_AT_TIME_CLM_ID"[NUMBER,22]
22 - "HD"."HCPCS_CD"[VARCHAR2,5]
23 - "HD".ROWID[ROWID,10]
24 - "CPD"."LINE_PRCSG_IND"[VARCHAR2,1]
25 - "CPD".ROWID[ROWID,10]
102 rows selected

While eleminiting other tables and found that this particular is taking time. This query never come up
SELECT /*+ PARALLEL(fs) PARALLEL(c) parallel(ds)
index(c,PK_PTB_BENE_AT_TIME) full(ds) index(cpd,PK_CPD_CARRIER_ID)
fs.rowid,
c.bene_clm_num_equated,
fs.carr_clm_cntl_num,
fs.run_dt,
fs.hse_cwf_clm_acrtn_dt,
fs.hse_cwf_clm_acrtn_num,
fs.carr_clm_alowed_chrg_amt,
fs.hcfa_clm_proc_dt
  FROM PART_B.part_b_fact_stage           fs,
       PART_B.part_b_clm_b_distinct_stage ds,
       PART_B.Ptb_Bene_At_Time_Clm        c
WHERE fs.not_final_id = 1
   and fs.carr_clm_cntl_num = ds.carr_clm_cntl_num
   AND c.bene_clm_num_equated = ds.bene_clm_num_equated
PLAN_TABLE_OUTPUT                                                                                                                               
Plan hash value: 2589723726                                                                                                                               
| Id  | Operation                            | Name                        | Rows  | Bytes |TempSpc| Cost (%CPU)| Time     | Pstart| Pstop |    TQ  |IN-OUT| PQ Distrib |                                                                                                                               
|   0 | SELECT STATEMENT                     |                             |    45M|  4342M|       |    24M  (1)| 95:50:27 |       |       |        |      |            |                                                                                                                               
|   1 |  PX COORDINATOR                      |                             |       |       |       |            |          |       |       |        |      |            |                                                                                                                               
|   2 |   PX SEND QC (RANDOM)                | :TQ10004                    |    45M|  4342M|       |    24M  (1)| 95:50:27 |       |       |  Q1,04 | P->S | QC (RAND)  |                                                                                                                               
|*  3 |    HASH JOIN BUFFERED                |                             |    45M|  4342M|   137M|    24M  (1)| 95:50:27 |       |       |  Q1,04 | PCWP |            |                                                                                                                               
|   4 |     PX RECEIVE                       |                             |    45M|  1676M|       |    24M  (1)| 95:11:05 |       |       |  Q1,04 | PCWP |            |                                                                                                                               
|   5 |      PX SEND HASH                    | :TQ10002                    |    45M|  1676M|       |    24M  (1)| 95:11:05 |       |       |  Q1,02 | P->P | HASH       |                                                                                                                               
|*  6 |       HASH JOIN BUFFERED             |                             |    45M|  1676M|    64M|    24M  (1)| 95:11:05 |       |       |  Q1,02 | PCWP |            |                                                                                                                               
|   7 |        BUFFER SORT                   |                             |       |       |       |            |          |       |       |  Q1,02 | PCWC |            |                                                                                                                               
|   8 |         PX RECEIVE                   |                             |    45M|   515M|       |    24M  (1)| 95:08:38 |       |       |  Q1,02 | PCWP |            |                                                                                                                               
|   9 |          PX SEND HASH                | :TQ10000                    |    45M|   515M|       |    24M  (1)| 95:08:38 |       |       |        | S->P | HASH       |                                                                                                                               
|  10 |           TABLE ACCESS BY INDEX ROWID| PTB_BENE_AT_TIME_CLM        |    45M|   515M|       |    24M  (1)| 95:08:38 |       |       |        |      |            |                                                                                                                               
|  11 |            INDEX FULL SCAN           | PK_PTB_BENE_AT_TIME         |    45M|       |       | 16127   (3)| 00:03:46 |       |       |        |      |            |                                                                                                                               
|  12 |        PX RECEIVE                    |                             |    60M|  1565M|       |  1656   (3)| 00:00:24 |       |       |  Q1,02 | PCWP |            |                                                                                                                               
|  13 |         PX SEND HASH                 | :TQ10001                    |    60M|  1565M|       |  1656   (3)| 00:00:24 |       |       |  Q1,01 | P->P | HASH       |                                                                                                                               
|  14 |          PX BLOCK ITERATOR           |                             |    60M|  1565M|       |  1656   (3)| 00:00:24 |       |       |  Q1,01 | PCWC |            |                                                                                                                               
|  15 |           TABLE ACCESS FULL          | PART_B_CLM_B_DISTINCT_STAGE |    60M|  1565M|       |  1656   (3)| 00:00:24 |       |       |  Q1,01 | PCWP |            |                                                                                                                               
|  16 |     PX RECEIVE                       |                             |   512M|    29G|       | 65908   (4)| 00:15:23 |       |       |  Q1,04 | PCWP |            |                                                                                                                               
|  17 |      PX SEND HASH                    | :TQ10003                    |   512M|    29G|       | 65908   (4)| 00:15:23 |       |       |  Q1,03 | P->P | HASH       |                                                                                                                               
|  18 |       PX BLOCK ITERATOR              |                             |   512M|    29G|       | 65908   (4)| 00:15:23 |     1 |  LAST |  Q1,03 | PCWC |            |                                                                                                                               
|* 19 |        TABLE ACCESS FULL             | PART_B_FACT_STAGE           |   512M|    29G|       | 65908   (4)| 00:15:23 |     1 |  1236 |  Q1,03 | PCWP |            |                                                                                                                               
Query Block Name / Object Alias (identified by operation id):                                                                                                                               
1 - SEL$1                                                                                                                               
10 - SEL$1 / C@SEL$1                                                                                                                               
11 - SEL$1 / C@SEL$1                                                                                                                               
15 - SEL$1 / DS@SEL$1                                                                                                                               
19 - SEL$1 / FS@SEL$1                                                                                                                               
Predicate Information (identified by operation id):                                                                                                                               
3 - access("FS"."CARR_CLM_CNTL_NUM"="DS"."CARR_CLM_CNTL_NUM")                                                                                                                               
6 - access("C"."BENE_CLM_NUM_EQUATED"="DS"."BENE_CLM_NUM_EQUATED")                                                                                                                               
19 - filter("FS"."NOT_FINAL_ID"=1)                                                                                                                               
Column Projection Information (identified by operation id):                                                                                                                               
1 - "FS"."CARR_CLM_CNTL_NUM"[VARCHAR2,15], "C"."BENE_CLM_NUM_EQUATED"[VARCHAR2,12], "FS".ROWID[ROWID,10], "FS"."HSE_CWF_CLM_ACRTN_DT"[DATE,7],                                                                                                                               
"FS"."HCFA_CLM_PROC_DT"[DATE,7], "FS"."RUN_DT"[DATE,7], "FS"."HSE_CWF_CLM_ACRTN_NUM"[NUMBER,22], "FS"."CARR_CLM_ALOWED_CHRG_AMT"[NUMBER,22]                                                                                                                               
2 - (#keys=0) "FS"."CARR_CLM_CNTL_NUM"[VARCHAR2,15], "C"."BENE_CLM_NUM_EQUATED"[VARCHAR2,12], "FS".ROWID[ROWID,10], "FS"."HSE_CWF_CLM_ACRTN_DT"[DATE,7],                                                                                                                               
"FS"."HCFA_CLM_PROC_DT"[DATE,7], "FS"."RUN_DT"[DATE,7], "FS"."HSE_CWF_CLM_ACRTN_NUM"[NUMBER,22], "FS"."CARR_CLM_ALOWED_CHRG_AMT"[NUMBER,22]                                                                                                                               
3 - (#keys=1) "FS"."CARR_CLM_CNTL_NUM"[VARCHAR2,15], "C"."BENE_CLM_NUM_EQUATED"[VARCHAR2,12], "FS".ROWID[ROWID,10], "FS"."HSE_CWF_CLM_ACRTN_DT"[DATE,7],                                                                                                                               
"FS"."HCFA_CLM_PROC_DT"[DATE,7], "FS"."RUN_DT"[DATE,7], "FS"."HSE_CWF_CLM_ACRTN_NUM"[NUMBER,22], "FS"."CARR_CLM_ALOWED_CHRG_AMT"[NUMBER,22]                                                                                                                               
4 - "DS"."CARR_CLM_CNTL_NUM"[VARCHAR2,15], "C"."BENE_CLM_NUM_EQUATED"[VARCHAR2,12]                                                                                                                               
5 - (#keys=1) "DS"."CARR_CLM_CNTL_NUM"[VARCHAR2,15], "C"."BENE_CLM_NUM_EQUATED"[VARCHAR2,12]                                                                                                                               
6 - (#keys=1) "C"."BENE_CLM_NUM_EQUATED"[VARCHAR2,12], "DS"."CARR_CLM_CNTL_NUM"[VARCHAR2,15]                                                                                                                               
7 - (#keys=0) "C"."BENE_CLM_NUM_EQUATED"[VARCHAR2,12]                                                                                                                               
8 - "C"."BENE_CLM_NUM_EQUATED"[VARCHAR2,12]                                                                                                                               
9 - (#keys=1) "C"."BENE_CLM_NUM_EQUATED"[VARCHAR2,12]                                                                                                                               
10 - "C"."BENE_CLM_NUM_EQUATED"[VARCHAR2,12]                                                                                                                               
11 - "C".ROWID[ROWID,10]                                                                                                                               
12 - "DS"."BENE_CLM_NUM_EQUATED"[VARCHAR2,12], "DS"."CARR_CLM_CNTL_NUM"[VARCHAR2,15]                                                                                                                               
13 - (#keys=1) "DS"."BENE_CLM_NUM_EQUATED"[VARCHAR2,12], "DS"."CARR_CLM_CNTL_NUM"[VARCHAR2,15]                                                                                                                               
14 - "DS"."BENE_CLM_NUM_EQUATED"[VARCHAR2,12], "DS"."CARR_CLM_CNTL_NUM"[VARCHAR2,15]                                                                                                                               
15 - "DS"."BENE_CLM_NUM_EQUATED"[VARCHAR2,12], "DS"."CARR_CLM_CNTL_NUM"[VARCHAR2,15]                                                                                                                               
16 - "FS"."CARR_CLM_CNTL_NUM"[VARCHAR2,15], "FS".ROWID[ROWID,10], "FS"."HSE_CWF_CLM_ACRTN_DT"[DATE,7], "FS"."HCFA_CLM_PROC_DT"[DATE,7], "FS"."RUN_DT"[DATE,7],                                                                                                                               
"FS"."HSE_CWF_CLM_ACRTN_NUM"[NUMBER,22], "FS"."CARR_CLM_ALOWED_CHRG_AMT"[NUMBER,22]                                                                                                                               
17 - (#keys=1) "FS"."CARR_CLM_CNTL_NUM"[VARCHAR2,15], "FS".ROWID[ROWID,10], "FS"."HSE_CWF_CLM_ACRTN_DT"[DATE,7], "FS"."HCFA_CLM_PROC_DT"[DATE,7],                                                                                                                               
"FS"."RUN_DT"[DATE,7], "FS"."HSE_CWF_CLM_ACRTN_NUM"[NUMBER,22], "FS"."CARR_CLM_ALOWED_CHRG_AMT"[NUMBER,22]                                                                                                                               
18 - "FS".ROWID[ROWID,10], "FS"."HSE_CWF_CLM_ACRTN_DT"[DATE,7], "FS"."HCFA_CLM_PROC_DT"[DATE,7], "FS"."RUN_DT"[DATE,7],                                                                                                                               
"FS"."HSE_CWF_CLM_ACRTN_NUM"[NUMBER,22], "FS"."CARR_CLM_CNTL_NUM"[VARCHAR2,15], "FS"."CARR_CLM_ALOWED_CHRG_AMT"[NUMBER,22]                                                                                                                               
19 - "FS".ROWID[ROWID,10], "FS"."HSE_CWF_CLM_ACRTN_DT"[DATE,7], "FS"."HCFA_CLM_PROC_DT"[DATE,7], "FS"."RUN_DT"[DATE,7],                                                                                                                               
"FS"."HSE_CWF_CLM_ACRTN_NUM"[NUMBER,22], "FS"."CARR_CLM_CNTL_NUM"[VARCHAR2,15], "FS"."CARR_CLM_ALOWED_CHRG_AMT"[NUMBER,22]                                                                                                                               
72 rows selected

Similar Messages

  • Since new update my games on Zynga hog all my memory and run real slow - I'm frustrated!

    I updated firefox and flash as suggested and I have had problems ever since with it hogging all my memory and running real slow hanging up and constantly having to clear cookies and cache multiple times a day. I tried chrome and I don't like it. I like firefox how can this be fixed.

    You can check for problems caused by recent Flash updates and try these:
    *disable a possible RealPlayer Browser Record Plugin extension for Firefox and update the RealPlayer if installed
    *disable protected mode in Flash 11.3 and later
    *disable hardware acceleration in the Flash plugin
    *http://kb.mozillazine.org/Flash#Troubleshooting

  • TS4020 I had to buy a new iPhone, how do I retrieve my stuff that was backed up in my iCloud account? The guy at the apple store said it could take a few days iCloud was running real slow due to so many new accounts, is that true?

    I had to buy a new iPhone, how do I retrieve my stuff that was backed up in my iCloud account? The guy at the apple store said it could take a few days iCloud was running real slow due to so many new accounts, is that true?

    No problems backing up iCloud here.
    Tap Settings > iCloud > Storage & Backup
    Switch iCloud Backup On

  • Query runs in TOAD but hangs in Reports

    How does one begin to diagnose where a query run in Reports is hanging? The query runs in TOAD but never finishes when run within the report. Strange thing is that the query/report ran (unchanged from this month) for prior months.
    Is there a "run-time visual debugger" for reports?

    Each query, including the 5th, runs to completion when run separately. It appears to be the addition of the 5th query which causes the problem.
    NEWS FLASH: The report ran to completion over the weekend (almost totally idle server). However, it took over 90 minutes to finish.
    Immediately after optimizing the queries and indicies, the report has been known to complete in 3 minutes. Over time, this has crept back up to 20 minutes.
    The DBAs think a change in DBMS optimization might have caused this particular query to exceed a threshhold. They're looking at reversing this change to see the affect on the query.

  • Laptop run too slow and hang

    I bought toshiba setelite amd quad core 4 gb ram 640gb hdd model is l745d laptop 1 months ago , and this laptop running too slow , and hang many times and heatin too much and when I play song there songs play stop play stop mean cauz of hang so plz tell me what is the reason is there a hdd problem motherborad problem or ram problem plz tell me

    Hi I recommend you go back to factory setting. That will eliminate software problems.
    Dokie!!
    I Love my Satellite L775D-S7222 Laptop. Some days you're the windshield, Some days you're the bug. The Computer world is crazy. If you have answers to computer problems, pass them forward.

  • When using flash player for games, the mac runs real slow

    When using flash player for games, the mac runs real slow.   It's also not the fastest at anything.   Can I do anything to speed stuff up ?????

    Have no clue.  You provided no details and your system profile is blank.
    Which os are you using?
    How are you connected to the internet?
    Have you contacted your isp to make sure the slowness is not coming from their end?
    Max out your ram.
    How large is your hard drive and how much hard drive space do you have left?
    You you using the latest version of Adobe Flash?
    Please describe in detail all you have attempted to do in order to resolve the issue.

  • Help - Firefox is running real slow, loading pages, etc compared to i.e/safari

    hey guys appreciate the help.. firefox is running real slow lately.. like loading pages takes a good 2 minutes compared to i.e or safari loading in under 2 seconds
    i dont have many addons, just an extended status bar and thats pretty much it
    what can i do other then just reinstalling ??

    '''[https://support.mozilla.org/en-US/kb/troubleshoot-firefox-issues-using-safe-mode Start Firefox in Safe Mode]''' {web link}
    While you are in safe mode;
    Type '''about:preferences'''<Enter> in the address bar
    Select '''Advanced > General.'''
    Look for and turn off '''Use Hardware Acceleration'''.
    Poke around safe web sites. Are there any problems?
    Then restart.

  • MS-Access query running very slow

    Hi,
    We've MS-Access application which was pointing to UDB. Now we migrated it to point Oracle DB 9.2. After migration some of the query is running very slow.
    These queries used to take less than 30 seconds in UDB now taking more than 5 Minutes in Oracle.
    some more obeservation :
    (1) Some of the queries using "HAVING" clause without any aggregate function. When I moved this condition to "WHERE" clause, performance improved a lot.
    But problem is that I can't suggest this solution to "USERS". They are creating query using "query wizard" in MS-Access and they started creating noise on this.
    (2) I tested same MDB in two different PCs and same query is returning records in 4 seconds in one system, is taking more than 10 minutes in other system.
    Since I'm new to MS-Access, I don't know what other information I need to provide here.
    Please help me out.

    I have seen the problem like this,too
    can i have you

  • Query runs very slow and sometime freezes

    Hi Experts,
    I have just installed SAP GUI 710 but when i open a query in analyzer it runs very slow and  if the variables are set for more than 6 months it just sits there and finally times out. It takes at least 5 minutes to open the query if it opens at all. Can you please advise me on how to resolve this issue??
    Thanks, point will be awarded.

    Worth running RSRT .
    Ravi Thothadri

  • Oracle query running very slow

    Hi,
    We've MS-Access application which was pointing to UDB. Now we migrated it to point Oracle DB 9.2. After migration some of the query is running very slow.
    These queries used to take less than 30 seconds in UDB now taking more than 5 Minutes in Oracle.
    some more obeservation :
    (1) Some of the queries using "HAVING" clause without any aggregate function. When I moved this condition to "WHERE" clause, performance improved a lot.
    But problem is that I can't suggest this solution to "USERS". They are creating query using "query wizard" in MS-Access and they started creating noise on this.
    (2) I tested same MDB in two different PCs and same query is returning records in 4 seconds in one system, is taking more than 10 minutes in other system.
    Since I'm new to MS-Access, I don't know what other information I need to provide here.
    Please help me out.

    ms wrote:
    Hi All
    I am using Oracle 11g . My table contains 10-12 lac rows.Do not use the word lac: it is common in the Indian sub-continent but not known much outside of
    there because it is not standard English.
    >
    1) what is the difference between a index on one column and an index of number of columns ( i.e composite index). The obvious answer of one contains only one column and the other contains more than one.
    2) For what columns in a where clause should index be created ( single columns index or composite index ).Depends
    3) Also can u suggest how to improve the perfomane of thsi query?Please read: SQL and PL/SQL FAQ
    which tells you how to ask a performance related question

  • 2008 Macbook Pro running real slow and freezing up

    Trying to help out my girlfriend to figure out why her macbook is running so slow when its peviously been fine. Have gone through most of the easy options, having cleared a bunch of space from the HD previously which hasn't helped. Running OSX 10.6.6 Hoping that someone will see something in etrecheck that'll help me out. Any other advice would be great.
    Cheers.
    Hardware Information:
              MacBook Pro (15-inch Early 2008)
              MacBook Pro - model: MacBookPro4,1
              1 2.4 GHz Intel Core 2 Duo CPU: 2 cores
              2 GB RAM
    Video Information:
              GeForce 8600M GT     - VRAM: 256 MB
    System Software:
              Mac OS X 10.6.6 (10J567) - Uptime: 0 days 0:23:45
    Disk Information:
              FUJITSU MHY2200BH disk0 : (186.31 GB)
                        (null) (disk0s1) <not mounted>: 200 MB
                        Macintosh HD (disk0s2) / [Startup]: 185.99 GB (3.6 GB free) (Low!)
    USB Information:
              Apple Inc. Built-in iSight
      Apple Inc. BRCM2046 Hub
                        Apple Inc. Bluetooth USB Host Controller
              Apple, Inc. Apple Internal Keyboard / Trackpad
              Apple Computer, Inc. IR Receiver
    FireWire Information:
    Thunderbolt Information:
    Startup Items:
              FanControlDaemon: Path: /Library/StartupItems/FanControlDaemon
    Problem System Launch Daemons:
              [System]          org.samba.winbindd.plist 3rd-Party support link
    Launch Daemons:
              [System]          com.adobe.fpsaud.plist 3rd-Party support link
              [System]          com.adobe.versioncueCS3.plist 3rd-Party support link
              [System]          com.anchorfree.ajaxserver.plist 3rd-Party support link
              [System]          com.google.keystone.daemon.plist 3rd-Party support link
    Launch Agents:
              [System]          com.google.keystone.agent.plist 3rd-Party support link
              [System]          com.lexmark.hbnlistener.plist 3rd-Party support link
              [System]          com.lexmark.hostinfoupdater.plist 3rd-Party support link
              [System]          com.lexmark.hostregister.plist 3rd-Party support link
    User Launch Agents:
              [not loaded]          com.adobe.ARM.[...].plist 3rd-Party support link
              [not loaded]          com.adobe.ARM.[...].plist 3rd-Party support link
              [not loaded]          com.facebook.videochat.[redacted].plist 3rd-Party support link
    User Login Items:
              iTunesHelper
              Microsoft AU Daemon
              AdobeResourceSynchronizer
              MainMenu
              Adobe Updater
              Google Drive
              Android File Transfer Agent
              Google Chrome
    Internet Plug-ins:
              o1dbrowserplugin: Version: 5.2.4.18058 3rd-Party support link
              ebrary Reader: Version: 2.22 - 1/26/10 3rd-Party support link
              Flip4Mac WMV Plugin: Version: 2.3.8.1 3rd-Party support link
              AdobePDFViewerNPAPI: Version: 11.0.0 - SDK 10.6 3rd-Party support link
              FlashPlayer-10.6: Version: 12.0.0.77 - SDK 10.6 3rd-Party support link
              DivXBrowserPlugin: Version: 2.0 3rd-Party support link
              Silverlight: Version: 5.1.20913.0 - SDK 10.6 3rd-Party support link
              Flash Player: Version: 12.0.0.77 - SDK 10.6 3rd-Party support link
              iPhotoPhotocast: Version: 7.0
              googletalkbrowserplugin: Version: 5.2.4.18058 3rd-Party support link
              QuickTime Plugin: Version: 7.6.6
              AdobePDFViewer: Version: 11.0.0 - SDK 10.6 3rd-Party support link
              Scorch: Version: 5.2.5 3rd-Party support link
              DirectorShockwave: Version: 11.6.8r638 3rd-Party support link
    iTunes Plug-ins:
              Quartz Composer Visualizer: Version: 1.2
    User Internet Plug-ins:
              fbplugin_1_0_3: Version: (null) 3rd-Party support link
    3rd Party Preference Panes:
              Adobe Version Cue CS3  3rd-Party support link
              Fan Control  3rd-Party support link
              Flash Player  3rd-Party support link
              Flip4Mac WMV  3rd-Party support link
              Growl  3rd-Party support link
    Old Applications:
              None
    Time Machine:
              Time Machine information requires OS X 10.7 "Lion" or later.
    Top Processes by CPU:
                   2%          EtreCheck
                   1%          WindowServer
                   0%          FanControlDaemon
                   0%          Google Chrome
                   0%          Google Drive
    Top Processes by Memory:
              92 MB          Google Chrome
              84 MB          mds
              59 MB          Google Drive
              43 MB          EtreCheck
              41 MB          WindowServer
    Virtual Memory Information:
              768 MB          Free RAM
              770 MB          Active RAM
              260 MB          Inactive RAM
              249 MB          Wired RAM
              415 MB          Page-ins
              0 B          Page-outs

                        Macintosh HD (disk0s2) / [Startup]: 185.99 GB (3.6 GB free) (Low!)
    You have to increase the Disk Storage Space available.
    Click  in the menu bar.
    About This Mac > More Info.. > System Report
    Click the “Storage” tab at top for info about storage.
    Try these tips.
    1. Start up in Safe Mode.
        http://support.apple.com/kb/PH11212
    2. Empty Trash.
        http://support.apple.com/kb/PH10677
    3. Delete "Recovered Messages", if any.
        Hold the option key down and click "Go" menu in the Finder menu bar.
        Select "Library" from the dropdown.
        Library > Mail > V2 > Mailboxes
        Delete "Recovered Messages", if any.
        Empty Trash. Restart.
    4. Repair Disk
        Steps 1 through 7
        http://support.apple.com/kb/PH5836
    5. Disk space / Time Machine ?/ Local Snapshots
      Local backups
       http://support.apple.com/kb/ht4878
    6. Delete old iOS Devices Backup.
        iTunes > Preferences > Devices
        Highlight the old Backups , press “Delete Backup” and then “OK”.
        http://support.apple.com/kb/HT4946?viewlocale=en_US&locale=en_US
    7. Re-index Macintosh HD
       System Preferences > Spotlight > Privacy
       http://support.apple.com/kb/ht2409

  • Query runs much slower the second time!

    I am doing a simple SELECT on a fairly complex view:
    select * from balances where day = date'2011-08-15';The results are correct, and they arrive in about 3 seconds. However, immediately repeating the exact same query takes about 3 minutes!
    Using a different SELECT list and/or WHERE clause gives a quick result, but only once; repeating any past query triggers the big slowdown.
    Doing ANALYZE TABLE on any of the tables involved in the view seems to reset things and the queries become fast again, but still only once for each specific query.
    This view worked fine on 9i and has only started doing this since we moved to 11g.
    Weird, eh?

    Here's EXPLAIN PLAN, which is the same before the fast query, before the slow query, and after the slow query.
    | Id  | Operation                         | Name                  | Rows  | Bytes |TempSpc| Cost (%CPU)| Time     |
    |   0 | SELECT STATEMENT                  |                       |   184K|    11M|       |   364K  (1)| 01:12:52 |
    |   1 |  HASH GROUP BY                    |                       |   184K|    11M|    13M|   364K  (1)| 01:12:52 |
    |*  2 |   FILTER                          |                       |       |       |       |            |          |
    |   3 |    NESTED LOOPS OUTER             |                       |   184K|    11M|       |   361K  (1)| 01:12:17 |
    |   4 |     NESTED LOOPS                  |                       |  3071 | 82917 |       |    27   (0)| 00:00:01 |
    |   5 |      TABLE ACCESS BY INDEX ROWID  | GL_DAYS               |     1 |    12 |       |     2   (0)| 00:00:01 |
    |*  6 |       INDEX UNIQUE SCAN           | GL_DAYS_DAY           |     1 |       |       |     1   (0)| 00:00:01 |
    |*  7 |      TABLE ACCESS FULL            | GL_ACCOUNTS           |  3071 | 46065 |       |    25   (0)| 00:00:01 |
    |   8 |     VIEW                          |                       |    60 |  2340 |       |   118   (0)| 00:00:02 |
    |*  9 |      FILTER                       |                       |       |       |       |            |          |
    |* 10 |       TABLE ACCESS BY INDEX ROWID | GL_ENTRIES            |    60 |  1380 |       |    28   (0)| 00:00:01 |
    |* 11 |        INDEX RANGE SCAN           | GL_ENTRIES_BY_ACCOUNT |    46 |       |       |     2   (0)| 00:00:01 |
    |  12 |       NESTED LOOPS                |                       |     1 |    15 |       |     3   (0)| 00:00:01 |
    |  13 |        TABLE ACCESS BY INDEX ROWID| GL_VOUCHERS           |     1 |     7 |       |     2   (0)| 00:00:01 |
    |* 14 |         INDEX UNIQUE SCAN         | GL_VOUCHERS_PK        |     1 |       |       |     1   (0)| 00:00:01 |
    |* 15 |        TABLE ACCESS BY INDEX ROWID| GL_PERIODS            |   104 |   832 |       |     1   (0)| 00:00:01 |
    |* 16 |         INDEX UNIQUE SCAN         | GL_PERIODS_PK         |     1 |       |       |     0   (0)| 00:00:01 |
    Predicate Information (identified by operation id):
       2 - filter(TO_DATE(' 2011-08-15 00:00:00', 'syyyy-mm-dd hh24:mi:ss')<CURRENT_DATE+730)
       6 - access("D"."DAY"=TO_DATE(' 2011-08-15 00:00:00', 'syyyy-mm-dd hh24:mi:ss'))
           filter("D"."DAY"<CURRENT_DATE+730)
       7 - filter("A"."HAS_SUB"=0)
       9 - filter("D"."FISCAL_YEAR"= (SELECT "P"."FISCAL_YEAR" FROM MFA4."GL_PERIODS" "P",MFA4."GL_VOUCHERS"
                  "V" WHERE "V"."ID"=:B1 AND "P"."ID"="V"."PERIOD_ID" AND "P"."PERIOD_NO"<13))
      10 - filter("E"."ENTRY_DATE"<="D"."DAY")
      11 - access("E"."ACCOUNT_ID"="A"."ID")
      14 - access("V"."ID"=:B1)
      15 - filter("P"."PERIOD_NO"<13)
      16 - access("P"."ID"="V"."PERIOD_ID")As for the trace file, did you want the raw .trc file or the tkprof output?

  • Running real slow

    My mac Book Pro has starting running realling slow. Any thoughts?

    OS X Mavericks: If your Mac runs slowly?
    http://support.apple.com/kb/PH13895
    Startup in Safe Mode
    http://support.apple.com/kb/PH14204
    Repair Disk
    Steps 1 through 7
    http://support.apple.com/kb/PH5836
    Reset SMC.     http://support.apple.com/kb/HT3964
    Choose the method for:
    "Resetting SMC on portables with a battery you should not remove on your own".
    Increase disk space.
    http://support.apple.com/kb/PH13806
    Run Etrecheck and look for  and  remove third party apps that  may slow down the computer.
    https://discussions.apple.com/docs/DOC-6173

  • Foxfire is running real slow and and any search I do it says problem loading page.

    when I get on internet it is real, real slow. but it does pull up aol.com my homepage. but then when i try to search even websites i visit regularly it says there is a problem loading the page.

    A possible cause is security software (firewall,anti-virus) that blocks or restricts Firefox or the plugin-container process without informing you, possibly after detecting changes (update) to the Firefox program.
    Remove all rules for Firefox and the plugin-container from the permissions list in the firewall and let your firewall ask again for permission to get full unrestricted access to internet for Firefox and the plugin-container process and the updater process.
    See:
    *https://support.mozilla.org/kb/Server+not+found
    *https://support.mozilla.org/kb/Firewalls
    *http://kb.mozillazine.org/Error_loading_websites
    You can try to reset (power off/on) the router.

  • SQL Query running really slow, any help in improving will be Great!

    Hi,
    I am really new to this performance tuning and optimization techniques. Explain plan also, I only have theoretical knowledge, no clues on how to find out the real issue which is making the query slow..So if anyone can give me a good direction on where to start even, it will be great..
    Now, my issue is, I have a query which runs really really slow. If I run this query for a small subset of data, it runs fast(Its flying, actually..) but if I give the same query for everything(Full required data), its running for ages..(Actually it is running for 2 days now and still running.)
    I am pasting my query here, the output shows that the query stucks after "Table created"
    SQL> @routinginfo
    Table dropped.
    Table created.
    Please please help!
    I also ran explain plan for this query and there are a number of rows in the plan_table now..
    SORRY!IS there a way to insert a file here, as I want to attach my explain plan also?
    My query -Routinginfo.sql
    set trimspool on
    set heading on
    set verify on
    set serveroutput on
    drop table routinginfo;
    CREATE TABLE routinginfo
    ( POST_TOWN_NAME        VARCHAR2(22 BYTE),
      DELIVERY_OFFICE_NAME  VARCHAR2(40 BYTE),
      ROUTE_ID              NUMBER(10),
      ROUTE_NAME            VARCHAR2(40 BYTE),
      BUILDING_ID           NUMBER(10),
      SUB_BUILDING_ID       NUMBER(10),
      SEQUENCE_NO           NUMBER(4),
      PERSONAL_NAME         VARCHAR2(60 BYTE),
      ADDRESS               VARCHAR2(1004 BYTE),
      BUILDING_USE          VARCHAR2(1 BYTE),
      COMMENTS              VARCHAR2(200 BYTE),
      EAST                  NUMBER(17,5),
      NORTH                 NUMBER(17,5)
    insert into routinginfo
    (post_town_name,delivery_office_name,route_id,route_name,
    building_id,sub_building_id,sequence_no,personal_name,
    address,building_use,comments,east,north)
    select
       p.name,
       d.name,
      b.route_id,
      r.name,
      b.building_id,
      s.sub_build_id,
      b.sequence_no,
      b.personal_name,
      ad.addr_line_1||' '||ad.addr_line_2||' '||ad.addr_line_3||' '||ad.addr_line_4||' '||ad.addr_line_5,
      b.building_use,
      rtrim(replace(b.comments,chr(10),'')),
      b.east,
      b.north
    from t_buildings b,
         (select * from t_sub_buildings where nvl(invalid,'N') = 'N') s,
         t_routes r,
         t_delivery_offices d,
         t_post_towns p,
         t_address_model ad
    where b.building_id = s.building_id(+)
    and   s.building_id is null
    and   r.route_id=b.route_id
    and   (nvl(b.residential_delivery_points,0) > 0 OR nvl(b.commercial_delivery_points,0) > 0)
    and   r.delivery_office_id=d.delivery_office_id
    --and   r.delivery_office_id=303
    and   D.POST_TOWN_ID=P.post_town_id
    and   ad.building_id=b.building_id
    and   ad.sub_building_id is null
    and   nvl(b.invalid, 'N') = 'N'
    and   nvl(b.derelict, 'N') = 'N'
    union
    select
    p.name,
    d.name ,
      b.route_id ,
      r.name ,
      b.building_id ,
      s.sub_build_id ,
      NVL(s.sequence_no,b.sequence_no),
      b.personal_name ,
      ad.addr_line_1||' '||ad.addr_line_2||' '||ad.addr_line_3||' '||ad.addr_line_4||' '||ad.addr_line_5,
      b.building_use,
      rtrim(replace(b.comments,chr(10),'')),
      b.east,
      b.north
    from t_buildings b,
         (select * from t_sub_buildings where nvl(invalid,'N') = 'N') s,
         t_routes r,
         t_delivery_offices d,
         t_post_towns p,
         t_address_model ad
    where s.building_id = b.building_id
    and   r.route_id = s.route_id
    and   (nvl(b.residential_delivery_points,0) > 0 OR nvl(b.commercial_delivery_points,0) > 0)
    and   r.delivery_office_id=d.delivery_office_id
    --and   r.delivery_office_id=303
    and   D.POST_TOWN_ID=P.post_town_id
    and   ad.building_id=b.building_id
    and   ad.sub_building_id = s.sub_build_id
    and   nvl(b.invalid, 'N') = 'N'
    and   nvl(b.derelict, 'N') = 'N'
    union
    select
    p.name,
    d.name,
      b.route_id ,
      r.name ,
      b.building_id,
      s.sub_build_id  ,
      NVL(s.sequence_no,b.sequence_no) ,
      b.personal_name ,
      ad.addr_line_1||' '||ad.addr_line_2||' '||ad.addr_line_3||' '||ad.addr_line_4||' '||ad.addr_line_5 ,
      b.building_use,
      rtrim(replace(b.comments,chr(10),'')),
      b.east,
      b.north
    from t_buildings b,
         (select * from t_sub_buildings where nvl(invalid,'N') = 'N') s,
         t_routes r,
         t_delivery_offices d,
         t_post_towns p,
         t_localities l,
         t_localities lo,
         t_localities loc,
         t_tlands tl,
         t_address_model ad
    where s.building_id = b.building_id
    and   s.route_id is null
    and   r.route_id = b.route_id
    and   (nvl(b.residential_delivery_points,0) > 0 OR nvl(b.commercial_delivery_points,0) > 0)
    and   r.delivery_office_id=d.delivery_office_id
    --and   r.delivery_office_id=303
    and   D.POST_TOWN_ID=P.post_town_id
    and   ad.building_id=b.building_id
    and   ad.sub_building_id = s.sub_build_id
    and   nvl(b.invalid, 'N') = 'N'
    and   nvl(b.derelict, 'N') = 'N';
    commit; Edited by: Krithi on 16-Jun-2009 01:48
    Edited by: Krithi on 16-Jun-2009 01:51
    Edited by: Krithi on 16-Jun-2009 02:44

    This link is helpful alright..but as a beginner, it is taking me too long to understand..But I am going to learn the techniques for sure..
    Fo the time being,I am pasting my explain plan for the above query here, so that I hope any expert can really help me on this one..
    STATEMENT_ID     TIMESTAMP     REMARKS     OPERATION     OPTIONS     OBJECT_NODE     OBJECT_OWNER     OBJECT_NAME     OBJECT_INSTANCE     OBJECT_TYPE     OPTIMIZER     SEARCH_COLUMNS     ID     PARENT_ID     POSITION     COST     CARDINALITY     BYTES
         06/16/2009 09:33:01          SELECT STATEMENT                                   CHOOSE          0          829,387,159,200     829,387,159,200     3,720,524,291,654,720     703,179,091,122,042,000
         06/16/2009 09:33:01          SORT     UNIQUE                                        1     0     1     829,387,159,200     3,720,524,291,654,720     703,179,091,122,042,000
         06/16/2009 09:33:01          UNION-ALL                                             2     1     1               
         06/16/2009 09:33:01          HASH JOIN                                             3     2     1     11,209     87,591     15,853,971
         06/16/2009 09:33:01          FILTER                                             4     3     1               
         06/16/2009 09:33:01          HASH JOIN     OUTER                                        5     4     1               
         06/16/2009 09:33:01          HASH JOIN                                             6     5     1     5,299     59,325     6,585,075
         06/16/2009 09:33:01          VIEW               GEO2     index$_join$_006     6                    7     6     1     4     128     1,792
         06/16/2009 09:33:01          HASH JOIN                                             8     7     1     5,299     59,325     6,585,075
         06/16/2009 09:33:01          INDEX     FAST FULL SCAN          GEO2     POST_TOWN_NAME_I          NON-UNIQUE     ANALYZED          9     8     1     1     128     1,792
         06/16/2009 09:33:01          INDEX     FAST FULL SCAN          GEO2     POST_TOWN_PK          UNIQUE     ANALYZED          10     8     2     1     128     1,792
         06/16/2009 09:33:01          HASH JOIN                                             11     6     2     5,294     59,325     5,754,525
         06/16/2009 09:33:01          TABLE ACCESS     FULL          GEO2     T_DELIVERY_OFFICES     5          ANALYZED          12     11     1     7     586     10,548
         06/16/2009 09:33:01          HASH JOIN                                             13     11     2     5,284     59,325     4,686,675
         06/16/2009 09:33:01          TABLE ACCESS     FULL          GEO2     T_ROUTES     4          ANALYZED          14     13     1     7     4,247     118,916
         06/16/2009 09:33:01          TABLE ACCESS     FULL          GEO2     T_BUILDINGS     1          ANALYZED          15     13     2     5,265     59,408     3,029,808
         06/16/2009 09:33:01          TABLE ACCESS     FULL          GEO2     T_SUB_BUILDINGS     3          ANALYZED          16     5     2     851     278,442     3,898,188
         06/16/2009 09:33:01          TABLE ACCESS     FULL          GEO2     T_ADDRESS_MODEL     7          ANALYZED          17     3     2     3,034     1,582,421     88,615,576
         06/16/2009 09:33:01          NESTED LOOPS                                             18     2     2     10,217     1     189
         06/16/2009 09:33:01          NESTED LOOPS                                             19     18     1     10,216     1     175
         06/16/2009 09:33:01          HASH JOIN                                             20     19     1     10,215     1     157
         06/16/2009 09:33:01          HASH JOIN                                             21     20     1     6,467     80,873     8,168,173
         06/16/2009 09:33:01          TABLE ACCESS     FULL          GEO2     T_ROUTES     11          ANALYZED          22     21     1     7     4,247     118,916
         06/16/2009 09:33:01          HASH JOIN                                             23     21     2     6,440     80,924     5,907,452
         06/16/2009 09:33:01          TABLE ACCESS     FULL          GEO2     T_BUILDINGS     8          ANALYZED          24     23     1     5,265     59,408     3,029,808
         06/16/2009 09:33:01          TABLE ACCESS     FULL          GEO2     T_SUB_BUILDINGS     10          ANALYZED          25     23     2     851     278,442     6,125,724
         06/16/2009 09:33:01          TABLE ACCESS     FULL          GEO2     T_ADDRESS_MODEL     14          ANALYZED          26     20     2     3,034     556,000     31,136,000
         06/16/2009 09:33:01          TABLE ACCESS     BY INDEX ROWID          GEO2     T_DELIVERY_OFFICES     12          ANALYZED          27     19     2     1     1     18
         06/16/2009 09:33:01          INDEX     UNIQUE SCAN          GEO2     DELIVERY_OFFICE_PK          UNIQUE     ANALYZED     1     28     27     1          1     
         06/16/2009 09:33:01          TABLE ACCESS     BY INDEX ROWID          GEO2     T_POST_TOWNS     13          ANALYZED          29     18     2     1     1     14
         06/16/2009 09:33:01          INDEX     UNIQUE SCAN          GEO2     POST_TOWN_PK          UNIQUE     ANALYZED     1     30     29     1          1     
         06/16/2009 09:33:01          MERGE JOIN     CARTESIAN                                        31     2     3     806,976,583,802     3,720,524,291,567,130     703,179,091,106,188,000
         06/16/2009 09:33:01          MERGE JOIN     CARTESIAN                                        32     31     1     16,902,296     73,359,971,046     13,865,034,527,694
         06/16/2009 09:33:01          MERGE JOIN     CARTESIAN                                        33     32     1     1,860     1,207,174     228,155,886
         06/16/2009 09:33:01          MERGE JOIN     CARTESIAN                                        34     33     1     1,580     20     3,780
         06/16/2009 09:33:01          NESTED LOOPS                                             35     34     1     1,566     1     189
         06/16/2009 09:33:01          NESTED LOOPS                                             36     35     1     1,565     1     175
         06/16/2009 09:33:01          NESTED LOOPS                                             37     36     1     1,564     1     157
         06/16/2009 09:33:01          NESTED LOOPS                                             38     37     1     1,563     1     129
         06/16/2009 09:33:01          NESTED LOOPS                                             39     38     1     1,207     178     12,994
         06/16/2009 09:33:01          TABLE ACCESS     FULL          GEO2     T_SUB_BUILDINGS     17          ANALYZED          40     39     1     851     178     3,916
         06/16/2009 09:33:01          TABLE ACCESS     BY INDEX ROWID          GEO2     T_BUILDINGS     15          ANALYZED          41     39     2     2     1     51
         06/16/2009 09:33:01          INDEX     UNIQUE SCAN          GEO2     BUILDING_PK          UNIQUE     ANALYZED     1     42     41     1     1     31     
         06/16/2009 09:33:01          TABLE ACCESS     BY INDEX ROWID          GEO2     T_ADDRESS_MODEL     25          ANALYZED          43     38     2     2     1     56
         06/16/2009 09:33:01          INDEX     UNIQUE SCAN          GEO2     MODEL_MODEL2_UK          UNIQUE     ANALYZED     2     44     43     1     1     1     
         06/16/2009 09:33:01          TABLE ACCESS     BY INDEX ROWID          GEO2     T_ROUTES     18          ANALYZED          45     37     2     1     1     28
         06/16/2009 09:33:01          INDEX     UNIQUE SCAN          GEO2     ROUTE_PK          UNIQUE     ANALYZED     1     46     45     1          1     
         06/16/2009 09:33:01          TABLE ACCESS     BY INDEX ROWID          GEO2     T_DELIVERY_OFFICES     19          ANALYZED          47     36     2     1     1     18
         06/16/2009 09:33:01          INDEX     UNIQUE SCAN          GEO2     DELIVERY_OFFICE_PK          UNIQUE     ANALYZED     1     48     47     1          1     
         06/16/2009 09:33:01          TABLE ACCESS     BY INDEX ROWID          GEO2     T_POST_TOWNS     20          ANALYZED          49     35     2     1     1     14
         06/16/2009 09:33:01          INDEX     UNIQUE SCAN          GEO2     POST_TOWN_PK          UNIQUE     ANALYZED     1     50     49     1          1     
         06/16/2009 09:33:01          BUFFER     SORT                                        51     34     2     1,579     60,770     
         06/16/2009 09:33:01          INDEX     FAST FULL SCAN          GEO2     LOCAL_COUNTY_FK_I          NON-UNIQUE     ANALYZED          52     51     1     14     60,770     
         06/16/2009 09:33:01          BUFFER     SORT                                        53     33     2     1,846     60,770     
         06/16/2009 09:33:01          INDEX     FAST FULL SCAN          GEO2     LOCAL_COUNTY_FK_I          NON-UNIQUE     ANALYZED          54     53     1     14     60,770     
         06/16/2009 09:33:01          BUFFER     SORT                                        55     32     2     16,902,282     60,770     
         06/16/2009 09:33:01          INDEX     FAST FULL SCAN          GEO2     LOCAL_COUNTY_FK_I          NON-UNIQUE     ANALYZED          56     55     1     14     60,770     
         06/16/2009 09:33:01          BUFFER     SORT                                        57     31     2     806,976,583,788     50,716     
         06/16/2009 09:33:01          INDEX     FAST FULL SCAN          GEO2     TLAND_COUNTY_FK_I          NON-UNIQUE     ANALYZED          58     57     1     11     50,716      -------------------------------------------------------------
    Edited by: Krithi on 16-Jun-2009 02:47

Maybe you are looking for

  • Vendor and customer report

    Is there any report which shows how much has been paid to vendors during a month and similarly received from the customers during the month?

  • Standard and Detailed Profitability

    Hello Gurus I am a newbie in HPCM. I am aware that there are standard and detailed HPCM available, standard HPCM uses Essbase while detailed HPCM uses a relational database. What are the Pros and Cons and major differences for these two? Thank you ve

  • JAXBContext and unmarshaling xml document to a class that came from a jar.

    I'm trying to unmarshal, code:                try {                     JAXBContext jc = JAXBContext.newInstance(clazz);                     Unmarshaller m = jc.createUnmarshaller();                     Document doc = XmlUtils.createDom(body);       

  • Font problems after 10.6.7

    I'm getting lots of strange behaviour relating to fonts since updating to 10.6.7. This is all in things that used to work perfectly. PostScript output causes errors in Distiller (problems in font definitions); and manipulating PDF objects can cause e

  • Variant to Data question

    This is a LV6.1 question. For an application I'm debugging, flatten data is being used on a menu ring control. The menu ring data is unflattened using Variant to Data. What I get back from the unflatten process is the numeric value of the menu rings