How to tune gc cr block 2-way and gc current grant 2-way

Hi,
I'm working on an Oracle Database 11g Release 11.1.0.6.0 - 64bit Production With the Real Application Clusters option, Standard Edition.
During last days I'm suffering performance lack due to 2 main wait event classes:
gc cr block 2-way
gc current grant 2-way
I noticed also this one:
gc buffer busy acquire
Do you have any suggestion on how to check and tune my RAC to reduce those wait events?
Any usefull link?
Thanks in advance,
Samuel
Edited by: Samuel Rabini on Mar 30, 2012 2:39 PM

Hi;
Please check below which could be helpful for your issue:
RAC Database Running Slow to Hang With High Cluster Wait Due to Small Buffer Cache [ID 1280889.1]
Regard
Helios

Similar Messages

  • How do I center a block both vertically and horizontally?

    I just figure out that if you set the left and right margins
    to auto, the
    block will centre horizontally in the viewport, but how do I
    do it for the
    top and bottom?
    Thank you for your help,
    Ricardo

    http://www.apptools.com/examples/tableheight.php
    Shane H
    [email protected]
    http://www.avenuedesigners.com
    "Ricardo" <[email protected]> wrote in message
    news:e38h53$afl$[email protected]..
    >I just figure out that if you set the left and right
    margins to auto, the
    >block will centre horizontally in the viewport, but how
    do I do it for the
    >top and bottom?
    >
    > Thank you for your help,
    > Ricardo
    >

  • How can i get difference in base plan and actual/current plan for a project

    Hi PS Experts,
    How can i get difference in base plan and actual plan .
    For example-
    Project1 is created for 10 days (start and end date difference).
    Now in between -project is extended/changed for 12 days .
    What is the way to get 2 days as a difference in base plan and current plan.
    Thanks
    Suraj prakash

    Hi Suraj,
    You can follow a convention that -
    (1) Forecast Start/Finish dates: Used only for Primary planning, once initial planning is done you should not change these dates.
    Now, you will copy the same dates in Basic Start/Finish dates also.
    (2) Basic Start/Finish dates: Whatever changes are done after the initial planning, you will make the changes only in Basic Start/Finish dates.
    So, in Project Planning board, if you enable Forecast and Basic dates with different color coding, you can clearly see the variation in the Project schedule.
    Hope this helps.

  • How to tune this SQL?

    What this SQL did is to generate a report like how many rows for each tp_stts when ims_toms_msge_type='TOMS NEW' (or 'TOMS CNCLO'). also, its corresponding total number for each ims_toms_msge_type.
    Here is the sample:
    Rownum    H1            TP_STTS                          COUNT        IMS_TOMS_MSGE_TYPE    H   FILTERTYPE
    1     Trades     Block Key Data Error                      594           TOMS NEW             A     MSL
    2          Allocation Data Error                      334           TOMS NEW             A     MSL
    3          Manual Processing Required                29           TOMS NEW             A      MSL
    4          Manual Removal No Processing Required     67           TOMS NEW             A      MSL
    5          Waiting For Authorization                 2            TOMS NEW             A     MSL
    6           Auto NAK                             19764          TOMS NEW             B     SLS
    7           Validated                             165023         TOMS NEW             B     SLS
    8     GRAND TOTAL                                    185813          TOMS NEW              H     MSL
    9     Cancel     Auto NAK                              37             TOMS CNCLO        X       MSL
    10          Manual Processing Required   114                    TOMS CNCLO          X      MSL
    11          Manually Processed              278                   TOMS CNCLO     X     MSL
    12     CANCEL GRAND TOTAL                        429                TOMS CNCLO           Z      MSLSQL statement as below:
    SELECT ROWNUM, MSGS.* FROM (with FTMReport as (
           select tp_stts, ims_toms_msge_type, count(*) count  from ims_trde, ims_toms_msge
                    where  ( IMS_TRDE.PRCSG_GRP_ID  = 5  )  AND  ( IMS_TRDE.IMS_TRDE_RCPT_DTTM  >= TO_DATE('12/01/2009 00:00', 'MM/DD/YYYY HH24:MI') AND IMS_TRDE.IMS_TRDE_RCPT_DTTM <= (TO_DATE('12/28/2009 23:59', 'MM/DD/YYYY HH24:MI'))  )  AND (IMS_TRDE.GRS_TRX_TYPE NOT IN ('INJECTION','WITHDRAWAL','PAYMENT') OR IMS_TRDE.GRS_TRX_TYPE IS NULL) AND (IMS_TRDE.SSC_INVST_TYPE != 'FC' OR IMS_TRDE.SSC_INVST_TYPE IS NULL) AND (IMS_TRDE.SERVICE_TYPE='FS' OR IMS_TRDE.SERVICE_TYPE='CO')  AND 1=1 
        and IMS_TRDE.SERVICE_TYPE='FS'    and  1=1  and ims_trde.ims_trde_oid = ims_toms_msge.ims_trde_oid
           group by tp_stts, ims_toms_msge_type
          select 'GRAND TOTAL' H1,  null tp_stts, sum(Count) count , ims_toms_msge_type ,'H', 'MSL' FilterType
                   from FTMReport  where  ims_toms_msge_type in ('TOMS NEW') group by ims_toms_msge_type
        union
          select 'CANCEL GRAND TOTAL' H1,  null tp_stts, sum(Count) count, ims_toms_msge_type ,'Z', 'MSL' FilterType 
                   from FTMReport where  ims_toms_msge_type in ('TOMS CNCLO') group by ims_toms_msge_type
        union
          select DECODE(rownum, 1, 'Trades') H1, tp_stts, count, ims_toms_msge_type , 'A' , 'MSL' FilterType
                   from FTMReport  where  ims_toms_msge_type in ('TOMS NEW') and tp_stts not in ('Validated','Auto NAK','Manual NAK')
        union
          select ' ' H1, tp_stts, count, ims_toms_msge_type , 'B' , 'SLS' FilterType
                   from FTMReport where  ims_toms_msge_type in ('TOMS NEW') and tp_stts in ('Validated','Auto NAK','Manual NAK')
        union
          select DECODE(rownum, 1, 'Cancel') H1, tp_stts, count, ims_toms_msge_type , 'X' , 'MSL' FilterType
                   from FTMReport where  ims_toms_msge_type in ('TOMS CNCLO') order by 5,6
        ) MSGS;Explain plan as below:
    | Id  | Operation                           |  Name                        | Rows  | Bytes | Cost  |
    |   0 | SELECT STATEMENT                    |                              |   193 | 12738 |    32 |
    |   1 |  COUNT                              |                              |       |       |       |
    |   2 |   VIEW                              |                              |   193 | 12738 |    32 |
    |   4 |    TEMP TABLE TRANSFORMATION        |                              |       |       |       |
    |   3 |     RECURSIVE EXECUTION             | SYS_LE_4_0                   |       |       |       |
    |   0 |      INSERT STATEMENT               |                              |    61 |  4575 |  9264 |
    |   1 |       LOAD AS SELECT                |                              |       |       |       |
    |   2 |        SORT GROUP BY                |                              |    61 |  4575 |  9264 |
    |   3 |         NESTED LOOPS                |                              |  1604 |   117K|  9251 |
    |*  4 |          TABLE ACCESS BY INDEX ROWID| IMS_TRDE                     |  1603 | 80150 |  6045 |
    |*  5 |           INDEX RANGE SCAN          | IMS_TRDE_INDX4               |   539K|       |  3917 |
    |*  6 |          INDEX RANGE SCAN           | IMS_TOMS_MSGE_INDX1          |     1 |    25 |     2 |
    |   5 |     SORT UNIQUE                     |                              |   193 |  8831 |    30 |
    |   6 |      UNION-ALL                      |                              |       |       |       |
    |   7 |       SORT GROUP BY NOSORT          |                              |     5 |   115 |     6 |
    |*  8 |        VIEW                         |                              |    61 |  1403 |     2 |
    |   9 |         TABLE ACCESS FULL           | SYS_TEMP_0FD9D660F_B198D56F  |    61 |  2074 |     2 |
    |  10 |       SORT GROUP BY NOSORT          |                              |     5 |   115 |     6 |
    |* 11 |        VIEW                         |                              |    61 |  1403 |     2 |
    |  12 |         TABLE ACCESS FULL           | SYS_TEMP_0FD9D660F_B198D56F  |    61 |  2074 |     2 |
    |  13 |       COUNT                         |                              |       |       |       |
    |* 14 |        VIEW                         |                              |    61 |  2867 |     2 |
    |  15 |         TABLE ACCESS FULL           | SYS_TEMP_0FD9D660F_B198D56F  |    61 |  2074 |     2 |
    |* 16 |       VIEW                          |                              |    61 |  2867 |     2 |
    |  17 |        TABLE ACCESS FULL            | SYS_TEMP_0FD9D660F_B198D56F  |    61 |  2074 |     2 |
    |  18 |       COUNT                         |                              |       |       |       |
    |* 19 |        VIEW                         |                              |    61 |  2867 |     2 |
    |  20 |         TABLE ACCESS FULL           | SYS_TEMP_0FD9D660F_B198D56F  |    61 |  2074 |     2 |
    Predicate Information (identified by operation id):
       4 - filter(("IMS_TRDE"."GRS_TRX_TYPE"<>'INJECTION' AND "IMS_TRDE"."GRS_TRX_TYPE"<>'WITHDRAWAL'
                  AND "IMS_TRDE"."GRS_TRX_TYPE"<>'PAYMENT' OR "IMS_TRDE"."GRS_TRX_TYPE" IS NULL) AND
                  ("IMS_TRDE"."SSC_INVST_TYPE"<>'FC' OR "IMS_TRDE"."SSC_INVST_TYPE" IS NULL))
       5 - access("IMS_TRDE"."IMS_TRDE_RCPT_DTTM">=TO_DATE(' 2009-12-01 00:00:00', 'syyyy-mm-dd
                  hh24:mi:ss') AND "IMS_TRDE"."PRCSG_GRP_ID"=5 AND "IMS_TRDE"."SERVICE_TYPE"='FS' AND
                  "IMS_TRDE"."IMS_TRDE_RCPT_DTTM"<=TO_DATE(' 2009-12-28 23:59:00', 'syyyy-mm-dd hh24:mi:ss'))
           filter("IMS_TRDE"."PRCSG_GRP_ID"=5 AND "IMS_TRDE"."SERVICE_TYPE"='FS')
       6 - access("IMS_TRDE"."IMS_TRDE_OID"="IMS_TOMS_MSGE"."IMS_TRDE_OID")
       8 - filter("FTMREPORT"."IMS_TOMS_MSGE_TYPE"='TOMS NEW')
      11 - filter("FTMREPORT"."IMS_TOMS_MSGE_TYPE"='TOMS CNCLO')
      14 - filter("FTMREPORT"."IMS_TOMS_MSGE_TYPE"='TOMS NEW' AND "FTMREPORT"."TP_STTS"<>'Validated'
                  AND "FTMREPORT"."TP_STTS"<>'Auto NAK' AND "FTMREPORT"."TP_STTS"<>'Manual NAK')
      16 - filter("FTMREPORT"."IMS_TOMS_MSGE_TYPE"='TOMS NEW' AND ("FTMREPORT"."TP_STTS"='Auto NAK' OR
                  "FTMREPORT"."TP_STTS"='Manual NAK' OR "FTMREPORT"."TP_STTS"='Validated'))
      19 - filter("FTMREPORT"."IMS_TOMS_MSGE_TYPE"='TOMS CNCLO')
    Note: cpu costing is offCould you guys tell me what is wrong with this sql and how to tune it?
    Is there any way to replace the UNION? Is using UNION a good idea?
    Can I use DECODE or CASE WHEN to simplify it? How?
    Also, could you help explain why there is SYS_LE_4_0, SYS_TEMP_0FD9D660F_B198D56F temporary segment? Is it caused by with FTMReport as ?
    Thanks
    Edited by: PhoenixBai on Dec 31, 2009 9:58 AM
    Edited by: PhoenixBai on Dec 31, 2009 12:08 PM
    Edited by: PhoenixBai on Dec 31, 2009 12:17 PM

    I consider using GROUP BY ROLLUP together with DECODE, CASE WHEN, but haven`t come out with a working sql yet:-(Some sample data to work with would have been much helpful. But we dont get that most of the time :(
    I came up with this.
                    select case when ims_toms_msge_type = 'TOMS NEW' then
                                     case when grouping(tp_stts) = 1 then 'GRAND TOTAL'
                                          when tp_stts not in ('Validated','Auto NAK','Manual NAK') then 'Trades'
                                     end
                                when ims_toms_msge_type = 'TOMS CNCLO' then
                                     case when grouping(tp_stts) = 1 then 'CANCEL GRAND TOTAL'
                                          when tp_stts in ('Validated','Auto NAK','Manual NAK') then 'Cancel'
                                     end
                           end h1,
                           tp_stts,
                           count(*) count,
                           ims_toms_msge_type,
                           case when ims_toms_msge_type = 'TOMS NEW' then
                                     case when grouping(tp_stts) = 1 then 'H'
                                          when tp_stts not in ('Validated','Auto NAK','Manual NAK') then 'A'
                                     end
                                when ims_toms_msge_type = 'TOMS CNCLO' then
                                     case when grouping(tp_stts) = 1 then 'Z'
                                          when tp_stts in ('Validated','Auto NAK','Manual NAK') then 'B'
                                     end
                           end flag,
                           'MSL' FilterType
                   from ims_trde,
                        ims_toms_msge
                     where IMS_TRDE.PRCSG_GRP_ID  = 5 
                       AND IMS_TRDE.IMS_TRDE_RCPT_DTTM  >= TO_DATE('12/01/2009 00:00', 'MM/DD/YYYY HH24:MI')
                       AND IMS_TRDE.IMS_TRDE_RCPT_DTTM <=  TO_DATE('12/28/2009 23:59', 'MM/DD/YYYY HH24:MI') 
                       AND (IMS_TRDE.GRS_TRX_TYPE NOT IN ('INJECTION','WITHDRAWAL','PAYMENT')
                        OR IMS_TRDE.GRS_TRX_TYPE IS NULL)
                       AND (IMS_TRDE.SSC_INVST_TYPE != 'FC'
                        OR IMS_TRDE.SSC_INVST_TYPE IS NULL)
                       AND (IMS_TRDE.SERVICE_TYPE = 'FS'
                        OR IMS_TRDE.SERVICE_TYPE = 'CO')
                       AND 1=1 
                     and IMS_TRDE.SERVICE_TYPE = 'FS'   
                     and  1=1 
                     and ims_trde.ims_trde_oid = ims_toms_msge.ims_trde_oid
                      group by rollup(ims_toms_msge_type, tp_stts)Not sure if this code works. Because i dint have the table or the data to test it. So if it has some error just fix it and give it a try. Do post the kind of output it gives. So that we can see if we can work with this solution.

  • How do you find your blocked numbers in Contacts or on your iphone?

    How do you find your blocked numbers in Contacts or on your iphone?
    Is there a way to get a list of the blocked numbers?

    Hey jeff work,
    Thanks for using Apple Support Communities.
    This article should be exactly what you are looking for.
    iOS 7: Understanding call and message blocking
    http://support.apple.com/kb/ht5845
    You can review your blocked list through one of the following locations:
    Settings > Phone > Blocked
    Have a nice day,
    Mario

  • How can I interrupt the blocking call when call timeout?

    Hi,Guys
    I wrote an application server(daemon process) to talk with oracle server
    continuous which used oracle9 OCCI lib, each 5 min it executes the procedure
    on the DB server.
    Now I have come cross a problem:
    If the network is blocked, app server will blocked at occi call and would
    never pass, and no exception was catched :-(
    for e.g.
    1. Oracle server reboot without shutdown oracle process
    2. udp broadcast message storm blocked the connection between app server and
    oracle DB.
    I consider maybe it's because OCCI using the blocking mode of connection
    that caused this problem.
    How can I interrupt the blocking call when call timeout?

    Manage the timeout using a separate thread. When the timeout happens, issue a break on the OCCI connection. There is no direct way as of now. You need to do this to break a OCCI connection.
    retrieve the OCI handle from the OCCI handle (e.g. using Connection::getOCIServer or Connection::getOCIServiceContext methods) and issue a OCIBreak on it. Do not forget to allocate a error handle which should be passed to OCIBreak call.

  • How to know the OS block size ?

    Hi all
    I want to know how to get the OS block size of my server ?
    For example if my server is Windows 2000 Professionnal , how can I get the size of my OS block size ?
    Thank you

    One way to find is to right click the drive in Windows Explorer and click Format (Not actually formatting it).
    In the popup window, you would see the "Allocation unit size" for the selected drive. Click "Close" to exit when done.

  • How to tune up/down the lightness of ipod video?

    I just bought my ipod video 30GB, I found it too sharp when playing some video. Anyone know how to tune it?

    hmmmm. unfortunately, i'm not sure there is an easy way to do that:
    iPod with color displays do not have an adjustable contrast setting
    ... does anyone else know of any potential workarounds that c93025 might be able to try?

  • I right clicked on a picture in Facebook and accidentally clicked "Block..." and now I can't see any pictures on Facebook. How do I undo the block?

    I accidently clicked "Block..." on a Facebook photo and now I can't see any pics on FB. How do I undo this block?
    == This happened ==
    Every time Firefox opened
    == yesterday

    Check the image exceptions: Tools > Options > Content: Load Images: Exceptions - See [[Options window - Content panel]]
    A way to see which images are blocked is to click the favicon (''Site Identification'' icon) on the left side of the location bar.
    A click on the "More Information" button will open the Security tab of the "Page Info" window (also accessible via "Tools > Page Info").
    Open the ''Media'' tab of the "Page Info" window.
    Select the first image and scroll down though the list with the Down arrow key.
    If an image in the list is grayed and there is a check-mark in the box "''Block Images from...''" then remove that mark to unblock the images from that domain.
    See also [[Images or animations do not show]] and http://kb.mozillazine.org/Images_or_animations_do_not_load

  • Gc current block 2-way & gc current block 3-way

    Hi All,
    we ran a query paralley in 2 different sessions on a 10.2.0.4 database 3-Node RAC installed on Linux box. In 3rd Node the query executed in 70 seconds but on the second session it was waiting for a long time and we did the trace. We generated the trace for 5 mins alone and we stopped the trace, the trace file shows it is waiting in "gc current block 3-way" and that it is using the object "328952" which is a index that is not used in the EXPLAIN PLAN.
    Please let me know how to analyze the problem.
    >
    select
    wrkactaus.client_id_k, austat.au_id_k, wrkactaus.prp_id, wrkactaus.prp_stat_id, austat.hh_id_k
    FROM
    (SELECT au_id_k, as1.hh_id_k
    FROM au, au_stat as1
    WHERE as1.create_ts =
    (SELECT MAX(as2.create_ts)
    FROM au_stat as2
    WHERE as2.au_id_k = as1.au_id_k
    AND as2.create_ts < '01-SEP-12 02.45.01.561483000 PM'
    AND as2.eff_dte =
    (SELECT MAX(as3.eff_dte)
    FROM au_stat as3
    WHERE as3.au_id_k = as2.au_id_k
    AND as3.create_ts < '01-SEP-12 02.45.01.561483000 PM'
    AND as3.eff_dte < '01-SEP-12'
    AND au.pgm_cd_code_k = 'FF'
    AND as1.au_stat_cd_code_k ='ACTIVE'
    AND au.id = as1.au_id_k
    )austat,
    (SELECT DISTINCT(edbcclntmemb.client_id_k),
    eligendaus.au_id_k,
    prp_stat.prp_id,
    prp_stat.prp_stat_id
    FROM
    (SELECT aed1.au_id_k,
    aed1.elig_end_dte
    FROM au_elig_dte aed1,
    edbc_auth ea1
    WHERE aed1.EXISTS_FLG = 'Y' and aed1.create_ts =
    (SELECT MAX(aed2.create_ts)
    FROM au_elig_dte aed2
    WHERE aed2.au_id_k = aed1.au_id_k
    AND aed2.create_ts < '01-SEP-12 02.45.01.561483000 PM'
    AND aed2.eff_dte =
    (SELECT MAX(aed3.eff_dte)
    FROM au_elig_dte aed3
    WHERE aed3.au_id_k = aed2.au_id_k
    AND aed3.create_ts < '01-SEP-12 02.45.01.561483000 PM'
    AND aed3.eff_dte < '01-SEP-12')
    AND ea1.create_ts =
    (SELECT MAX(ea2.create_ts)
    FROM edbc_auth ea2
    WHERE ea2.edbc_id_k = ea1.edbc_id_k
    AND ea2.create_ts < '01-SEP-12 02.45.01.561483000 PM')
    AND ea1.auth_flg = 'Y'
    AND aed1.elig_end_dte = '30-SEP-12'
    AND aed1.edbc_id_k = ea1.edbc_id_k)
    eligendaus,
    (SELECT ecam1.client_id_k,
    ecam1.au_id_k
    FROM edbc_client_au_memb ecam1
    WHERE ecam1.create_ts =
    (SELECT MAX(ecam2.create_ts)
    FROM edbc_client_au_memb ecam2
    WHERE ecam2.au_id_k = ecam1.au_id_k
    AND ecam2.client_id_k = ecam1.client_id_k
    AND ecam2.create_ts < '01-SEP-12 02.45.01.561483000 PM'
    AND ecam2.eff_dte =
    (SELECT MAX(ecam3.eff_dte)
    FROM edbc_client_au_memb ecam3
    WHERE ecam3.au_id_k = ecam2.au_id_k
    AND ecam3.client_id_k = ecam2.client_id_k
    AND ecam3.create_ts < '01-SEP-12 02.45.01.561483000 PM'
    AND ecam3.eff_dte < '01-SEP-12')
    edbcclntmemb,
    (SELECT client_id_k,
    prp_id,
    prp_stat_id,
    prp_wrk_act_stat_dte
    FROM
    (SELECT cpwa1.client_id_k,
    cpwa1.id AS
    prp_id
    FROM client_prp_wrk_act cpwa1
    WHERE cpwa1.create_ts =
    (SELECT MAX(cpwa2.create_ts)
    FROM client_prp_wrk_act cpwa2
    WHERE cpwa2.client_id_k = cpwa1.client_id_k
    AND cpwa2.create_ts < '01-SEP-12 02.45.01.561483000 PM'
    AND cpwa2.eff_dte =
    (SELECT MAX(cpwa3.eff_dte)
    FROM client_prp_wrk_act cpwa3
    WHERE cpwa3.client_id_k = cpwa2.client_id_k
    AND cpwa3.create_ts < '01-SEP-12 02.45.01.561483000 PM'
    AND cpwa3.eff_dte < '01-SEP-12')
    ) AND cpwa1.end_dte IS NULL
    client_prp,
    (SELECT cpwas1.id AS
    prp_stat_id,
    client_prp_wrk_act_id_k,
    cpwas1.prp_wrk_act_stat_dte
    FROM client_prp_wrk_act_stat cpwas1
    WHERE cpwas1.create_ts =
    (SELECT MAX(cpwas2.create_ts)
    FROM client_prp_wrk_act_stat cpwas2
    WHERE cpwas2.client_prp_wrk_act_id_k = cpwas1.client_prp_wrk_act_id_k
    AND cpwas2.create_ts < '01-SEP-12 02.45.01.561483000 PM'
    AND cpwas2.eff_dte =
    (SELECT MAX(cpwas3.eff_dte)
    FROM client_prp_wrk_act_stat cpwas3
    WHERE cpwas3.client_prp_wrk_act_id_k = cpwas2.client_prp_wrk_act_id_k
    AND cpwas3.create_ts < '01-SEP-12 02.45.01.561483000 PM'
    AND cpwas3.eff_dte < '01-SEP-12'
    AND cpwas3.prp_wrk_act_stat_dte =
    (SELECT MAX(cpwas4.prp_wrk_act_stat_dte)
    FROM client_prp_wrk_act_stat cpwas4
    WHERE cpwas4.client_prp_wrk_act_id_k = cpwas3.client_prp_wrk_act_id_k
    AND cpwas4.create_ts < '01-SEP-12 02.45.01.561483000 PM'
    AND cpwas4.eff_dte < '01-SEP-12'
    AND cpwas4.prp_wrk_act_stat_dte < '01-SEP-12')
    ) clnt_prp_stat
    WHERE client_prp.prp_id = clnt_prp_stat.client_prp_wrk_act_id_k)
    prp_stat
    WHERE eligendaus.au_id_k = edbcclntmemb.au_id_k
    AND edbcclntmemb.client_id_k = prp_stat.client_id_k)
    wrkactaus
    WHERE austat.au_id_k = wrkactaus.au_id_k;
    >
    Explain Plan
    >
    Plan hash value: 3805111278
    | Id | Operation | Name | Rows | Bytes |TempSpc| Cost (%CPU)| Time |
    | 0 | SELECT STATEMENT | | 1 | 92 | | 139K (1)| 00:27:56 |
    | 1 | NESTED LOOPS | | 1 | 92 | | 139K (1)| 00:27:56 |
    | 2 | NESTED LOOPS | | 1 | 82 | | 139K (1)| 00:27:56 |
    | 3 | VIEW | | 1 | 52 | | 139K (1)| 00:27:56 |
    | 4 | HASH UNIQUE | | 1 | 205 | | 139K (1)| 00:27:56 |
    |* 5 | FILTER | | | | | | |
    |* 6 | HASH JOIN | | 1 | 205 | | 139K (1)| 00:27:55 |
    |* 7 | TABLE ACCESS BY INDEX ROWID | EDBC_AUTH | 1 | 49 | | 3 (0)| 00:00:01 |
    | 8 | NESTED LOOPS | | 1 | 184 | | 123K (1)| 00:24:38 |
    | 9 | NESTED LOOPS | | 1 | 135 | | 123K (1)| 00:24:38 |
    | 10 | NESTED LOOPS | | 1 | 102 | | 123K (1)| 00:24:38 |
    | 11 | NESTED LOOPS | | 1 | 79 | | 123K (1)| 00:24:37 |
    | 12 | NESTED LOOPS | | 1 | 56 | | 123K (1)| 00:24:37 |
    | 13 | VIEW | VW_SQ_5 | 1 | 21 | | 123K (1)| 00:24:37 |
    | 14 | HASH GROUP BY | | 1 | 53 | 7640K| 123K (1)| 00:24:37 |
    |* 15 | INDEX FULL SCAN | CPRPWA_PK | 66017 | 3416K| | 335 (1)| 00:00:05 |
    | 16 | SORT AGGREGATE | | 1 | 25 | | | |
    |* 17 | INDEX RANGE SCAN | CPRPWA_PK | 2 | 50 | | 2 (0)| 00:00:01 |
    |* 18 | TABLE ACCESS BY INDEX ROWID | CLIENT_PRP_WRK_ACT | 1 | 35 | | 2 (0)| 00:00:01 |
    |* 19 | INDEX RANGE SCAN | CPRPWA_PK | 1 | | | 1 (0)| 00:00:01 |
    | 20 | TABLE ACCESS BY INDEX ROWID | CLIENT_PRP_WRK_ACT_STAT | 1 | 23 | | 3 (0)| 00:00:01 |
    |* 21 | INDEX RANGE SCAN | CPRPWASTAT_PK | 1 | | | 2 (0)| 00:00:01 |
    | 22 | SORT AGGREGATE | | 1 | 47 | | | |
    | 23 | NESTED LOOPS | | 1 | 47 | | 12 (17)| 00:00:01 |
    | 24 | VIEW | VW_SQ_2 | 1 | 22 | | 10 (20)| 00:00:01 |
    | 25 | SORT GROUP BY | | 1 | 15 | | 10 (20)| 00:00:01 |
    | 26 | VIEW | | 1 | 15 | | 10 (20)| 00:00:01 |
    |* 27 | FILTER | | | | | | |
    | 28 | SORT GROUP BY | | 1 | 84 | | 10 (20)| 00:00:01 |
    |* 29 | HASH JOIN | | 2 | 168 | | 9 (12)| 00:00:01 |
    |* 30 | TABLE ACCESS BY INDEX ROWID| CLIENT_PRP_WRK_ACT_STAT | 2 | 78 | | 4 (0)| 00:00:01 |
    |* 31 | INDEX RANGE SCAN | CPRPWASTAT_PK | 2 | | | 3 (0)| 00:00:01 |
    | 32 | TABLE ACCESS BY INDEX ROWID| CLIENT_PRP_WRK_ACT_STAT | 2 | 90 | | 4 (0)| 00:00:01 |
    |* 33 | INDEX RANGE SCAN | CPRPWASTAT_PK | 2 | | | 3 (0)| 00:00:01 |
    |* 34 | INDEX RANGE SCAN | CPRPWASTAT_PK | 1 | 25 | | 2 (0)| 00:00:01 |
    | 35 | TABLE ACCESS BY INDEX ROWID | EDBC_CLIENT_AU_MEMB | 89 | 2047 | | 23 (0)| 00:00:01 |
    |* 36 | INDEX RANGE SCAN | IDX_CLIENT_ID_EDBC | 89 | | | 2 (0)| 00:00:01 |
    |* 37 | TABLE ACCESS BY INDEX ROWID | AU_ELIG_DTE | 1 | 33 | | 3 (0)| 00:00:01 |
    |* 38 | INDEX RANGE SCAN | AUED_PK | 1 | | | 2 (0)| 00:00:01 |
    | 39 | SORT AGGREGATE | | 1 | 47 | | | |
    |* 40 | HASH JOIN | | 1 | 47 | | 7 (15)| 00:00:01 |
    | 41 | VIEW | VW_SQ_4 | 11 | 242 | | 3 (0)| 00:00:01 |
    | 42 | SORT GROUP BY | | 11 | 341 | | 3 (0)| 00:00:01 |
    |* 43 | INDEX RANGE SCAN | AUED_PK | 11 | 341 | | 3 (0)| 00:00:01 |
    |* 44 | INDEX RANGE SCAN | AUED_PK | 11 | 275 | | 3 (0)| 00:00:01 |
    |* 45 | INDEX RANGE SCAN | EDBCA_PK | 1 | | | 2 (0)| 00:00:01 |
    | 46 | VIEW | VW_SQ_6 | 4167K| 83M| | 16442 (1)| 00:03:18 |
    | 47 | HASH GROUP BY | | 4167K| 178M| 478M| 16442 (1)| 00:03:18 |
    |* 48 | INDEX FULL SCAN | EDBCA_PK | 4167K| 178M| | 16442 (1)| 00:03:18 |
    | 49 | SORT AGGREGATE | | 1 | 66 | | | |
    | 50 | NESTED LOOPS | | 1 | 66 | | 6 (0)| 00:00:01 |
    | 51 | VIEW | VW_SQ_3 | 1 | 35 | | 4 (0)| 00:00:01 |
    | 52 | SORT GROUP BY | | 1 | 43 | | 4 (0)| 00:00:01 |
    |* 53 | INDEX RANGE SCAN | ECAUM_PK | 1 | 43 | | 4 (0)| 00:00:01 |
    |* 54 | INDEX RANGE SCAN | ECAUM_PK | 1 | 31 | | 3 (0)| 00:00:01 |
    |* 55 | TABLE ACCESS BY INDEX ROWID | AU_STAT | 1 | 30 | | 3 (0)| 00:00:01 |
    |* 56 | INDEX RANGE SCAN | AUS_PK | 1 | | | 2 (0)| 00:00:01 |
    | 57 | SORT AGGREGATE | | 1 | 47 | | | |
    |* 58 | HASH JOIN | | 1 | 47 | | 7 (15)| 00:00:01 |
    | 59 | VIEW | VW_SQ_7 | 10 | 220 | | 3 (0)| 00:00:01 |
    | 60 | SORT GROUP BY | | 10 | 310 | | 3 (0)| 00:00:01 |
    |* 61 | INDEX RANGE SCAN | AUS_PK | 10 | 310 | | 3 (0)| 00:00:01 |
    |* 62 | INDEX RANGE SCAN | AUS_PK | 10 | 250 | | 3 (0)| 00:00:01 |
    |* 63 | TABLE ACCESS BY INDEX ROWID | AU | 1 | 10 | | 2 (0)| 00:00:01 |
    |* 64 | INDEX UNIQUE SCAN | PK_AU | 1 | | | 1 (0)| 00:00:01 |
    Predicate Information (identified by operation id):
    5 - filter("ECAM1"."CREATE_TS"= (SELECT MAX("ECAM2"."CREATE_TS") FROM "EDBC_CLIENT_AU_MEMB" "ECAM2", (SELECT
    MAX("ECAM3"."EFF_DTE") "VW_COL_1","ECAM3"."AU_ID_K" "AU_ID_K","ECAM3"."CLIENT_ID_K" "CLIENT_ID_K" FROM
    "EDBC_CLIENT_AU_MEMB" "ECAM3" WHERE "ECAM3"."EFF_DTE"<'01-SEP-12' AND "ECAM3"."AU_ID_K"=:B1 AND "ECAM3"."CLIENT_ID_K"=:B2
    AND "ECAM3"."CREATE_TS"<TO_TIMESTAMP('01-SEP-12 02.45.01.561483000 PM') GROUP BY "ECAM3"."AU_ID_K","ECAM3"."CLIENT_ID_K")
    "VW_SQ_3" WHERE "ECAM2"."CREATE_TS"<TO_TIMESTAMP('01-SEP-12 02.45.01.561483000 PM') AND "ECAM2"."EFF_DTE"="VW_COL_1" AND
    "AU_ID_K"="ECAM2"."AU_ID_K" AND "ECAM2"."AU_ID_K"=:B3 AND "ECAM2"."CLIENT_ID_K"=:B4 AND
    "CLIENT_ID_K"="ECAM2"."CLIENT_ID_K"))
    6 - access("EA1"."CREATE_TS"="VW_COL_1" AND "EDBC_ID_K"="EA1"."EDBC_ID_K")
    7 - filter("EA1"."AUTH_FLG"='Y')
    15 - access("CPWA2"."CREATE_TS"<TO_TIMESTAMP('01-SEP-12 02.45.01.561483000 PM'))
    filter("CPWA2"."CREATE_TS"<TO_TIMESTAMP('01-SEP-12 02.45.01.561483000 PM') AND "CPWA2"."EFF_DTE"= (SELECT
    MAX("CPWA3"."EFF_DTE") FROM "CLIENT_PRP_WRK_ACT" "CPWA3" WHERE "CPWA3"."EFF_DTE"<'01-SEP-12' AND "CPWA3"."CLIENT_ID_K"=:B1
    AND "CPWA3"."CREATE_TS"<TO_TIMESTAMP('01-SEP-12 02.45.01.561483000 PM')))
    17 - access("CPWA3"."CLIENT_ID_K"=:B1 AND "CPWA3"."EFF_DTE"<'01-SEP-12' AND "CPWA3"."CREATE_TS"<TO_TIMESTAMP('01-SEP-12
    02.45.01.561483000 PM'))
    filter("CPWA3"."CREATE_TS"<TO_TIMESTAMP('01-SEP-12 02.45.01.561483000 PM'))
    18 - filter("CPWA1"."END_DTE" IS NULL)
    19 - access("CLIENT_ID_K"="CPWA1"."CLIENT_ID_K" AND "CPWA1"."CREATE_TS"="VW_COL_1")
    filter("CPWA1"."CREATE_TS"="VW_COL_1")
    21 - access("CPWA1"."ID"="CLIENT_PRP_WRK_ACT_ID_K")
    filter("CPWAS1"."CREATE_TS"= (SELECT MAX("CPWAS2"."CREATE_TS") FROM "CLIENT_PRP_WRK_ACT_STAT" "CPWAS2", (SELECT
    MAX("$vm_col_1") "VW_COL_1","$vm_col_2" "CLIENT_PRP_WRK_ACT_ID_K" FROM (SELECT /*+ */ "CPWAS3"."EFF_DTE"
    "$vm_col_1","CPWAS3"."CLIENT_PRP_WRK_ACT_ID_K" "$vm_col_2" FROM "CLIENT_PRP_WRK_ACT_STAT"
    "CPWAS3","CLIENT_PRP_WRK_ACT_STAT" "CPWAS4" WHERE "CPWAS4"."EFF_DTE"<'01-SEP-12' AND "CPWAS4"."CLIENT_PRP_WRK_ACT_ID_K"=:B1
    AND "CPWAS4"."PRP_WRK_ACT_STAT_DTE"<'01-SEP-12' AND "CPWAS4"."CREATE_TS"<TO_TIMESTAMP('01-SEP-12 02.45.01.561483000 PM')
    AND "CPWAS3"."EFF_DTE"<'01-SEP-12' AND "CPWAS3"."CLIENT_PRP_WRK_ACT_ID_K"=:B2 AND
    "CPWAS4"."CLIENT_PRP_WRK_ACT_ID_K"="CPWAS3"."CLIENT_PRP_WRK_ACT_ID_K" AND "CPWAS3"."CREATE_TS"<TO_TIMESTAMP('01-SEP-12
    02.45.01.561483000 PM') GROUP BY "CPWAS3"."CLIENT_PRP_WRK_ACT_ID_K",ROWID,"CPWAS3"."PRP_WRK_ACT_STAT_DTE","CPWAS4"."CLIENT_P
    RP_WRK_ACT_ID_K","CPWAS3"."EFF_DTE" HAVING "CPWAS3"."PRP_WRK_ACT_STAT_DTE"=MAX("CPWAS4"."PRP_WRK_ACT_STAT_DTE")) "$vm_view"
    GROUP BY "$vm_col_2") "VW_SQ_2" WHERE "CPWAS2"."CREATE_TS"<TO_TIMESTAMP('01-SEP-12 02.45.01.561483000 PM') AND
    "CPWAS2"."EFF_DTE"="VW_COL_1" AND "CLIENT_PRP_WRK_ACT_ID_K"="CPWAS2"."CLIENT_PRP_WRK_ACT_ID_K" AND
    "CPWAS2"."CLIENT_PRP_WRK_ACT_ID_K"=:B3))
    27 - filter("CPWAS3"."PRP_WRK_ACT_STAT_DTE"=MAX("CPWAS4"."PRP_WRK_ACT_STAT_DTE"))
    29 - access("CPWAS4"."CLIENT_PRP_WRK_ACT_ID_K"="CPWAS3"."CLIENT_PRP_WRK_ACT_ID_K")
    30 - filter("CPWAS4"."PRP_WRK_ACT_STAT_DTE"<'01-SEP-12')
    31 - access("CPWAS4"."CLIENT_PRP_WRK_ACT_ID_K"=:B1 AND "CPWAS4"."EFF_DTE"<'01-SEP-12' AND
    "CPWAS4"."CREATE_TS"<TO_TIMESTAMP('01-SEP-12 02.45.01.561483000 PM'))
    filter("CPWAS4"."CREATE_TS"<TO_TIMESTAMP('01-SEP-12 02.45.01.561483000 PM'))
    33 - access("CPWAS3"."CLIENT_PRP_WRK_ACT_ID_K"=:B1 AND "CPWAS3"."EFF_DTE"<'01-SEP-12' AND
    "CPWAS3"."CREATE_TS"<TO_TIMESTAMP('01-SEP-12 02.45.01.561483000 PM'))
    filter("CPWAS3"."CREATE_TS"<TO_TIMESTAMP('01-SEP-12 02.45.01.561483000 PM'))
    34 - access("CLIENT_PRP_WRK_ACT_ID_K"="CPWAS2"."CLIENT_PRP_WRK_ACT_ID_K" AND "CPWAS2"."EFF_DTE"="VW_COL_1" AND
    "CPWAS2"."CREATE_TS"<TO_TIMESTAMP('01-SEP-12 02.45.01.561483000 PM'))
    filter("CPWAS2"."CLIENT_PRP_WRK_ACT_ID_K"=:B1)
    36 - access("ECAM1"."CLIENT_ID_K"="CPWA1"."CLIENT_ID_K")
    37 - filter("AED1"."ELIG_END_DTE"='30-SEP-12' AND "AED1"."EXISTS_FLG"='Y')
    38 - access("AED1"."AU_ID_K"="ECAM1"."AU_ID_K")
    filter("AED1"."CREATE_TS"= (SELECT MAX("AED2"."CREATE_TS") FROM "AU_ELIG_DTE" "AED2", (SELECT MAX("AED3"."EFF_DTE")
    "VW_COL_1","AED3"."AU_ID_K" "AU_ID_K" FROM "AU_ELIG_DTE" "AED3" WHERE "AED3"."EFF_DTE"<'01-SEP-12' AND "AED3"."AU_ID_K"=:B1
    AND "AED3"."CREATE_TS"<TO_TIMESTAMP('01-SEP-12 02.45.01.561483000 PM') GROUP BY "AED3"."AU_ID_K") "VW_SQ_4" WHERE
    "AED2"."AU_ID_K"=:B2 AND "AU_ID_K"="AED2"."AU_ID_K" AND "AED2"."EFF_DTE"="VW_COL_1" AND
    "AED2"."CREATE_TS"<TO_TIMESTAMP('01-SEP-12 02.45.01.561483000 PM')))
    40 - access("AED2"."EFF_DTE"="VW_COL_1" AND "AU_ID_K"="AED2"."AU_ID_K")
    43 - access("AED3"."AU_ID_K"=:B1 AND "AED3"."EFF_DTE"<'01-SEP-12' AND "AED3"."CREATE_TS"<TO_TIMESTAMP('01-SEP-12
    02.45.01.561483000 PM'))
    filter("AED3"."CREATE_TS"<TO_TIMESTAMP('01-SEP-12 02.45.01.561483000 PM'))
    44 - access("AED2"."AU_ID_K"=:B1 AND "AED2"."CREATE_TS"<TO_TIMESTAMP('01-SEP-12 02.45.01.561483000 PM'))
    filter("AED2"."CREATE_TS"<TO_TIMESTAMP('01-SEP-12 02.45.01.561483000 PM'))
    45 - access("AED1"."EDBC_ID_K"="EA1"."EDBC_ID_K")
    48 - access("EA2"."CREATE_TS"<TO_TIMESTAMP('01-SEP-12 02.45.01.561483000 PM'))
    filter("EA2"."CREATE_TS"<TO_TIMESTAMP('01-SEP-12 02.45.01.561483000 PM'))
    53 - access("ECAM3"."AU_ID_K"=:B1 AND "ECAM3"."CLIENT_ID_K"=:B2 AND "ECAM3"."EFF_DTE"<'01-SEP-12' AND
    "ECAM3"."CREATE_TS"<TO_TIMESTAMP('01-SEP-12 02.45.01.561483000 PM'))
    filter("ECAM3"."CLIENT_ID_K"=:B1 AND "ECAM3"."CREATE_TS"<TO_TIMESTAMP('01-SEP-12 02.45.01.561483000 PM'))
    54 - access("AU_ID_K"="ECAM2"."AU_ID_K" AND "ECAM2"."EFF_DTE"="VW_COL_1" AND "CLIENT_ID_K"="ECAM2"."CLIENT_ID_K" AND
    "ECAM2"."CREATE_TS"<TO_TIMESTAMP('01-SEP-12 02.45.01.561483000 PM'))
    filter("ECAM2"."AU_ID_K"=:B1 AND "ECAM2"."CLIENT_ID_K"=:B2 AND "CLIENT_ID_K"="ECAM2"."CLIENT_ID_K")
    55 - filter("AS1"."AU_STAT_CD_CODE_K"='ACTIVE')
    56 - access("AU_ID_K"="WRKACTAUS"."AU_ID_K")
    filter("AS1"."CREATE_TS"= (SELECT MAX("AS2"."CREATE_TS") FROM "AU_STAT" "AS2", (SELECT MAX("AS3"."EFF_DTE")
    "VW_COL_1","AS3"."AU_ID_K" "AU_ID_K" FROM "AU_STAT" "AS3" WHERE "AS3"."EFF_DTE"<'01-SEP-12' AND "AS3"."AU_ID_K"=:B1 AND
    "AS3"."CREATE_TS"<TO_TIMESTAMP('01-SEP-12 02.45.01.561483000 PM') GROUP BY "AS3"."AU_ID_K") "VW_SQ_7" WHERE
    "AS2"."AU_ID_K"=:B2 AND "AU_ID_K"="AS2"."AU_ID_K" AND "AS2"."EFF_DTE"="VW_COL_1" AND
    "AS2"."CREATE_TS"<TO_TIMESTAMP('01-SEP-12 02.45.01.561483000 PM')))
    58 - access("AS2"."EFF_DTE"="VW_COL_1" AND "AU_ID_K"="AS2"."AU_ID_K")
    61 - access("AS3"."AU_ID_K"=:B1 AND "AS3"."EFF_DTE"<'01-SEP-12' AND "AS3"."CREATE_TS"<TO_TIMESTAMP('01-SEP-12
    02.45.01.561483000 PM'))
    filter("AS3"."CREATE_TS"<TO_TIMESTAMP('01-SEP-12 02.45.01.561483000 PM'))
    62 - access("AS2"."AU_ID_K"=:B1 AND "AS2"."CREATE_TS"<TO_TIMESTAMP('01-SEP-12 02.45.01.561483000 PM'))
    filter("AS2"."CREATE_TS"<TO_TIMESTAMP('01-SEP-12 02.45.01.561483000 PM'))
    63 - filter("AU"."PGM_CD_CODE_K"='FF')
    64 - access("AU"."ID"="AS1"."AU_ID_K")
    >
    Part of Trace File
    >
    Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit Production
    With the Partitioning, Real Application Clusters, OLAP, Data Mining
    and Real Application Testing options
    ORACLE_HOME = /opt/app/oracle/product/10.2.0/db
    System name:     Linux
    Node name:     de0119006lb010
    Release:     2.6.18-308.11.1.el5
    Version:     #1 SMP Fri Jun 15 15:41:53 EDT 2012
    Machine:     x86_64
    Instance name: depdbprm3
    Redo thread mounted by this instance: 3
    Oracle process number: 103
    Unix process pid: 29158, image: oracle@de0119006lb010
    *** 2013-03-19 17:19:59.081
    *** ACTION NAME:() 2013-03-19 17:19:59.081
    *** MODULE NAME:(SQL Developer) 2013-03-19 17:19:59.081
    *** SERVICE NAME:(depdbprm) 2013-03-19 17:19:59.081
    *** SESSION ID:(1553.20651) 2013-03-19 17:19:59.081
    WAIT #3: nam='gc cr grant 2-way' ela= 236 p1=62 p2=568096 p3=1 obj#=328952 tim=1331769139727726
    WAIT #3: nam='db file sequential read' ela= 247 file#=62 block#=568096 blocks=1 obj#=328952 tim=1331769139728347
    WAIT #3: nam='gc cr grant 2-way' ela= 259 p1=62 p2=568449 p3=1 obj#=328952 tim=1331769141363681
    WAIT #3: nam='db file sequential read' ela= 267 file#=62 block#=568449 blocks=1 obj#=328952 tim=1331769141364023
    WAIT #3: nam='gc current block 2-way' ela= 356 p1=63 p2=135004 p3=1 obj#=328952 tim=1331769143207109
    WAIT #3: nam='gc current block 2-way' ela= 289 p1=63 p2=135073 p3=1 obj#=328952 tim=1331769143240780
    WAIT #3: nam='gc current block 3-way' ela= 562 p1=62 p2=568137 p3=1 obj#=328952 tim=1331769145591937
    WAIT #3: nam='gc current block 2-way' ela= 387 p1=63 p2=134686 p3=1 obj#=328952 tim=1331769145874228
    WAIT #3: nam='gc current block 3-way' ela= 607 p1=62 p2=567750 p3=1 obj#=328952 tim=1331769146961322
    *** 2013-03-19 17:20:09.096
    WAIT #3: nam='gc current block 2-way' ela= 352 p1=61 p2=546053 p3=1 obj#=328952 tim=1331769149508254
    WAIT #3: nam='gc current block 2-way' ela= 297 p1=61 p2=546052 p3=1 obj#=328952 tim=1331769149534031
    WAIT #3: nam='gc current block 2-way' ela= 398 p1=63 p2=134765 p3=1 obj#=328952 tim=1331769150388736
    WAIT #3: nam='gc current block 2-way' ela= 413 p1=43 p2=533298 p3=1 obj#=328952 tim=1331769150704716
    WAIT #3: nam='gc current block 2-way' ela= 261 p1=43 p2=533297 p3=1 obj#=328952 tim=1331769150716671
    WAIT #3: nam='gc current block 2-way' ela= 330 p1=57 p2=84679 p3=1 obj#=328952 tim=1331769152562873
    WAIT #3: nam='gc current block 2-way' ela= 393 p1=57 p2=84250 p3=1 obj#=328952 tim=1331769153124750
    WAIT #3: nam='gc current block 2-way' ela= 383 p1=57 p2=84492 p3=1 obj#=328952 tim=1331769153606792
    WAIT #3: nam='gc current block 2-way' ela= 371 p1=61 p2=545720 p3=1 obj#=328952 tim=1331769154680811
    WAIT #3: nam='gc current block 3-way' ela= 585 p1=62 p2=568311 p3=1 obj#=328952 tim=1331769154811847
    WAIT #3: nam='gc current block 3-way' ela= 496 p1=46 p2=189388 p3=1 obj#=328952 tim=1331769155959780
    WAIT #3: nam='gc current block 2-way' ela= 333 p1=138 p2=186289 p3=1 obj#=325456 tim=1331769155960430
    WAIT #3: nam='gc current block 2-way' ela= 396 p1=61 p2=546147 p3=1 obj#=328952 tim=1331769156319216
    WAIT #3: nam='gc current block 2-way' ela= 361 p1=43 p2=533326 p3=1 obj#=328952 tim=1331769156496194
    WAIT #3: nam='gc current block 2-way' ela= 355 p1=61 p2=546055 p3=1 obj#=328952 tim=1331769156676604
    WAIT #3: nam='gc current block 2-way' ela= 380 p1=23 p2=1024150 p3=1 obj#=328952 tim=1331769158887190
    *** 2013-03-19 17:20:21.424
    WAIT #3: nam='gc current block 2-way' ela= 345 p1=56 p2=640594 p3=1 obj#=328952 tim=1331769161546890
    WAIT #3: nam='gc current block 2-way' ela= 373 p1=62 p2=568040 p3=1 obj#=328952 tim=1331769163580880
    WAIT #3: nam='gc current block 2-way' ela= 395 p1=179 p2=201084 p3=1 obj#=328952 tim=1331769164782836
    WAIT #3: nam='gc current block 2-way' ela= 399 p1=179 p2=201085 p3=1 obj#=328952 tim=1331769164873539
    WAIT #3: nam='gc current block 2-way' ela= 276 p1=179 p2=201083 p3=1 obj#=328952 tim=1331769164882366
    WAIT #3: nam='gc current block 2-way' ela= 406 p1=56 p2=640077 p3=1 obj#=328952 tim=1331769164960368
    WAIT #3: nam='gc current block 3-way' ela= 553 p1=200 p2=191022 p3=1 obj#=328952 tim=1331769166617564
    WAIT #3: nam='gc current block 2-way' ela= 383 p1=62 p2=567988 p3=1 obj#=328952 tim=1331769167885558
    WAIT #3: nam='gc current block 2-way' ela= 359 p1=61 p2=545391 p3=1 obj#=328952 tim=1331769169178262
    WAIT #3: nam='gc current block 2-way' ela= 394 p1=60 p2=103677 p3=1 obj#=328952 tim=1331769171025394
    WAIT #3: nam='gc current block 2-way' ela= 267 p1=60 p2=103678 p3=1 obj#=328952 tim=1331769171033578
    *** 2013-03-19 17:20:31.805
    WAIT #3: nam='gc current block 2-way' ela= 622 p1=60 p2=104513 p3=1 obj#=328952 tim=1331769171684584
    WAIT #3: nam='gc current block 2-way' ela= 272 p1=52 p2=137262 p3=1 obj#=328952 tim=1331769171912038
    WAIT #3: nam='gc current block 2-way' ela= 369 p1=57 p2=84425 p3=1 obj#=328952 tim=1331769173674500
    WAIT #3: nam='gc current block 2-way' ela= 307 p1=60 p2=103758 p3=1 obj#=328952 tim=1331769174117156
    WAIT #3: nam='gc current block 3-way' ela= 668 p1=62 p2=567896 p3=1 obj#=328952 tim=1331769174388555
    WAIT #3: nam='gc current block 2-way' ela= 321 p1=55 p2=158741 p3=1 obj#=328952 tim=1331769175733472
    WAIT #3: nam='gc current block 2-way' ela= 368 p1=60 p2=104123 p3=1 obj#=328952 tim=1331769178620478
    WAIT #3: nam='gc current block 2-way' ela= 406 p1=27 p2=102113 p3=1 obj#=328952 tim=1331769181249151
    *** 2013-03-19 17:20:52.545
    WAIT #3: nam='gc current block 2-way' ela= 391 p1=186 p2=204072 p3=1 obj#=328952 tim=1331769191939303
    WAIT #3: nam='gc current block 3-way' ela= 547 p1=57 p2=64435 p3=1 obj#=327198 tim=1331769191940250
    WAIT #3: nam='gc current block 2-way' ela= 370 p1=24 p2=106010 p3=1 obj#=328952 tim=1331769193513721
    WAIT #3: nam='gc current block 2-way' ela= 447 p1=57 p2=84352 p3=1 obj#=328952 tim=1331769194379712
    WAIT #3: nam='gc current block 2-way' ela= 388 p1=63 p2=135154 p3=1 obj#=328952 tim=1331769194780054
    WAIT #3: nam='gc current block 2-way' ela= 349 p1=14 p2=379706 p3=1 obj#=328952 tim=1331769201061077
    WAIT #3: nam='gc current block 2-way' ela= 106 p1=14 p2=379705 p3=1 obj#=328952 tim=1331769201066997
    *** 2013-03-19 17:21:06.606
    WAIT #3: nam='gc current block 2-way' ela= 423 p1=196 p2=202210 p3=1 obj#=328952 tim=133176920567
    >
    Object Information
    >
    select * from dba_objects where object_id = '328952';
    XXXX AS_AIK_ASCCK_I          328952     328952     INDEX     20-FEB-13     20-FEB-13     2013-02-20:19:23:02     VALID     N     N     N
    >
    Thanks,
    Vijay

    Hi All,
    we ran a query paralley in 2 different sessions on a 10.2.0.4 database 3-Node RAC installed on Linux box. In 3rd Node the query executed in 70 seconds but on the second session it was waiting for a long time and we did the trace. We generated the trace for 5 mins alone and we stopped the trace, the trace file shows it is waiting in "gc current block 3-way" and that it is using the object "328952" which is a index that is not used in the EXPLAIN PLAN.
    Please let me know how to analyze the problem.
    >
    select
    wrkactaus.client_id_k, austat.au_id_k, wrkactaus.prp_id, wrkactaus.prp_stat_id, austat.hh_id_k
    FROM
    (SELECT au_id_k, as1.hh_id_k
    FROM au, au_stat as1
    WHERE as1.create_ts =
    (SELECT MAX(as2.create_ts)
    FROM au_stat as2
    WHERE as2.au_id_k = as1.au_id_k
    AND as2.create_ts < '01-SEP-12 02.45.01.561483000 PM'
    AND as2.eff_dte =
    (SELECT MAX(as3.eff_dte)
    FROM au_stat as3
    WHERE as3.au_id_k = as2.au_id_k
    AND as3.create_ts < '01-SEP-12 02.45.01.561483000 PM'
    AND as3.eff_dte < '01-SEP-12'
    AND au.pgm_cd_code_k = 'FF'
    AND as1.au_stat_cd_code_k ='ACTIVE'
    AND au.id = as1.au_id_k
    )austat,
    (SELECT DISTINCT(edbcclntmemb.client_id_k),
    eligendaus.au_id_k,
    prp_stat.prp_id,
    prp_stat.prp_stat_id
    FROM
    (SELECT aed1.au_id_k,
    aed1.elig_end_dte
    FROM au_elig_dte aed1,
    edbc_auth ea1
    WHERE aed1.EXISTS_FLG = 'Y' and aed1.create_ts =
    (SELECT MAX(aed2.create_ts)
    FROM au_elig_dte aed2
    WHERE aed2.au_id_k = aed1.au_id_k
    AND aed2.create_ts < '01-SEP-12 02.45.01.561483000 PM'
    AND aed2.eff_dte =
    (SELECT MAX(aed3.eff_dte)
    FROM au_elig_dte aed3
    WHERE aed3.au_id_k = aed2.au_id_k
    AND aed3.create_ts < '01-SEP-12 02.45.01.561483000 PM'
    AND aed3.eff_dte < '01-SEP-12')
    AND ea1.create_ts =
    (SELECT MAX(ea2.create_ts)
    FROM edbc_auth ea2
    WHERE ea2.edbc_id_k = ea1.edbc_id_k
    AND ea2.create_ts < '01-SEP-12 02.45.01.561483000 PM')
    AND ea1.auth_flg = 'Y'
    AND aed1.elig_end_dte = '30-SEP-12'
    AND aed1.edbc_id_k = ea1.edbc_id_k)
    eligendaus,
    (SELECT ecam1.client_id_k,
    ecam1.au_id_k
    FROM edbc_client_au_memb ecam1
    WHERE ecam1.create_ts =
    (SELECT MAX(ecam2.create_ts)
    FROM edbc_client_au_memb ecam2
    WHERE ecam2.au_id_k = ecam1.au_id_k
    AND ecam2.client_id_k = ecam1.client_id_k
    AND ecam2.create_ts < '01-SEP-12 02.45.01.561483000 PM'
    AND ecam2.eff_dte =
    (SELECT MAX(ecam3.eff_dte)
    FROM edbc_client_au_memb ecam3
    WHERE ecam3.au_id_k = ecam2.au_id_k
    AND ecam3.client_id_k = ecam2.client_id_k
    AND ecam3.create_ts < '01-SEP-12 02.45.01.561483000 PM'
    AND ecam3.eff_dte < '01-SEP-12')
    edbcclntmemb,
    (SELECT client_id_k,
    prp_id,
    prp_stat_id,
    prp_wrk_act_stat_dte
    FROM
    (SELECT cpwa1.client_id_k,
    cpwa1.id AS
    prp_id
    FROM client_prp_wrk_act cpwa1
    WHERE cpwa1.create_ts =
    (SELECT MAX(cpwa2.create_ts)
    FROM client_prp_wrk_act cpwa2
    WHERE cpwa2.client_id_k = cpwa1.client_id_k
    AND cpwa2.create_ts < '01-SEP-12 02.45.01.561483000 PM'
    AND cpwa2.eff_dte =
    (SELECT MAX(cpwa3.eff_dte)
    FROM client_prp_wrk_act cpwa3
    WHERE cpwa3.client_id_k = cpwa2.client_id_k
    AND cpwa3.create_ts < '01-SEP-12 02.45.01.561483000 PM'
    AND cpwa3.eff_dte < '01-SEP-12')
    ) AND cpwa1.end_dte IS NULL
    client_prp,
    (SELECT cpwas1.id AS
    prp_stat_id,
    client_prp_wrk_act_id_k,
    cpwas1.prp_wrk_act_stat_dte
    FROM client_prp_wrk_act_stat cpwas1
    WHERE cpwas1.create_ts =
    (SELECT MAX(cpwas2.create_ts)
    FROM client_prp_wrk_act_stat cpwas2
    WHERE cpwas2.client_prp_wrk_act_id_k = cpwas1.client_prp_wrk_act_id_k
    AND cpwas2.create_ts < '01-SEP-12 02.45.01.561483000 PM'
    AND cpwas2.eff_dte =
    (SELECT MAX(cpwas3.eff_dte)
    FROM client_prp_wrk_act_stat cpwas3
    WHERE cpwas3.client_prp_wrk_act_id_k = cpwas2.client_prp_wrk_act_id_k
    AND cpwas3.create_ts < '01-SEP-12 02.45.01.561483000 PM'
    AND cpwas3.eff_dte < '01-SEP-12'
    AND cpwas3.prp_wrk_act_stat_dte =
    (SELECT MAX(cpwas4.prp_wrk_act_stat_dte)
    FROM client_prp_wrk_act_stat cpwas4
    WHERE cpwas4.client_prp_wrk_act_id_k = cpwas3.client_prp_wrk_act_id_k
    AND cpwas4.create_ts < '01-SEP-12 02.45.01.561483000 PM'
    AND cpwas4.eff_dte < '01-SEP-12'
    AND cpwas4.prp_wrk_act_stat_dte < '01-SEP-12')
    ) clnt_prp_stat
    WHERE client_prp.prp_id = clnt_prp_stat.client_prp_wrk_act_id_k)
    prp_stat
    WHERE eligendaus.au_id_k = edbcclntmemb.au_id_k
    AND edbcclntmemb.client_id_k = prp_stat.client_id_k)
    wrkactaus
    WHERE austat.au_id_k = wrkactaus.au_id_k;
    >
    Explain Plan
    >
    Plan hash value: 3805111278
    | Id | Operation | Name | Rows | Bytes |TempSpc| Cost (%CPU)| Time |
    | 0 | SELECT STATEMENT | | 1 | 92 | | 139K (1)| 00:27:56 |
    | 1 | NESTED LOOPS | | 1 | 92 | | 139K (1)| 00:27:56 |
    | 2 | NESTED LOOPS | | 1 | 82 | | 139K (1)| 00:27:56 |
    | 3 | VIEW | | 1 | 52 | | 139K (1)| 00:27:56 |
    | 4 | HASH UNIQUE | | 1 | 205 | | 139K (1)| 00:27:56 |
    |* 5 | FILTER | | | | | | |
    |* 6 | HASH JOIN | | 1 | 205 | | 139K (1)| 00:27:55 |
    |* 7 | TABLE ACCESS BY INDEX ROWID | EDBC_AUTH | 1 | 49 | | 3 (0)| 00:00:01 |
    | 8 | NESTED LOOPS | | 1 | 184 | | 123K (1)| 00:24:38 |
    | 9 | NESTED LOOPS | | 1 | 135 | | 123K (1)| 00:24:38 |
    | 10 | NESTED LOOPS | | 1 | 102 | | 123K (1)| 00:24:38 |
    | 11 | NESTED LOOPS | | 1 | 79 | | 123K (1)| 00:24:37 |
    | 12 | NESTED LOOPS | | 1 | 56 | | 123K (1)| 00:24:37 |
    | 13 | VIEW | VW_SQ_5 | 1 | 21 | | 123K (1)| 00:24:37 |
    | 14 | HASH GROUP BY | | 1 | 53 | 7640K| 123K (1)| 00:24:37 |
    |* 15 | INDEX FULL SCAN | CPRPWA_PK | 66017 | 3416K| | 335 (1)| 00:00:05 |
    | 16 | SORT AGGREGATE | | 1 | 25 | | | |
    |* 17 | INDEX RANGE SCAN | CPRPWA_PK | 2 | 50 | | 2 (0)| 00:00:01 |
    |* 18 | TABLE ACCESS BY INDEX ROWID | CLIENT_PRP_WRK_ACT | 1 | 35 | | 2 (0)| 00:00:01 |
    |* 19 | INDEX RANGE SCAN | CPRPWA_PK | 1 | | | 1 (0)| 00:00:01 |
    | 20 | TABLE ACCESS BY INDEX ROWID | CLIENT_PRP_WRK_ACT_STAT | 1 | 23 | | 3 (0)| 00:00:01 |
    |* 21 | INDEX RANGE SCAN | CPRPWASTAT_PK | 1 | | | 2 (0)| 00:00:01 |
    | 22 | SORT AGGREGATE | | 1 | 47 | | | |
    | 23 | NESTED LOOPS | | 1 | 47 | | 12 (17)| 00:00:01 |
    | 24 | VIEW | VW_SQ_2 | 1 | 22 | | 10 (20)| 00:00:01 |
    | 25 | SORT GROUP BY | | 1 | 15 | | 10 (20)| 00:00:01 |
    | 26 | VIEW | | 1 | 15 | | 10 (20)| 00:00:01 |
    |* 27 | FILTER | | | | | | |
    | 28 | SORT GROUP BY | | 1 | 84 | | 10 (20)| 00:00:01 |
    |* 29 | HASH JOIN | | 2 | 168 | | 9 (12)| 00:00:01 |
    |* 30 | TABLE ACCESS BY INDEX ROWID| CLIENT_PRP_WRK_ACT_STAT | 2 | 78 | | 4 (0)| 00:00:01 |
    |* 31 | INDEX RANGE SCAN | CPRPWASTAT_PK | 2 | | | 3 (0)| 00:00:01 |
    | 32 | TABLE ACCESS BY INDEX ROWID| CLIENT_PRP_WRK_ACT_STAT | 2 | 90 | | 4 (0)| 00:00:01 |
    |* 33 | INDEX RANGE SCAN | CPRPWASTAT_PK | 2 | | | 3 (0)| 00:00:01 |
    |* 34 | INDEX RANGE SCAN | CPRPWASTAT_PK | 1 | 25 | | 2 (0)| 00:00:01 |
    | 35 | TABLE ACCESS BY INDEX ROWID | EDBC_CLIENT_AU_MEMB | 89 | 2047 | | 23 (0)| 00:00:01 |
    |* 36 | INDEX RANGE SCAN | IDX_CLIENT_ID_EDBC | 89 | | | 2 (0)| 00:00:01 |
    |* 37 | TABLE ACCESS BY INDEX ROWID | AU_ELIG_DTE | 1 | 33 | | 3 (0)| 00:00:01 |
    |* 38 | INDEX RANGE SCAN | AUED_PK | 1 | | | 2 (0)| 00:00:01 |
    | 39 | SORT AGGREGATE | | 1 | 47 | | | |
    |* 40 | HASH JOIN | | 1 | 47 | | 7 (15)| 00:00:01 |
    | 41 | VIEW | VW_SQ_4 | 11 | 242 | | 3 (0)| 00:00:01 |
    | 42 | SORT GROUP BY | | 11 | 341 | | 3 (0)| 00:00:01 |
    |* 43 | INDEX RANGE SCAN | AUED_PK | 11 | 341 | | 3 (0)| 00:00:01 |
    |* 44 | INDEX RANGE SCAN | AUED_PK | 11 | 275 | | 3 (0)| 00:00:01 |
    |* 45 | INDEX RANGE SCAN | EDBCA_PK | 1 | | | 2 (0)| 00:00:01 |
    | 46 | VIEW | VW_SQ_6 | 4167K| 83M| | 16442 (1)| 00:03:18 |
    | 47 | HASH GROUP BY | | 4167K| 178M| 478M| 16442 (1)| 00:03:18 |
    |* 48 | INDEX FULL SCAN | EDBCA_PK | 4167K| 178M| | 16442 (1)| 00:03:18 |
    | 49 | SORT AGGREGATE | | 1 | 66 | | | |
    | 50 | NESTED LOOPS | | 1 | 66 | | 6 (0)| 00:00:01 |
    | 51 | VIEW | VW_SQ_3 | 1 | 35 | | 4 (0)| 00:00:01 |
    | 52 | SORT GROUP BY | | 1 | 43 | | 4 (0)| 00:00:01 |
    |* 53 | INDEX RANGE SCAN | ECAUM_PK | 1 | 43 | | 4 (0)| 00:00:01 |
    |* 54 | INDEX RANGE SCAN | ECAUM_PK | 1 | 31 | | 3 (0)| 00:00:01 |
    |* 55 | TABLE ACCESS BY INDEX ROWID | AU_STAT | 1 | 30 | | 3 (0)| 00:00:01 |
    |* 56 | INDEX RANGE SCAN | AUS_PK | 1 | | | 2 (0)| 00:00:01 |
    | 57 | SORT AGGREGATE | | 1 | 47 | | | |
    |* 58 | HASH JOIN | | 1 | 47 | | 7 (15)| 00:00:01 |
    | 59 | VIEW | VW_SQ_7 | 10 | 220 | | 3 (0)| 00:00:01 |
    | 60 | SORT GROUP BY | | 10 | 310 | | 3 (0)| 00:00:01 |
    |* 61 | INDEX RANGE SCAN | AUS_PK | 10 | 310 | | 3 (0)| 00:00:01 |
    |* 62 | INDEX RANGE SCAN | AUS_PK | 10 | 250 | | 3 (0)| 00:00:01 |
    |* 63 | TABLE ACCESS BY INDEX ROWID | AU | 1 | 10 | | 2 (0)| 00:00:01 |
    |* 64 | INDEX UNIQUE SCAN | PK_AU | 1 | | | 1 (0)| 00:00:01 |
    Predicate Information (identified by operation id):
    5 - filter("ECAM1"."CREATE_TS"= (SELECT MAX("ECAM2"."CREATE_TS") FROM "EDBC_CLIENT_AU_MEMB" "ECAM2", (SELECT
    MAX("ECAM3"."EFF_DTE") "VW_COL_1","ECAM3"."AU_ID_K" "AU_ID_K","ECAM3"."CLIENT_ID_K" "CLIENT_ID_K" FROM
    "EDBC_CLIENT_AU_MEMB" "ECAM3" WHERE "ECAM3"."EFF_DTE"<'01-SEP-12' AND "ECAM3"."AU_ID_K"=:B1 AND "ECAM3"."CLIENT_ID_K"=:B2
    AND "ECAM3"."CREATE_TS"<TO_TIMESTAMP('01-SEP-12 02.45.01.561483000 PM') GROUP BY "ECAM3"."AU_ID_K","ECAM3"."CLIENT_ID_K")
    "VW_SQ_3" WHERE "ECAM2"."CREATE_TS"<TO_TIMESTAMP('01-SEP-12 02.45.01.561483000 PM') AND "ECAM2"."EFF_DTE"="VW_COL_1" AND
    "AU_ID_K"="ECAM2"."AU_ID_K" AND "ECAM2"."AU_ID_K"=:B3 AND "ECAM2"."CLIENT_ID_K"=:B4 AND
    "CLIENT_ID_K"="ECAM2"."CLIENT_ID_K"))
    6 - access("EA1"."CREATE_TS"="VW_COL_1" AND "EDBC_ID_K"="EA1"."EDBC_ID_K")
    7 - filter("EA1"."AUTH_FLG"='Y')
    15 - access("CPWA2"."CREATE_TS"<TO_TIMESTAMP('01-SEP-12 02.45.01.561483000 PM'))
    filter("CPWA2"."CREATE_TS"<TO_TIMESTAMP('01-SEP-12 02.45.01.561483000 PM') AND "CPWA2"."EFF_DTE"= (SELECT
    MAX("CPWA3"."EFF_DTE") FROM "CLIENT_PRP_WRK_ACT" "CPWA3" WHERE "CPWA3"."EFF_DTE"<'01-SEP-12' AND "CPWA3"."CLIENT_ID_K"=:B1
    AND "CPWA3"."CREATE_TS"<TO_TIMESTAMP('01-SEP-12 02.45.01.561483000 PM')))
    17 - access("CPWA3"."CLIENT_ID_K"=:B1 AND "CPWA3"."EFF_DTE"<'01-SEP-12' AND "CPWA3"."CREATE_TS"<TO_TIMESTAMP('01-SEP-12
    02.45.01.561483000 PM'))
    filter("CPWA3"."CREATE_TS"<TO_TIMESTAMP('01-SEP-12 02.45.01.561483000 PM'))
    18 - filter("CPWA1"."END_DTE" IS NULL)
    19 - access("CLIENT_ID_K"="CPWA1"."CLIENT_ID_K" AND "CPWA1"."CREATE_TS"="VW_COL_1")
    filter("CPWA1"."CREATE_TS"="VW_COL_1")
    21 - access("CPWA1"."ID"="CLIENT_PRP_WRK_ACT_ID_K")
    filter("CPWAS1"."CREATE_TS"= (SELECT MAX("CPWAS2"."CREATE_TS") FROM "CLIENT_PRP_WRK_ACT_STAT" "CPWAS2", (SELECT
    MAX("$vm_col_1") "VW_COL_1","$vm_col_2" "CLIENT_PRP_WRK_ACT_ID_K" FROM (SELECT /*+ */ "CPWAS3"."EFF_DTE"
    "$vm_col_1","CPWAS3"."CLIENT_PRP_WRK_ACT_ID_K" "$vm_col_2" FROM "CLIENT_PRP_WRK_ACT_STAT"
    "CPWAS3","CLIENT_PRP_WRK_ACT_STAT" "CPWAS4" WHERE "CPWAS4"."EFF_DTE"<'01-SEP-12' AND "CPWAS4"."CLIENT_PRP_WRK_ACT_ID_K"=:B1
    AND "CPWAS4"."PRP_WRK_ACT_STAT_DTE"<'01-SEP-12' AND "CPWAS4"."CREATE_TS"<TO_TIMESTAMP('01-SEP-12 02.45.01.561483000 PM')
    AND "CPWAS3"."EFF_DTE"<'01-SEP-12' AND "CPWAS3"."CLIENT_PRP_WRK_ACT_ID_K"=:B2 AND
    "CPWAS4"."CLIENT_PRP_WRK_ACT_ID_K"="CPWAS3"."CLIENT_PRP_WRK_ACT_ID_K" AND "CPWAS3"."CREATE_TS"<TO_TIMESTAMP('01-SEP-12
    02.45.01.561483000 PM') GROUP BY "CPWAS3"."CLIENT_PRP_WRK_ACT_ID_K",ROWID,"CPWAS3"."PRP_WRK_ACT_STAT_DTE","CPWAS4"."CLIENT_P
    RP_WRK_ACT_ID_K","CPWAS3"."EFF_DTE" HAVING "CPWAS3"."PRP_WRK_ACT_STAT_DTE"=MAX("CPWAS4"."PRP_WRK_ACT_STAT_DTE")) "$vm_view"
    GROUP BY "$vm_col_2") "VW_SQ_2" WHERE "CPWAS2"."CREATE_TS"<TO_TIMESTAMP('01-SEP-12 02.45.01.561483000 PM') AND
    "CPWAS2"."EFF_DTE"="VW_COL_1" AND "CLIENT_PRP_WRK_ACT_ID_K"="CPWAS2"."CLIENT_PRP_WRK_ACT_ID_K" AND
    "CPWAS2"."CLIENT_PRP_WRK_ACT_ID_K"=:B3))
    27 - filter("CPWAS3"."PRP_WRK_ACT_STAT_DTE"=MAX("CPWAS4"."PRP_WRK_ACT_STAT_DTE"))
    29 - access("CPWAS4"."CLIENT_PRP_WRK_ACT_ID_K"="CPWAS3"."CLIENT_PRP_WRK_ACT_ID_K")
    30 - filter("CPWAS4"."PRP_WRK_ACT_STAT_DTE"<'01-SEP-12')
    31 - access("CPWAS4"."CLIENT_PRP_WRK_ACT_ID_K"=:B1 AND "CPWAS4"."EFF_DTE"<'01-SEP-12' AND
    "CPWAS4"."CREATE_TS"<TO_TIMESTAMP('01-SEP-12 02.45.01.561483000 PM'))
    filter("CPWAS4"."CREATE_TS"<TO_TIMESTAMP('01-SEP-12 02.45.01.561483000 PM'))
    33 - access("CPWAS3"."CLIENT_PRP_WRK_ACT_ID_K"=:B1 AND "CPWAS3"."EFF_DTE"<'01-SEP-12' AND
    "CPWAS3"."CREATE_TS"<TO_TIMESTAMP('01-SEP-12 02.45.01.561483000 PM'))
    filter("CPWAS3"."CREATE_TS"<TO_TIMESTAMP('01-SEP-12 02.45.01.561483000 PM'))
    34 - access("CLIENT_PRP_WRK_ACT_ID_K"="CPWAS2"."CLIENT_PRP_WRK_ACT_ID_K" AND "CPWAS2"."EFF_DTE"="VW_COL_1" AND
    "CPWAS2"."CREATE_TS"<TO_TIMESTAMP('01-SEP-12 02.45.01.561483000 PM'))
    filter("CPWAS2"."CLIENT_PRP_WRK_ACT_ID_K"=:B1)
    36 - access("ECAM1"."CLIENT_ID_K"="CPWA1"."CLIENT_ID_K")
    37 - filter("AED1"."ELIG_END_DTE"='30-SEP-12' AND "AED1"."EXISTS_FLG"='Y')
    38 - access("AED1"."AU_ID_K"="ECAM1"."AU_ID_K")
    filter("AED1"."CREATE_TS"= (SELECT MAX("AED2"."CREATE_TS") FROM "AU_ELIG_DTE" "AED2", (SELECT MAX("AED3"."EFF_DTE")
    "VW_COL_1","AED3"."AU_ID_K" "AU_ID_K" FROM "AU_ELIG_DTE" "AED3" WHERE "AED3"."EFF_DTE"<'01-SEP-12' AND "AED3"."AU_ID_K"=:B1
    AND "AED3"."CREATE_TS"<TO_TIMESTAMP('01-SEP-12 02.45.01.561483000 PM') GROUP BY "AED3"."AU_ID_K") "VW_SQ_4" WHERE
    "AED2"."AU_ID_K"=:B2 AND "AU_ID_K"="AED2"."AU_ID_K" AND "AED2"."EFF_DTE"="VW_COL_1" AND
    "AED2"."CREATE_TS"<TO_TIMESTAMP('01-SEP-12 02.45.01.561483000 PM')))
    40 - access("AED2"."EFF_DTE"="VW_COL_1" AND "AU_ID_K"="AED2"."AU_ID_K")
    43 - access("AED3"."AU_ID_K"=:B1 AND "AED3"."EFF_DTE"<'01-SEP-12' AND "AED3"."CREATE_TS"<TO_TIMESTAMP('01-SEP-12
    02.45.01.561483000 PM'))
    filter("AED3"."CREATE_TS"<TO_TIMESTAMP('01-SEP-12 02.45.01.561483000 PM'))
    44 - access("AED2"."AU_ID_K"=:B1 AND "AED2"."CREATE_TS"<TO_TIMESTAMP('01-SEP-12 02.45.01.561483000 PM'))
    filter("AED2"."CREATE_TS"<TO_TIMESTAMP('01-SEP-12 02.45.01.561483000 PM'))
    45 - access("AED1"."EDBC_ID_K"="EA1"."EDBC_ID_K")
    48 - access("EA2"."CREATE_TS"<TO_TIMESTAMP('01-SEP-12 02.45.01.561483000 PM'))
    filter("EA2"."CREATE_TS"<TO_TIMESTAMP('01-SEP-12 02.45.01.561483000 PM'))
    53 - access("ECAM3"."AU_ID_K"=:B1 AND "ECAM3"."CLIENT_ID_K"=:B2 AND "ECAM3"."EFF_DTE"<'01-SEP-12' AND
    "ECAM3"."CREATE_TS"<TO_TIMESTAMP('01-SEP-12 02.45.01.561483000 PM'))
    filter("ECAM3"."CLIENT_ID_K"=:B1 AND "ECAM3"."CREATE_TS"<TO_TIMESTAMP('01-SEP-12 02.45.01.561483000 PM'))
    54 - access("AU_ID_K"="ECAM2"."AU_ID_K" AND "ECAM2"."EFF_DTE"="VW_COL_1" AND "CLIENT_ID_K"="ECAM2"."CLIENT_ID_K" AND
    "ECAM2"."CREATE_TS"<TO_TIMESTAMP('01-SEP-12 02.45.01.561483000 PM'))
    filter("ECAM2"."AU_ID_K"=:B1 AND "ECAM2"."CLIENT_ID_K"=:B2 AND "CLIENT_ID_K"="ECAM2"."CLIENT_ID_K")
    55 - filter("AS1"."AU_STAT_CD_CODE_K"='ACTIVE')
    56 - access("AU_ID_K"="WRKACTAUS"."AU_ID_K")
    filter("AS1"."CREATE_TS"= (SELECT MAX("AS2"."CREATE_TS") FROM "AU_STAT" "AS2", (SELECT MAX("AS3"."EFF_DTE")
    "VW_COL_1","AS3"."AU_ID_K" "AU_ID_K" FROM "AU_STAT" "AS3" WHERE "AS3"."EFF_DTE"<'01-SEP-12' AND "AS3"."AU_ID_K"=:B1 AND
    "AS3"."CREATE_TS"<TO_TIMESTAMP('01-SEP-12 02.45.01.561483000 PM') GROUP BY "AS3"."AU_ID_K") "VW_SQ_7" WHERE
    "AS2"."AU_ID_K"=:B2 AND "AU_ID_K"="AS2"."AU_ID_K" AND "AS2"."EFF_DTE"="VW_COL_1" AND
    "AS2"."CREATE_TS"<TO_TIMESTAMP('01-SEP-12 02.45.01.561483000 PM')))
    58 - access("AS2"."EFF_DTE"="VW_COL_1" AND "AU_ID_K"="AS2"."AU_ID_K")
    61 - access("AS3"."AU_ID_K"=:B1 AND "AS3"."EFF_DTE"<'01-SEP-12' AND "AS3"."CREATE_TS"<TO_TIMESTAMP('01-SEP-12
    02.45.01.561483000 PM'))
    filter("AS3"."CREATE_TS"<TO_TIMESTAMP('01-SEP-12 02.45.01.561483000 PM'))
    62 - access("AS2"."AU_ID_K"=:B1 AND "AS2"."CREATE_TS"<TO_TIMESTAMP('01-SEP-12 02.45.01.561483000 PM'))
    filter("AS2"."CREATE_TS"<TO_TIMESTAMP('01-SEP-12 02.45.01.561483000 PM'))
    63 - filter("AU"."PGM_CD_CODE_K"='FF')
    64 - access("AU"."ID"="AS1"."AU_ID_K")
    >
    Part of Trace File
    >
    Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit Production
    With the Partitioning, Real Application Clusters, OLAP, Data Mining
    and Real Application Testing options
    ORACLE_HOME = /opt/app/oracle/product/10.2.0/db
    System name:     Linux
    Node name:     de0119006lb010
    Release:     2.6.18-308.11.1.el5
    Version:     #1 SMP Fri Jun 15 15:41:53 EDT 2012
    Machine:     x86_64
    Instance name: depdbprm3
    Redo thread mounted by this instance: 3
    Oracle process number: 103
    Unix process pid: 29158, image: oracle@de0119006lb010
    *** 2013-03-19 17:19:59.081
    *** ACTION NAME:() 2013-03-19 17:19:59.081
    *** MODULE NAME:(SQL Developer) 2013-03-19 17:19:59.081
    *** SERVICE NAME:(depdbprm) 2013-03-19 17:19:59.081
    *** SESSION ID:(1553.20651) 2013-03-19 17:19:59.081
    WAIT #3: nam='gc cr grant 2-way' ela= 236 p1=62 p2=568096 p3=1 obj#=328952 tim=1331769139727726
    WAIT #3: nam='db file sequential read' ela= 247 file#=62 block#=568096 blocks=1 obj#=328952 tim=1331769139728347
    WAIT #3: nam='gc cr grant 2-way' ela= 259 p1=62 p2=568449 p3=1 obj#=328952 tim=1331769141363681
    WAIT #3: nam='db file sequential read' ela= 267 file#=62 block#=568449 blocks=1 obj#=328952 tim=1331769141364023
    WAIT #3: nam='gc current block 2-way' ela= 356 p1=63 p2=135004 p3=1 obj#=328952 tim=1331769143207109
    WAIT #3: nam='gc current block 2-way' ela= 289 p1=63 p2=135073 p3=1 obj#=328952 tim=1331769143240780
    WAIT #3: nam='gc current block 3-way' ela= 562 p1=62 p2=568137 p3=1 obj#=328952 tim=1331769145591937
    WAIT #3: nam='gc current block 2-way' ela= 387 p1=63 p2=134686 p3=1 obj#=328952 tim=1331769145874228
    WAIT #3: nam='gc current block 3-way' ela= 607 p1=62 p2=567750 p3=1 obj#=328952 tim=1331769146961322
    *** 2013-03-19 17:20:09.096
    WAIT #3: nam='gc current block 2-way' ela= 352 p1=61 p2=546053 p3=1 obj#=328952 tim=1331769149508254
    WAIT #3: nam='gc current block 2-way' ela= 297 p1=61 p2=546052 p3=1 obj#=328952 tim=1331769149534031
    WAIT #3: nam='gc current block 2-way' ela= 398 p1=63 p2=134765 p3=1 obj#=328952 tim=1331769150388736
    WAIT #3: nam='gc current block 2-way' ela= 413 p1=43 p2=533298 p3=1 obj#=328952 tim=1331769150704716
    WAIT #3: nam='gc current block 2-way' ela= 261 p1=43 p2=533297 p3=1 obj#=328952 tim=1331769150716671
    WAIT #3: nam='gc current block 2-way' ela= 330 p1=57 p2=84679 p3=1 obj#=328952 tim=1331769152562873
    WAIT #3: nam='gc current block 2-way' ela= 393 p1=57 p2=84250 p3=1 obj#=328952 tim=1331769153124750
    WAIT #3: nam='gc current block 2-way' ela= 383 p1=57 p2=84492 p3=1 obj#=328952 tim=1331769153606792
    WAIT #3: nam='gc current block 2-way' ela= 371 p1=61 p2=545720 p3=1 obj#=328952 tim=1331769154680811
    WAIT #3: nam='gc current block 3-way' ela= 585 p1=62 p2=568311 p3=1 obj#=328952 tim=1331769154811847
    WAIT #3: nam='gc current block 3-way' ela= 496 p1=46 p2=189388 p3=1 obj#=328952 tim=1331769155959780
    WAIT #3: nam='gc current block 2-way' ela= 333 p1=138 p2=186289 p3=1 obj#=325456 tim=1331769155960430
    WAIT #3: nam='gc current block 2-way' ela= 396 p1=61 p2=546147 p3=1 obj#=328952 tim=1331769156319216
    WAIT #3: nam='gc current block 2-way' ela= 361 p1=43 p2=533326 p3=1 obj#=328952 tim=1331769156496194
    WAIT #3: nam='gc current block 2-way' ela= 355 p1=61 p2=546055 p3=1 obj#=328952 tim=1331769156676604
    WAIT #3: nam='gc current block 2-way' ela= 380 p1=23 p2=1024150 p3=1 obj#=328952 tim=1331769158887190
    *** 2013-03-19 17:20:21.424
    WAIT #3: nam='gc current block 2-way' ela= 345 p1=56 p2=640594 p3=1 obj#=328952 tim=1331769161546890
    WAIT #3: nam='gc current block 2-way' ela= 373 p1=62 p2=568040 p3=1 obj#=328952 tim=1331769163580880
    WAIT #3: nam='gc current block 2-way' ela= 395 p1=179 p2=201084 p3=1 obj#=328952 tim=1331769164782836
    WAIT #3: nam='gc current block 2-way' ela= 399 p1=179 p2=201085 p3=1 obj#=328952 tim=1331769164873539
    WAIT #3: nam='gc current block 2-way' ela= 276 p1=179 p2=201083 p3=1 obj#=328952 tim=1331769164882366
    WAIT #3: nam='gc current block 2-way' ela= 406 p1=56 p2=640077 p3=1 obj#=328952 tim=1331769164960368
    WAIT #3: nam='gc current block 3-way' ela= 553 p1=200 p2=191022 p3=1 obj#=328952 tim=1331769166617564
    WAIT #3: nam='gc current block 2-way' ela= 383 p1=62 p2=567988 p3=1 obj#=328952 tim=1331769167885558
    WAIT #3: nam='gc current block 2-way' ela= 359 p1=61 p2=545391 p3=1 obj#=328952 tim=1331769169178262
    WAIT #3: nam='gc current block 2-way' ela= 394 p1=60 p2=103677 p3=1 obj#=328952 tim=1331769171025394
    WAIT #3: nam='gc current block 2-way' ela= 267 p1=60 p2=103678 p3=1 obj#=328952 tim=1331769171033578
    *** 2013-03-19 17:20:31.805
    WAIT #3: nam='gc current block 2-way' ela= 622 p1=60 p2=104513 p3=1 obj#=328952 tim=1331769171684584
    WAIT #3: nam='gc current block 2-way' ela= 272 p1=52 p2=137262 p3=1 obj#=328952 tim=1331769171912038
    WAIT #3: nam='gc current block 2-way' ela= 369 p1=57 p2=84425 p3=1 obj#=328952 tim=1331769173674500
    WAIT #3: nam='gc current block 2-way' ela= 307 p1=60 p2=103758 p3=1 obj#=328952 tim=1331769174117156
    WAIT #3: nam='gc current block 3-way' ela= 668 p1=62 p2=567896 p3=1 obj#=328952 tim=1331769174388555
    WAIT #3: nam='gc current block 2-way' ela= 321 p1=55 p2=158741 p3=1 obj#=328952 tim=1331769175733472
    WAIT #3: nam='gc current block 2-way' ela= 368 p1=60 p2=104123 p3=1 obj#=328952 tim=1331769178620478
    WAIT #3: nam='gc current block 2-way' ela= 406 p1=27 p2=102113 p3=1 obj#=328952 tim=1331769181249151
    *** 2013-03-19 17:20:52.545
    WAIT #3: nam='gc current block 2-way' ela= 391 p1=186 p2=204072 p3=1 obj#=328952 tim=1331769191939303
    WAIT #3: nam='gc current block 3-way' ela= 547 p1=57 p2=64435 p3=1 obj#=327198 tim=1331769191940250
    WAIT #3: nam='gc current block 2-way' ela= 370 p1=24 p2=106010 p3=1 obj#=328952 tim=1331769193513721
    WAIT #3: nam='gc current block 2-way' ela= 447 p1=57 p2=84352 p3=1 obj#=328952 tim=1331769194379712
    WAIT #3: nam='gc current block 2-way' ela= 388 p1=63 p2=135154 p3=1 obj#=328952 tim=1331769194780054
    WAIT #3: nam='gc current block 2-way' ela= 349 p1=14 p2=379706 p3=1 obj#=328952 tim=1331769201061077
    WAIT #3: nam='gc current block 2-way' ela= 106 p1=14 p2=379705 p3=1 obj#=328952 tim=1331769201066997
    *** 2013-03-19 17:21:06.606
    WAIT #3: nam='gc current block 2-way' ela= 423 p1=196 p2=202210 p3=1 obj#=328952 tim=133176920567
    >
    Object Information
    >
    select * from dba_objects where object_id = '328952';
    XXXX AS_AIK_ASCCK_I          328952     328952     INDEX     20-FEB-13     20-FEB-13     2013-02-20:19:23:02     VALID     N     N     N
    >
    Thanks,
    Vijay

  • How to Set Up Content Blocker to Block All Sites Except Those That Are Listed?

    How to Set Up Content Blocker to Block All Sites Except Those That Are Listed by Firefox?

    One other item I thought I would pass along...
    I noticed that the NVG589 gets terribly confused if a device behind it isn't setup properly first to be a static address.
    Here's the behavior: Say you have a router of your own and you intend to give it one of the addresses from your static IP block. You decide to set it up first and don't make the changes initially in the 589 to force it to be a static IP of some kind-- whether in the private or the public block. You configure the router in this case with DHCP. Your router starts handing out addresses in its own IP range however your configured it.
    But look what the 589 thinks is happening: it sees the DHCP client name associated with the same MAC address changing constantly. It makes entries for each different client name in its device list, sometimes aging out, sometimes not.
    Now trying to save the private IP will result in a "missing data" error. Worse, trying to change things to a public static IP will result in similar messages about the IP being in the wrong range.
    The same issue can also occur if the device was setup statically in the private range and you try to change it to a public static IP.
    The only way to fix this:
    1) If you intend to advertise the router on an IP from your static block, disconnect all devices from the router and the RG, except for the router you want to setup. Wait for the RG to see them as "offline" in the device list. Alternatively, if you intend to setup another device or server on a Static IP, make sure it is the only device connected to the RG.
    2) Switch the IP allocation to "Public"
    3) Renew the lease on the device
    4) Go into the IP Allocation page and fix the IP to one of the public static IPs from your pool
    5) Reconnect all devices.
    Generally, the best practice is to setup each static IP device before connecting any others to the RG.

  • How to logically corrupt a block

    sir
    i know different ways to check whether the block is corrupted.
    But i can test it only if any block is corrupted .
    how will u make a block corrupt . i will bw very much grateful if u can give an
    example for the block corruption .

    Hi Sheila M
    I need to find a way to extract lists of emails from Junk mail folder and add them en masse to blocked senders, without having to add them to my blocked senders one by one.
    I have had the same email address for too long to change it, but I receive huge amounts of junk mail. I have so far barred nearly 2000 senders and have 1100 sitting in my junk folder form the last week. I barred them one by one, using RULES function...I simply cannot keep doing this.
    I have MacBook Pro running Mavericks, plus iPad plus iPhone 5.
    The problem is aggravated by the fact that Apple has a weakness in Mail: I may bar thousands of senders on my Mac, but the filter does not sync the barred addresses to my iPad or iPhone, so if I use Mail on either, I get many thousands of emails at once and have to mark them one by one to delete. It's ridiculous.
    To solve this problem, I have decided to do is block all the senders in webmail.
    However I still have the same problem with extracting multiple addresses from my junk mail folder in order to copy them into blocked senders list.
    Genius Bar said it can't be done. I think they're wrong. There simply as to be (a) a location on my Mac where I can find a list of all those I have already barred; (b) a way to extract email addresses from groups of received mail.
    I'd be grateful for some advice, please.

  • I have been using itunes all day and then it wanted me to install a newer version.  When I did it said I can't because it's missing mdsvr80 or something so i downloaded that now it has another error.  How do I get itunes back the way it was or to work?

    I have been using itunes all day and then it wanted me to install a newer version.  When I did it said I can't because it's missing mdsvr80 or something so i downloaded that now it has another error.  How do I get itunes back the way it was or to work?

    See this User Tip by turingtest2
    https://discussions.apple.com/docs/DOC-6562

  • I keep getting calls from a block caller id and it's some dude speaking arabian what do i do? How do i stop this?

    I keep getting calls from a block caller id and it's some dude speaking arabian what do i do? How do i stop this?

    Stop answering calls with blocked numbers. If it's someone who really wants to talk to you, they'll leave you a message and you can call them back.

  • How to tune this SQL Query?

    Hi all expert out there,
    I am using Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit Production With the Partitioning, Real Application Clusters, OLAP, Data Mining and Real Application Testing options.
    I have this ERP 11i query took 3-4hours to execute. can anyone help to have a look at the Query so make it more faster? I am already out of my idea of solving this. Kindly helpzzz...
    SELECT
    /*+ first_rows(1)*/
    hou.name "OU" ,-- e.g. Seagate Technology USOP1 ,
    mc.description,
    oel.ordered_item "Product Part Number",
    oeh.order_number "Order Num",
    hp.party_name "Bill To Cust Name",
    hcsu.location "Ship To Cust Num",
    oel.line_number || '.' || oel.shipment_number "Order Line Num",
    ft.nls_territory "Ship To Country",
    mc.segment7 "designapplication",
    ccm.formattedcapacity||'GB' "Capacity",
    oel.attribute1 "Order Category",
    oel.Subinventory "Subinventory",
    to_char(oel.actual_shipment_date,'MM/DD/YYYY DY') "Shipment Date",
    NVL(oel.shipped_quantity,0) "Net Units"
    FROM
    oe_order_headers_all oeh
    ,oe_order_lines_all oel
    ,apps.hz_parties hp
    ,apps.hz_cust_accounts hca
    ,apps.hz_cust_site_uses_all hcsu
    ,apps.hz_cust_acct_sites_all hcas
    , apps.seaeng_ccfamilymodelinfo ccm
    ,apps.hz_party_sites hps
    ,apps.fnd_territories ft
    ,apps.hz_locations hl
    ,apps.hr_organization_units hou
    ,apps.mtl_parameters mp
    ,apps.mtl_item_categories mic
    ,apps.mtl_categories_b mc
    ,apps.fnd_lookup_values flv
    WHERE
    oeh.header_id = oel.header_id
    AND oel.flow_status_code = 'CLOSED'
    AND oeh.invoice_to_org_id = hcsu.site_use_id
    AND hl.country = ft.territory_code
    AND hps.location_id = hl.location_id
    AND hcas.party_site_id = hps.party_site_id
    AND hcsu.cust_acct_site_id = hcas.cust_acct_site_id
    AND hcas.cust_account_id = hca.cust_account_id
    AND hca.party_id = hp.party_id
    AND oeh.org_id = hou.organization_id
    AND oel.ship_from_org_id = mp.organization_id
    AND oel.inventory_item_id = mic.inventory_item_id
    AND mic.category_id = mc.category_id
    AND mic.category_set_id = 4
    AND mc.description = ccm.stmodelnumber
    AND flv.lookup_code = hca.sales_channel_code
    AND flv.lookup_type = 'SALES_CHANNEL'
    AND mc.segment7 IN ('PSG','ESG','NSG')
    AND flv.lookup_code NOT IN ('RTL','AD-RTL','EU')
    AND oel.attribute1 IN ('NB','NBEOL','NBSEA')
    AND oel.subinventory IN ('KFGI','AFGI','SFGIF','FGIF')
    AND hou.organization_id = 189
    AND trunc(oel.actual_shipment_date) between TO_DATE('01-Jan-2009','DD-MON-YYYY') and TO_DATE('31-JAN-2009','DD-MON-YYYY')
    regards,
    Lygine
    Edited by: user8989062 on Jun 7, 2010 6:39 PM

    5) The TKPROF output for this statement looks like the following:
    SELECT
    /*+ first_rows(1)*/
    hou.name "OU" ,-- e.g. Seagate Technology USOP1 ,
    mc.description,
    oel.ordered_item "Product Part Number",
    oeh.order_number "Order Num",
      hp.party_name  "Bill To Cust Name",
    hcsu.location "Ship To Cust Num",
    oel.line_number || '.' || oel.shipment_number "Order Line Num",
    ft.nls_territory  "Ship To Country",
    mc.segment7 "designapplication",
    ccm.formattedcapacity||'GB' "Capacity",
    oel.attribute1 "Order Category",
    oel.Subinventory "Subinventory",
    to_char(oel.actual_shipment_date,'MM/DD/YYYY DY') "Shipment Date",
    NVL(oel.shipped_quantity,0) "Net Units"
    FROM
          oe_order_headers_all oeh
         ,oe_order_lines_all   oel
         ,apps.hz_parties  hp
         ,apps.hz_cust_accounts  hca
         ,apps.hz_cust_site_uses_all   hcsu
         ,apps.hz_cust_acct_sites_all  hcas
        , apps.seaeng_ccfamilymodelinfo ccm
         ,apps.hz_party_sites hps
         ,apps.fnd_territories ft
         ,apps.hz_locations hl
         ,apps.hr_organization_units  hou
         ,apps.mtl_parameters  mp
         ,apps.mtl_item_categories mic
         ,apps.mtl_categories_b mc
         ,apps.fnd_lookup_values flv
    WHERE
               oeh.header_id = oel.header_id
    AND   oel.flow_status_code = 'CLOSED'
    AND   oeh.invoice_to_org_id = hcsu.site_use_id
    AND   hl.country = ft.territory_code
    AND   hps.location_id = hl.location_id
    AND   hcas.party_site_id = hps.party_site_id
    AND   hcsu.cust_acct_site_id = hcas.cust_acct_site_id
    AND   hcas.cust_account_id = hca.cust_account_id
    AND   hca.party_id   = hp.party_id
    AND   oeh.org_id = hou.organization_id
    AND   oel.ship_from_org_id = mp.organization_id
    AND   oel.inventory_item_id = mic.inventory_item_id
    AND   mic.category_id = mc.category_id
    AND   mic.category_set_id = 4
    AND   mc.description = ccm.stmodelnumber
    AND   flv.lookup_code = hca.sales_channel_code
    AND   flv.lookup_type = 'SALES_CHANNEL'
    AND mc.segment7 IN ('PSG','ESG','NSG')
    AND flv.lookup_code NOT IN ('RTL','AD-RTL','EU')
    AND oel.attribute1 IN ('NB','NBEOL','NBSEA')
    AND oel.subinventory IN ('KFGI','AFGI','SFGIF','FGIF')
    AND hou.organization_id = 189
    AND trunc(oel.actual_shipment_date) between TO_DATE('01-Jan-2009','DD-MON-YYYY') and TO_DATE('31-JAN-2009','DD-MON-YYYY')
    call     count       cpu    elapsed       disk      query    current        rows
    Parse        1      0.79       0.79          0          0          0           0
    Execute      1      0.00       0.00          0          0          0           0
    Fetch        7     22.23     240.85      19781     536082          0         592
    total        9     23.02     241.64      19781     536082          0         592
    Misses in library cache during parse: 1
    Optimizer mode: FIRST_ROWS
    Parsing user id: 173 
    Rows     Row Source Operation
        592  NESTED LOOPS  (cr=536082 pr=19781 pw=0 time=240822989 us)
        592   NESTED LOOPS  (cr=534885 pr=19776 pw=0 time=239960969 us)
        592    NESTED LOOPS  (cr=533688 pr=19776 pw=0 time=239902332 us)
        594     NESTED LOOPS  (cr=532493 pr=19776 pw=0 time=239811721 us)
        594      NESTED LOOPS  (cr=531892 pr=19776 pw=0 time=239794703 us)
        594       NESTED LOOPS  (cr=530693 pr=19772 pw=0 time=239325284 us)
        594        NESTED LOOPS  (cr=529498 pr=19770 pw=0 time=239152940 us)
        594         NESTED LOOPS  (cr=527709 pr=19766 pw=0 time=236850676 us)
        594          NESTED LOOPS  (cr=525920 pr=19764 pw=0 time=235640068 us)
       2990           NESTED LOOPS  (cr=516943 pr=19688 pw=0 time=195144282 us)
       2990            NESTED LOOPS  (cr=516936 pr=19688 pw=0 time=195120297 us)
       2990             NESTED LOOPS  (cr=510806 pr=19682 pw=0 time=194678671 us)
       3000              HASH JOIN  (cr=504799 pr=19669 pw=0 time=193829763 us)
       3000               NESTED LOOPS  (cr=472280 pr=360 pw=0 time=49218087 us)
          1                NESTED LOOPS  (cr=1029 pr=34 pw=0 time=1745829 us)
          1                 TABLE ACCESS BY INDEX ROWID HR_ALL_ORGANIZATION_UNITS_TL (cr=424 pr=25 pw=0 time=1361442 us)
          1                  INDEX UNIQUE SCAN HR_ALL_ORGANIZATION_UNTS_TL_PK (cr=423 pr=25 pw=0 time=1361397 us)(object id 44637)
          1                 TABLE ACCESS BY INDEX ROWID HR_ALL_ORGANIZATION_UNITS (cr=605 pr=9 pw=0 time=384370 us)
          1                  INDEX UNIQUE SCAN HR_ORGANIZATION_UNITS_PK (cr=1 pr=0 pw=0 time=27 us)(object id 43498)
       3000                TABLE ACCESS BY INDEX ROWID OE_ORDER_LINES_ALL (cr=471251 pr=326 pw=0 time=47466249 us)
    156922                 INDEX RANGE SCAN OE_ORDER_LINES_N20 (cr=420 pr=7 pw=0 time=787919 us)(object id 37005064)
    263469               TABLE ACCESS FULL MTL_ITEM_CATEGORIES (cr=32519 pr=19309 pw=0 time=144242743 us)
       2990              TABLE ACCESS BY INDEX ROWID MTL_CATEGORIES_B (cr=6007 pr=13 pw=0 time=843569 us)
       3000               INDEX UNIQUE SCAN MTL_CATEGORIES_B_U1 (cr=3007 pr=2 pw=0 time=162636 us)(object id 37199)
       2990             TABLE ACCESS BY INDEX ROWID SEAENG_CCFAMILYMODELINFO (cr=6130 pr=6 pw=0 time=437784 us)
       2990              INDEX UNIQUE SCAN SEAENG_CCFAMILYMODELINFO_U1 (cr=2997 pr=0 pw=0 time=52872 us)(object id 35838918)
       2990            INDEX UNIQUE SCAN MTL_PARAMETERS_U1 (cr=7 pr=0 pw=0 time=16332 us)(object id 37657)
        594           TABLE ACCESS BY INDEX ROWID OE_ORDER_HEADERS_ALL (cr=8977 pr=76 pw=0 time=40491633 us)
       2990            INDEX UNIQUE SCAN OE_ORDER_HEADERS_U1 (cr=5987 pr=45 pw=0 time=2504442 us)(object id 41952)
        594          TABLE ACCESS BY INDEX ROWID HZ_CUST_SITE_USES_ALL (cr=1789 pr=2 pw=0 time=1208576 us)
        594           INDEX UNIQUE SCAN HZ_CUST_SITE_USES_U1 (cr=1195 pr=1 pw=0 time=105934 us)(object id 25124976)
        594         TABLE ACCESS BY INDEX ROWID HZ_CUST_ACCT_SITES_ALL (cr=1789 pr=4 pw=0 time=2300224 us)
        594          INDEX UNIQUE SCAN HZ_CUST_ACCT_SITES_U1 (cr=1195 pr=2 pw=0 time=152238 us)(object id 25124996)
        594        TABLE ACCESS BY INDEX ROWID HZ_PARTY_SITES (cr=1195 pr=2 pw=0 time=170875 us)
        594         INDEX UNIQUE SCAN HZ_PARTY_SITES_U1 (cr=601 pr=1 pw=0 time=104550 us)(object id 25124993)
        594       TABLE ACCESS BY INDEX ROWID HZ_LOCATIONS (cr=1199 pr=4 pw=0 time=467329 us)
        594        INDEX UNIQUE SCAN HZ_LOCATIONS_U1 (cr=601 pr=0 pw=0 time=57749 us)(object id 25124992)
        594      TABLE ACCESS BY INDEX ROWID FND_TERRITORIES (cr=601 pr=0 pw=0 time=15562 us)
        594       INDEX UNIQUE SCAN FND_TERRITORIES_U1 (cr=7 pr=0 pw=0 time=6492 us)(object id 33083)
        592     TABLE ACCESS BY INDEX ROWID HZ_CUST_ACCOUNTS (cr=1195 pr=0 pw=0 time=88925 us)
        594      INDEX UNIQUE SCAN HZ_CUST_ACCOUNTS_U1 (cr=601 pr=0 pw=0 time=27607 us)(object id 81600)
        592    INDEX RANGE SCAN FND_LOOKUP_VALUES_U1 (cr=1197 pr=0 pw=0 time=56714 us)(object id 32878)
        592   TABLE ACCESS BY INDEX ROWID HZ_PARTIES (cr=1197 pr=5 pw=0 time=860140 us)
        592    INDEX UNIQUE SCAN HZ_PARTIES_U1 (cr=599 pr=0 pw=0 time=51136 us)(object id 25126074)
    Elapsed times include waiting on following events:
      Event waited on                             Times   Max. Wait  Total Waited
      ----------------------------------------   Waited  ----------  ------------
      SQL*Net message to client                       7        0.00          0.00
      row cache lock                                  1        0.00          0.00
      gc current block 2-way                      24112        0.00         19.28
      gc cr grant 2-way                             406        0.00          0.19
      db file sequential read                       441        0.09         14.11
      gc cr block 2-way                             284        0.00          0.23
      gc cr block busy                              147        0.19          9.59
      gc current block congested                      2        0.00          0.00
      gc cr multi block request                   13079        0.00          3.98
      SQL*Net message from client                     7        0.27          1.87
      gc cr failure                                  39        0.00          0.02
      cr request retry                               39        0.98         38.27
      SQL*Net more data to client                    12        0.00          0.00
      db file scattered read                       2446        0.13        132.58
      gc cr disk read                                 5        0.00          0.00
    ********************************************************************************6) The DBMS_XPLAN.DISPLAY_CURSOR output:
    SQL> select * from table(dbms_xplan.display_cursor(null, null, 'ALLSTATS LAST'));
    PLAN_TABLE_OUTPUT
    SQL_ID  b8pfhfxscqn1m, child number 0
    SELECT  /*+ gather_plan_statistics */  hou.name "OU" ,-- e.g. Seagate Technology USOP1 ,  mc.descript
    oeh.order_number "Order Num",   hp.party_name  "Bill To Cust Name",  hcsu.location "Ship To Cust Num",
    Num",  ft.nls_territory  "Ship To Country",  mc.segment7 "designapplication",  ccm.formattedcapacity
    oel.Subinventory "Subinventory",  to_char(oel.actual_shipment_date,'MM/DD/YYYY DY') "Shipment Date",
    oe_order_headers_all oeh      ,oe_order_lines_all   oel      ,apps.hz_parties  hp      ,apps.hz_cust
    ,apps.hz_cust_acct_sites_all  hcas     , apps.seaeng_ccfamilymodelinfo ccm      ,apps.hz_party_sites hps
        ,apps.hr_organization_units  hou      ,apps.mtl_paramete
    Plan hash value: 414863479
    | Id  | Operation                                  | Name                           | Starts | E-Rows | A-Rows |   A-Time   | Buffers | Reads  |  O
    |   1 |  NESTED LOOPS                              |                                |      1 |      1 |    592 |00:02:25.13 |     535K|  57267 |       |
    |   2 |   NESTED LOOPS                             |                                |      1 |      1 |    592 |00:02:24.22 |     533K|  57185 |      
    |   3 |    NESTED LOOPS                            |                                |      1 |      1 |    592 |00:02:24.15 |     532K|  57183 |     
    |   4 |     NESTED LOOPS                           |                                |      1 |      1 |    594 |00:02:24.00 |     531K|  57171 |     
    |   5 |      NESTED LOOPS                          |                                |      1 |      1 |    594 |00:02:23.98 |     530K|  57170 |    
    |   6 |       NESTED LOOPS                         |                                |      1 |      1 |    594 |00:02:23.49 |     529K|  57129 |   
    |   7 |        NESTED LOOPS                        |                                |      1 |      1 |    594 |00:02:23.08 |     528K|  57096 |  
    |   8 |         NESTED LOOPS                       |                                |      1 |      1 |    594 |00:02:22.51 |     526K|  57031 |       |
    |   9 |          NESTED LOOPS                      |                                |      1 |      1 |    594 |00:02:21.79 |     524K|  56968 |       |
    |  10 |           NESTED LOOPS                     |                                |      1 |      1 |   2990 |00:02:09.65 |     515K|  55703 |      
    |  11 |            NESTED LOOPS                    |                                |      1 |      1 |   2990 |00:02:09.62 |     515K|  55703 |     
    |  12 |             NESTED LOOPS                   |                                |      1 |      1 |   2990 |00:02:08.47 |     509K|  55599 |     
    |* 13 |              HASH JOIN                     |                                |      1 |      2 |   3000 |00:02:07.88 |     503K|  55516 |   974K
    |  14 |               NESTED LOOPS                 |                                |      1 |      2 |   3000 |00:01:39.07 |     471K|  23025 |   
    |  15 |                NESTED LOOPS                |                                |      1 |      1 |      1 |00:00:00.01 |       4 |      0 |  
    |  16 |                 TABLE ACCESS BY INDEX ROWID| HR_ALL_ORGANIZATION_UNITS_TL   |      1 |      1 |      1 |00:00
    |* 17 |                  INDEX UNIQUE SCAN         | HR_ALL_ORGANIZATION_UNTS_TL_PK |      1 |      1 |      1 |00:00:00.0
    |* 18 |                 TABLE ACCESS BY INDEX ROWID| HR_ALL_ORGANIZATION_UNITS      |      1 |      1 |      1 |00:00:
    |* 19 |                  INDEX UNIQUE SCAN         | HR_ORGANIZATION_UNITS_PK       |      1 |      1 |      1 |00:00:00.01
    |* 20 |                TABLE ACCESS BY INDEX ROWID | OE_ORDER_LINES_ALL             |      1 |      2 |   3000 |00:01
    |* 21 |                 INDEX RANGE SCAN           | OE_ORDER_LINES_N20             |      1 |  47575 |    156K|00:00:01.76 |     420
    |* 22 |               TABLE ACCESS FULL            | MTL_ITEM_CATEGORIES            |      1 |  96977 |    263K|00:00:28.49
    |* 23 |              TABLE ACCESS BY INDEX ROWID   | MTL_CATEGORIES_B               |   3000 |      1 |   2990 |00:00:0
    |* 24 |               INDEX UNIQUE SCAN            | MTL_CATEGORIES_B_U1            |   3000 |      1 |   3000 |00:00:00.21
    |  25 |             TABLE ACCESS BY INDEX ROWID    | SEAENG_CCFAMILYMODELINFO       |   2990 |      1 |   2990 |
    |* 26 |              INDEX UNIQUE SCAN             | SEAENG_CCFAMILYMODELINFO_U1    |   2990 |      1 |   2990 |00:00:
    |* 27 |            INDEX UNIQUE SCAN               | MTL_PARAMETERS_U1              |   2990 |      1 |   2990 |00:00:00.02 |    
    |* 28 |           TABLE ACCESS BY INDEX ROWID      | OE_ORDER_HEADERS_ALL           |   2990 |      1 |    594 |00:00:
    |* 29 |            INDEX UNIQUE SCAN               | OE_ORDER_HEADERS_U1            |   2990 |      1 |   2990 |00:00:04.29 |   
    |  30 |          TABLE ACCESS BY INDEX ROWID       | HZ_CUST_SITE_USES_ALL          |    594 |      1 |    594 |00:00:
    |* 31 |           INDEX UNIQUE SCAN                | HZ_CUST_SITE_USES_U1           |    594 |      1 |    594 |00:00:00.31 |   
    |  32 |         TABLE ACCESS BY INDEX ROWID        | HZ_CUST_ACCT_SITES_ALL         |    594 |      1 |    594 |00:00:
    |* 33 |          INDEX UNIQUE SCAN                 | HZ_CUST_ACCT_SITES_U1          |    594 |      1 |    594 |00:00:00.23 |   
    |  34 |        TABLE ACCESS BY INDEX ROWID         | HZ_PARTY_SITES                 |    594 |      1 |    594 |00:00:0
    |* 35 |         INDEX UNIQUE SCAN                  | HZ_PARTY_SITES_U1              |    594 |      1 |    594 |00:00:00.17 |     601
    |  36 |       TABLE ACCESS BY INDEX ROWID          | HZ_LOCATIONS                   |    594 |      1 |    594 |00:00:00.4
    |* 37 |        INDEX UNIQUE SCAN                   | HZ_LOCATIONS_U1                |    594 |      1 |    594 |00:00:00.17 |   
    |  38 |      TABLE ACCESS BY INDEX ROWID           | FND_TERRITORIES                |    594 |      1 |    594 |00:00:00
    |* 39 |       INDEX UNIQUE SCAN                    | FND_TERRITORIES_U1             |    594 |      1 |    594 |00:00:00.02
    |* 40 |     TABLE ACCESS BY INDEX ROWID            | HZ_CUST_ACCOUNTS               |    594 |      1 |    592 |00:00:0
    |* 41 |      INDEX UNIQUE SCAN                     | HZ_CUST_ACCOUNTS_U1            |    594 |      1 |    594 |00:00:00.04 |
    |* 42 |    INDEX RANGE SCAN                        | FND_LOOKUP_VALUES_U1           |    592 |      1 |    592 |00:00:00.06 |   
    |  43 |   TABLE ACCESS BY INDEX ROWID              | HZ_PARTIES                     |    592 |      1 |    592 |00:00:00.91 |  
    |* 44 |    INDEX UNIQUE SCAN                       | HZ_PARTIES_U1                  |    592 |      1 |    592 |00:00:00.40 |     599
    Predicate Information (identified by operation id):
      13 - access("OEL"."INVENTORY_ITEM_ID"="MIC"."INVENTORY_ITEM_ID")
      17 - access("HAOTL"."ORGANIZATION_ID"=189 AND "HAOTL"."LANGUAGE"=USERENV('LANG'))
           filter(DECODE("HR_SECURITY"."VIEW_ALL"(),'Y','TRUE',"HR_SECURITY"."SHOW_RECORD"('HR_ALL_ORGAN
      18 - filter("HAO"."BUSINESS_GROUP_ID"=DECODE("HR_GENERAL"."GET_XBG_PROFILE"(),'Y',"HAO"."BUSINESS_
      19 - access("HAO"."ORGANIZATION_ID"=189)
      20 - filter(("OEL"."FLOW_STATUS_CODE"='CLOSED' AND INTERNAL_FUNCTION("OEL"."ATTRIBUTE1") AND INTER
      21 - access("OEL"."SYS_NC00342$">=TO_DATE(' 2009-01-01 00:00:00', 'syyyy-mm-dd hh24:mi:ss') AND "O
                  'syyyy-mm-dd hh24:mi:ss'))
      22 - filter("MIC"."CATEGORY_SET_ID"=4)
      23 - filter(("MC"."DESCRIPTION" IS NOT NULL AND INTERNAL_FUNCTION("MC"."SEGMENT7")))
      24 - access("MIC"."CATEGORY_ID"="MC"."CATEGORY_ID")
      26 - access("MC"."DESCRIPTION"="CCM"."STMODELNUMBER")
      27 - access("OEL"."SHIP_FROM_ORG_ID"="MP"."ORGANIZATION_ID")
      28 - filter("OEH"."ORG_ID"=189)
      29 - access("OEH"."HEADER_ID"="OEL"."HEADER_ID")
      31 - access("OEH"."INVOICE_TO_ORG_ID"="HCSU"."SITE_USE_ID")
      33 - access("HCSU"."CUST_ACCT_SITE_ID"="HCAS"."CUST_ACCT_SITE_ID")
      35 - access("HCAS"."PARTY_SITE_ID"="HPS"."PARTY_SITE_ID")
      37 - access("HPS"."LOCATION_ID"="HL"."LOCATION_ID")
      39 - access("HL"."COUNTRY"="FT"."TERRITORY_CODE")
      40 - filter(("HCA"."SALES_CHANNEL_CODE"<>'RTL' AND "HCA"."SALES_CHANNEL_CODE"<>'AD-RTL' AND "HCA".
      41 - access("HCAS"."CUST_ACCOUNT_ID"="HCA"."CUST_ACCOUNT_ID")
      42 - access("FLV"."LOOKUP_TYPE"='SALES_CHANNEL' AND "FLV"."LOOKUP_CODE"="HCA"."SALES_CHANNEL_CODE"
           filter(("FLV"."LOOKUP_CODE"<>'RTL' AND "FLV"."LOOKUP_CODE"<>'AD-RTL' AND "FLV"."LOOKUP_CODE"<
      44 - access("HCA"."PARTY_ID"="HP"."PARTY_ID")
    90 rows selected.
    {code}                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              &nbs

Maybe you are looking for

  • Stock on a particular day

    Hii this is Srikanth, i am working in a product based company, so i need a report details of  "Stock on a particular day". Because, my boss needs, if u give u date he need to get for that day stock for plant wise. for this he is going to enter i.e, i

  • HT2534 i can't remove my credit card....help

    help me please

  • How to go back to old Pages (09)?

    I clicked to download Numbers 2013 today (it's free now, why not?) and for some reason I was also upgraded from Pages '09 to '13! I had previously been using Pages 09 and specifically DID NOT want to upgrade to the new version. I realize the old vers

  • Preview MS Word Document?

    Hi, I have a small website with a two column layout.  In the left column I display a list of links to MS Word documents.  When the user rolls over a link to a document, I want to show a preview of the Microsoft Word document in the 2nd column.  How c

  • How to use Sql Lite with AiR application

    Hi, I am new to SqlLite , i need to fetch the details from the db file and i need to update every time . when the user click the update file . can any one help me hw to solve this issue ~~ Sk