Double WINDOW SORT Operation

Please review following SQL and it's execution plan. Why am I seeing 2 WINDOW SORT operations even though in sql . analytic function "row_number" has been used only once?
Also, In step 3 of the plan, why "bytes" goes from 35 GB(4th step) to 88GB when row count remains the same. In fact , since I'm selecting just 1st row , both row count as well as "bytes" should have gone down. Shouldn't it?
  SELECT orddtl.ord_dtl_key, orddtl.ld_nbr, orddtl.actv_flg,
         orddtl.ord_nbr
     FROM (SELECT /*+ parallel(od, 8) parallel(sc,8) */  od.ord_dtl_key, od.ld_nbr, od.actv_flg,
                  od.ord_nbr,
                  ROW_NUMBER () OVER (PARTITION BY od.ord_dtl_key, od.START_TS ORDER BY sc.START_TS DESC)
                                                                      rownbr
             FROM edw.order_detail od LEFT OUTER JOIN edw.srvc_code sc
                  ON (    sc.srvc_cd_key = od.srvc_cd_key
                      AND od.part_nbr = sc.part_nbr
                      AND od.item_cre_dt >= sc.START_TS
                      AND od.item_cre_dt < sc.END_TS
            WHERE od.part_nbr = 11 ) orddtl
    WHERE orddtl.rownbr = 1;Execution Plan
| Id  | Operation                      | Name              | Rows  | Bytes |TempSpc| Cost (%CPU)| Time     | Pstart| Pstop |    TQ  |IN-OUT| PQ Distrib |
|   0 | SELECT STATEMENT               |                   |    88M|   121G|       |  2353K (65)| 00:33:07 |       |       |        |      |            |
|   1 |  PX COORDINATOR                |                   |       |       |       |            |          |       |       |        |      |            |
|   2 |   PX SEND QC (RANDOM)          | :TQ10002          |    88M|   121G|       |  2353K (65)| 00:33:07 |       |       |  Q1,02 | P->S | QC (RAND)  |
|*  3 |    VIEW                        |                   |    88M|   121G|       |  2353K (65)| 00:33:07 |       |       |  Q1,02 | PCWP |            |
|*  4 |     WINDOW SORT PUSHED RANK    |                   |    88M|    35G|    75G|  2353K (65)| 00:33:07 |       |       |  Q1,02 | PCWP |            |
|   5 |      PX RECEIVE                |                   |    88M|    35G|       |  2353K (65)| 00:33:07 |       |       |  Q1,02 | PCWP |            |
|   6 |       PX SEND HASH             | :TQ10001          |    88M|    35G|       |  2353K (65)| 00:33:07 |       |       |  Q1,01 | P->P | HASH       |
|*  7 |        WINDOW CHILD PUSHED RANK|                   |    88M|    35G|       |  2353K (65)| 00:33:07 |       |       |  Q1,01 | PCWP |            |
|*  8 |         HASH JOIN RIGHT OUTER  |                   |    88M|    35G|       |  1610K (92)| 00:22:39 |       |       |  Q1,01 | PCWP |            |
|   9 |          PX RECEIVE            |                   |  1133K|    32M|       |  1197  (20)| 00:00:02 |       |       |  Q1,01 | PCWP |            |
|  10 |           PX SEND BROADCAST    | :TQ10000          |  1133K|    32M|       |  1197  (20)| 00:00:02 |       |       |  Q1,00 | P->P | BROADCAST  |
|  11 |            PX BLOCK ITERATOR   |                   |  1133K|    32M|       |  1197  (20)| 00:00:02 |   KEY |   KEY |  Q1,00 | PCWC |            |
|  12 |             TABLE ACCESS FULL  |  SRVC_CODE        |  1133K|    32M|       |  1197  (20)| 00:00:02 |     1 |     1 |  Q1,00 | PCWP |            |
|  13 |          PX BLOCK ITERATOR     |                   |    88M|    32G|       |   188K (27)| 00:02:39 |   KEY |   KEY |  Q1,01 | PCWC |            |
|  14 |           TABLE ACCESS FULL    |    ORDER_DETAIL   |    88M|    32G|       |   188K (27)| 00:02:39 |     1 |     1 |  Q1,01 | PCWP |            |
Predicate Information (identified by operation id):
   3 - filter("orddtl"."rownbr"=1)
   4 - filter(ROW_NUMBER() OVER ( PARTITION BY "od"."ORD_DTL_KEY","od"."START_TS" ORDER BY INTERNAL_FUNCTION("SC"."START_TS"(+))
              DESC )<=1)
   7 - filter(ROW_NUMBER() OVER ( PARTITION BY "od"."ORD_DTL_KEY","od"."START_TS" ORDER BY INTERNAL_FUNCTION("SC"."START_TS"(+))
              DESC )<=1)
   8 - access("od"."part_nbr"="SC"."part_nbr"(+) AND "SC"."SRVC_CD_KEY"(+)="od"."SRVC_CD_KEY")
       filter("od"."ITEM_CRE_DT"<"SC"."END_TS"(+) AND "od"."ITEM_CRE_DT">="SC"."START_TS"(+))

Thanks Jonathan for your reply.
This type of pattern happens quite frequently in parallel execution with aggregation. A layer of slave processes can do partial aggregation before passing a reduced result set to the query co-ordinator to finish the job.
I wouldn't be 100% sure without building a model to check, but I think the logic of your quer allows the eight slaves to identify each "rownumber() = 1" for the data set they have collected, and the allows the query coordinator to do the window sort on the eight incoming rows (for each key) and determine which one of the eight is ultimate the highest date.So is it a normal pattern? Will step#7 & #4 do the same amount work as stated in PREDICATE information part of execution plan.?
You’re correct! There are 8 slave processes appears to be performing WINDOW PUSHED RANK ( Step#7 in Execution Plan ) as you see in following output. Per execution plan and your comment, each one appears to be finding partial set of rows row_num <= 1. It’s apparently doing lots of work and very slow even with 8 processes. So not sure , how slow would be QC doing the same work just by itself.
And as you see below , it’s [Step#7 ] very slow and half of the slaves performing multi pass sort operation. Even though , it was estimated 35GB for that operation, why it’s estimating work area size of only 6-14MB only? Also, It’s allocating so low amount of PGA than expected. P_A_T was set to approx 11 GB. Currently this was the only query/operation on the Instance.
Why it’s not allocating more PGA for that operation? [My apologies for diverting from my original question ].
I have included PGA stats as well here which was taken 5-10 minutes later than other PQ session information. It’s still shows that there is no shortage of PGA.
Moreover, I have observed this behavior (under allocation of PGA) especially for WINDOWS SORT operations for other SQLs too. Is it normal behavior ? I’m on 10.2.0.4.
select
decode(px.qcinst_id,NULL,username,
' - '||lower(substr(pp.SERVER_NAME,
length(pp.SERVER_NAME)-4,4) ) )"Username",
decode(px.qcinst_id,NULL, 'QC', '(Slave)') "QC/Slave" ,
to_char( px.server_set) "SlaveSet",
to_char(s.sid) "SID",
to_char(px.inst_id) "Slave INST",
decode(sw.state,'WAITING', 'WAIT', 'NOT WAIT' ) as STATE,
case  sw.state WHEN 'WAITING' THEN substr(sw.event,1,30) ELSE NULL end as wait_event ,
to_char(s.ROW_WAIT_OBJ#)  wait_OBID,
decode(px.qcinst_id, NULL ,to_char(s.sid) ,px.qcsid) "QC SID",
to_char(px.qcinst_id) "QC INST",
px.req_degree "Req. DOP",
px.degree "Actual DOP"
from gv$px_session px,
gv$session s ,
gv$px_process pp,
gv$session_wait sw
where px.sid=s.sid (+)
and px.serial#=s.serial#(+)
and px.inst_id = s.inst_id(+)
and px.sid = pp.sid (+)
and px.serial#=pp.serial#(+)
and sw.sid = s.sid
and sw.inst_id = s.inst_id
order by
  decode(px.QCINST_ID,  NULL, px.INST_ID,  px.QCINST_ID),
  px.QCSID,
  decode(px.SERVER_GROUP, NULL, 0, px.SERVER_GROUP),
  px.SERVER_SET,
  px.INST_ID
UNAME        QC/Slave SlaveSet SID       Slave INS STATE    WAIT_EVENT                      WAIT_OBID QC SID QC INS Req. DOP Actual DOP
APPS_ORD     QC                1936      2         WAIT     PX Deq: Execute Reply          71031      1936
- p006      (Slave)  1        1731      2         WAIT     PX Deq: Execution Msg          71021      1936   2             8          8
- p007      (Slave)  1        2159      2         WAIT     PX Deq: Execution Msg          71021      1936   2             8          8
- p002      (Slave)  1        2090      2         WAIT     PX Deq: Execution Msg          71021      1936   2             8          8
- p005      (Slave)  1        1965      2         WAIT     PX Deq: Execution Msg          71021      1936   2             8          8
- p001      (Slave)  1        1934      2         WAIT     PX Deq: Execution Msg          71021      1936   2             8          8
- p004      (Slave)  1        1843      2         WAIT     PX Deq: Execution Msg          71021      1936   2             8          8
- p000      (Slave)  1        1778      2         WAIT     PX Deq: Execution Msg          71021      1936   2             8          8
- p003      (Slave)  1        1751      2         WAIT     PX Deq: Execution Msg          71021      1936   2             8          8
- p009      (Slave)  2        2138      2         NOT WAIT                                71031      1936   2             8          8
- p012      (Slave)  2        1902      2         NOT WAIT                                71031      1936   2             8          8
- p008      (Slave)  2        1921      2         NOT WAIT                                71031      1936   2             8          8
- p013      (Slave)  2        2142      2         NOT WAIT                                71031      1936   2             8          8
- p015      (Slave)  2        2091      2         NOT WAIT                                71031      1936   2             8          8
- p014      (Slave)  2        2122      2         NOT WAIT                                71031      1936   2             8          8
- p010      (Slave)  2        2146      2         NOT WAIT                                71031      1936   2             8          8
- p011      (Slave)  2        1754      2         NOT WAIT                                71031      1936   2             8          8
SELECT operation_type AS type                      ,
        workarea_address WADDR,
        operation_id as OP_ID,
        policy                                      ,
        vwa.sql_id,
        vwa.inst_id i#,
        vwa.sid                                     ,
        vwa.qcsid   QCsID,
        vwa.QCINST_ID  QC_I#,
        s.username uname,
        ROUND(active_time    /1000000,2)   AS a_sec ,
        ROUND(work_area_size /1024/1024,2) AS wsize ,
        ROUND(expected_size  /1024/1024,2) AS exp   ,
        ROUND(actual_mem_used/1024/1024,2) AS act   ,
        ROUND(max_mem_used   /1024/1024,2) AS MAX   ,
        number_passes                      AS p#,
        ROUND(tempseg_size/1024/1024,2)    AS temp
FROM   gv$sql_workarea_active vwa ,
        gv$session s
where  vwa.sid = s.sid
and    vwa.inst_id = s.inst_id
order by vwa.sql_id, operation_id, vwa.inst_id, username, vwa.qcsid
TYPE            WADDR            OP_ID POLI SQL_ID         I#    SID  QCSID QC_I# UNAME                A_SEC      WSIZE        EXP        ACT        MAX   P#       TEMP
WINDOW (SORT)   07000003D2B03F90     7 AUTO 8z5s5wdy94ty3   2   2146   1936     2 APPS_ORD            1181.22      13.59      13.59       7.46      90.98    1        320
WINDOW (SORT)   07000003D2B03F90     7 AUTO 8z5s5wdy94ty3       2142   1936     2 APPS_ORD            1181.07       7.03       7.03       4.02      90.98    0        288
WINDOW (SORT)   07000003D2B03F90     7 AUTO 8z5s5wdy94ty3       2091   1936     2 APPS_ORD            1181.06       7.03       7.03        4.5      90.98    0        288
WINDOW (SORT)   07000003D2B03F90     7 AUTO 8z5s5wdy94ty3       1921   1936     2 APPS_ORD            1181.09      13.59      13.59       2.24      90.98    1        320
WINDOW (SORT)   07000003D2B03F90     7 AUTO 8z5s5wdy94ty3       2138   1936     2 APPS_ORD            1181.16       7.03       7.03       1.34      90.98    0        288
WINDOW (SORT)   07000003D2B03F90     7 AUTO 8z5s5wdy94ty3       1754   1936     2 APPS_ORD            1181.09      14.06      14.06       5.77      90.98    1        320
WINDOW (SORT)   07000003D2B03F90     7 AUTO 8z5s5wdy94ty3       2122   1936     2 APPS_ORD            1181.15       6.56       6.56        .24      90.98    0        288
WINDOW (SORT)   07000003D2B03F90     7 AUTO 8z5s5wdy94ty3       1902   1936     2 APPS_ORD            1181.12      14.06      14.06       9.12      90.98    1        320
HASH-JOIN       07000003D2B03F28     8 AUTO 8z5s5wdy94ty3       2142   1936     2 APPS_ORD            1183.24      98.64      98.64     100.44     100.44    0
HASH-JOIN       07000003D2B03F28     8 AUTO 8z5s5wdy94ty3       2138   1936     2 APPS_ORD            1183.24      98.64      98.64     100.44     100.44    0
HASH-JOIN       07000003D2B03F28     8 AUTO 8z5s5wdy94ty3       2122   1936     2 APPS_ORD            1183.24      98.64      98.64     100.44     100.44    0
HASH-JOIN       07000003D2B03F28     8 AUTO 8z5s5wdy94ty3       2091   1936     2 APPS_ORD            1183.24      98.64      98.64     100.44     100.44    0
HASH-JOIN       07000003D2B03F28     8 AUTO 8z5s5wdy94ty3       1921   1936     2 APPS_ORD            1183.24      98.64      98.64     100.44     100.44    0
HASH-JOIN       07000003D2B03F28     8 AUTO 8z5s5wdy94ty3       1902   1936     2 APPS_ORD            1183.24      98.64      98.64     100.44     100.44    0
HASH-JOIN       07000003D2B03F28     8 AUTO 8z5s5wdy94ty3       2146   1936     2 APPS_ORD            1183.24      98.64      98.64     100.44     100.44    0
HASH-JOIN       07000003D2B03F28     8 AUTO 8z5s5wdy94ty3       1754   1936     2 APPS_ORD            1183.24      98.64      98.64     100.44     100.44    0
                                                          sum                                                872.07            838.21
PGA Stats – taken 5-10 minutes later than above.
select name, decode(unit,'bytes',round(value/1048576,2)||' MB', value) value from v$pgastat
NAME                                               VALUE
aggregate PGA target parameter                     11264 MB
aggregate PGA auto target                          9554.7 MB
global memory bound                                1024 MB
total PGA inuse                                    902.21 MB
total PGA allocated                                3449.64 MB
maximum PGA allocated                              29155.44 MB
total freeable PGA memory                          2140.56 MB
process count                                      107
max processes count                                379
PGA memory freed back to OS                        77240169.56 MB
total PGA used for auto workareas                  254.14 MB
maximum PGA used for auto workareas                22797.02 MB
total PGA used for manual workareas                0 MB
maximum PGA used for manual workareas              16.41 MB
over allocation count                              0
bytes processed                                    323796668.77 MB
extra bytes read/written                           183362312.02 MB
cache hit percentage                               63.84
recompute count (total)                            2054320
SELECT
PGA_TARGET_FOR_ESTIMATE/1048576 ESTMTD_PGA_MB,
   PGA_TARGET_FACTOR PGA_TGT_FCTR,
   ADVICE_STATUS ADV_STS,
   BYTES_PROCESSED/1048576 ESTMTD_MB_PRCD,
   ESTD_EXTRA_BYTES_RW/1048576 ESTMTD_XTRA_MB,
   ESTD_PGA_CACHE_HIT_PERCENTAGE ESTMTD_CHIT_PCT,
   ESTD_OVERALLOC_COUNT O_ALOC_CNT
FROM V$PGA_TARGET_ADVICE
ESTMTD_PGA_MB PGA_TGT_FCTR ADV ESTMTD_MB_PRCD ESTMTD_XTRA_MB ESTMTD_CHIT_PCT O_ALOC_CNT
        1,408         .125 ON     362,905,053    774,927,577              32      19973
        2,816          .25 ON     362,905,053    571,453,995              39        709
        5,632           .5 ON     362,905,053    249,201,001              59          5
        8,448          .75 ON     362,905,053    216,717,381              63          0
       11,264            1 ON     362,905,053    158,762,256              70          0
       13,517          1.2 ON     362,905,053    153,025,642              70          0
       15,770          1.4 ON     362,905,053    153,022,337              70          0
       18,022          1.6 ON     362,905,053    153,022,337              70          0
       20,275          1.8 ON     362,905,053    153,022,337              70          0
       22,528            2 ON     362,905,053    153,022,337              70          0
       33,792            3 ON     362,905,053    153,022,337              70          0
       45,056            4 ON     362,905,053    153,022,337              70          0
       67,584            6 ON     362,905,053    153,022,337              70          0
       90,112            8 ON     362,905,053    153,022,337              70          0

Similar Messages

  • Query Tune - Expensive Window sort.

    I want some advise to tune this query.
    My database version:
    SQL> SELECT * FROM v$version;
    BANNER
    Oracle Database 10g Enterprise Edition Release 10.2.0.5.0 - 64bi
    PL/SQL Release 10.2.0.5.0 - Production
    CORE    10.2.0.5.0      Production
    TNS for IBM/AIX RISC System/6000: Version 10.2.0.5.0 - Productio
    NLSRTL Version 10.2.0.5.0 - Production
    SQL> The query
    SQL> EXPLAIN PLAN FOR
      2   WITH INN AS
      3    (
      4           SELECT /*+ PARALLEL(log,8)  */
      5                  item_no,
      6                  item_type,
      7                  bu_code_send,
      8                  bu_type_send,
      9                  bu_code_rcv,
    10                  bu_type_rcv,
    11                  from_date_rcv,
    12                  to_date_rcv,
    13                  lt_val,
    14                  lt_val_uom_code,
    15                  upd_dtime,
    16                  delete_dtime,
    17                  ROW_NUMBER() OVER(PARTITION BY item_no,     item_type,   bu_code_send, bu_type_send,
    18                                                 bu_code_rcv, bu_type_rcv, from_date_rcv
    19                                        ORDER BY upd_dtime DESC) AS nr
    20             FROM log.CEM_TOTAL_LEADTIME_T_LOG log
    21            WHERE UPD_DTIME      <  TO_DATE ('13-11-2012','DD-MM-YYYY')
    22                   )
    23   SELECT
    24         item_no,
    25         item_type,
    26         bu_code_send,
    27         bu_type_send,
    28         bu_code_rcv,
    29         bu_type_rcv,
    30         from_date_rcv,
    31         to_date_rcv,
    32         lt_val,
    33         lt_val_uom_code,
    34         SYSDATE
    35    FROM  inn
    36   WHERE DELETE_DTIME IS NULL
    37     AND NR=1
    38     AND to_DATE ('13-11-2012','DD-MM-YYYY') BETWEEN from_date_rcv AND NVL(to_date_rcv, '31-DEC-9999')
    39     ;
    Explained.The Plan
    PLAN_TABLE_OUTPUT
    Plan hash value: 3866412310
    | Id  | Operation                      | Name                     | Rows  | Bytes |TempSpc| Cost (%CPU)| Time     | Pstart| Pstop |    TQ  |IN-OUT| PQ Distrib |
    |   0 | SELECT STATEMENT               |                          |   331M|    26G|       |   374K  (4)| 00:50:30 |       |       |        |      |            |
    |   1 |  PX COORDINATOR                |                          |       |       |       |            |          |       |       |        |      |            |
    |   2 |   PX SEND QC (RANDOM)          | :TQ10001                 |   331M|    26G|       |   374K  (4)| 00:50:30 |       |       |  Q1,01 | P->S | QC (RAND)  |
    |*  3 |    VIEW                        |                          |   331M|    26G|       |   374K  (4)| 00:50:30 |       |       |  Q1,01 | PCWP |            |
    |*  4 |     WINDOW SORT PUSHED RANK    |                          |   331M|    20G|    29G|   374K  (4)| 00:50:30 |       |       |  Q1,01 | PCWP |            |
    |   5 |      PX RECEIVE                |                          |   331M|    20G|       |   374K  (4)| 00:50:30 |       |       |  Q1,01 | PCWP |            |
    |   6 |       PX SEND HASH             | :TQ10000                 |   331M|    20G|       |   374K  (4)| 00:50:30 |       |       |  Q1,00 | P->P | HASH       |
    |*  7 |        WINDOW CHILD PUSHED RANK|                          |   331M|    20G|       |   374K  (4)| 00:50:30 |       |       |  Q1,00 | PCWP |            |
    |   8 |         PX BLOCK ITERATOR      |                          |   331M|    20G|       |  7123  (44)| 00:00:58 |     1 |   167 |  Q1,00 | PCWC |            |
    |*  9 |          TABLE ACCESS FULL     | CEM_TOTAL_LEADTIME_T_LOG |   331M|    20G|       |  7123  (44)| 00:00:58 |     1 |   167 |  Q1,00 | PCWP |            |
    Predicate Information (identified by operation id):
       3 - filter("DELETE_DTIME" IS NULL AND "NR"=1 AND NVL("TO_DATE_RCV",TO_DATE(' 9999-12-31 00:00:00', 'syyyy-mm-dd hh24:mi:ss'))>=TO_DATE(' 2012-11-13
    PLAN_TABLE_OUTPUT
                  00:00:00', 'syyyy-mm-dd hh24:mi:ss'))
       4 - filter(ROW_NUMBER() OVER ( PARTITION BY "ITEM_NO","ITEM_TYPE","BU_CODE_SEND","BU_TYPE_SEND","BU_CODE_RCV","BU_TYPE_RCV","FROM_DATE_RCV" ORDER BY
                  INTERNAL_FUNCTION("UPD_DTIME") DESC )<=1)
       7 - filter(ROW_NUMBER() OVER ( PARTITION BY "ITEM_NO","ITEM_TYPE","BU_CODE_SEND","BU_TYPE_SEND","BU_CODE_RCV","BU_TYPE_RCV","FROM_DATE_RCV" ORDER BY
                  INTERNAL_FUNCTION("UPD_DTIME") DESC )<=1)
       9 - filter("FROM_DATE_RCV"<=TO_DATE(' 2012-11-13 00:00:00', 'syyyy-mm-dd hh24:mi:ss') AND "UPD_DTIME"<TO_DATE(' 2012-11-13 00:00:00', 'syyyy-mm-dd
                  hh24:mi:ss'))Some more thoughts/inputs:
    1. The table CEM_TOTAL_LEADTIME_T_LOG has 333 million rows, It is a partition table but the range partition is on LOG_DATE column (not used in this query).
    2. The window sort is taking huge temp space (wrong cardinality estimate ? How to correct ?)
    3. Actually it is taking around 56 min to complete.

    Not tested,
    Just trying to eliminate the analytic function here. (I cannot check this --can do only syntax check)..
    Firstly check if this is similar to your query and if yes, check if this improves the performance.
    WITH t AS
            (SELECT item_no,
                    item_type,
                    bu_code_send,
                    bu_type_send,
                    bu_code_rcv,
                    bu_type_rcv,
                    from_date_rcv,
                    to_date_rcv,
                    lt_val,
                    lt_val_uom_code,
                    upd_dtime,
                    delete_dtime
               FROM LOG.CEM_TOTAL_LEADTIME_T_LOG LOG
              WHERE UPD_DTIME < TO_DATE ('13-11-2012', 'DD-MM-YYYY')),
         t1 AS
            (  SELECT item_no,
                      item_type,
                      bu_code_send,
                      bu_type_send,
                      bu_code_rcv,
                      bu_type_rcv,
                      from_date_rcv,
                      to_date_rcv,
                      MAX (upd_dtime) upd_dtime
                 FROM t
             GROUP BY item_no,
                      item_type,
                      bu_code_send,
                      bu_type_send,
                      bu_code_rcv,
                      bu_type_rcv,
                      from_date_rcv,
                      to_date_rcv)
    SELECT a.item_no,
           a.item_type,
           a.bu_code_send,
           a.bu_type_send,
           a.bu_code_rcv,
           a.bu_type_rcv,
           a.from_date_rcv,
           a.to_date_rcv,
           a.lt_val,
           a.lt_val_uom_code,
           SYSDATE,
           a.upd_dtime
      FROM t1 a, t b
    WHERE     a.item_no = b.item_no
           AND a.item_type = b.item_type
           AND a.bu_code_send = b.bu_code_send
           AND a.bu_type_send = b.bu_type_send
           AND a.bu_code_rcv = b.bu_code_rcv
           AND a.bu_type_rcv = b.bu_type_rcv
           AND a.from_date_rcv = b.from_date_rcv
           AND a.to_date_rcv = b.to_date_rcv
           AND a.upd_dtime = b.upd_dtime
           AND DELETE_DTIME IS NULL
           AND TO_DATE ('13-11-2012', 'DD-MM-YYYY') BETWEEN from_date_rcv
                                                        AND NVL (to_date_rcv,
                                                                 '31-DEC-9999');Cheers,
    Manik
    Edited by: Manik on Nov 15, 2012 3:13 PM

  • Why Sort operation on clustered columstore index insert?

    Looking at the execution plan for a clustered columnstore index insert I noticed a Sort operation. My T-SQL has no sort and I understand that the clustered columnstore is not a sorted index. Why would there be a Sort operation in the execution plan?
    This is running on:
    Microsoft SQL Server 2014 - 12.0.2000.8 (X64)
     Feb 20 2014 20:04:26
     Copyright (c) Microsoft Corporation
     Enterprise Edition: Core-based Licensing (64-bit) on Windows NT 6.3 <X64> (Build 9600: ) (Hypervisor)

    Hello,
    It's because how a columnstore index works: The index is created & compressed on column Level, not on row level. SQL Server orders the data to have the same data after each other to calculate the compressed index values.
    Olaf Helper
    [ Blog] [ Xing] [ MVP]

  • Hp deskjet 3900 drivers for windows 7 operating system

    I just bought a computer with a windows 7 operating system and have a hp deskjet 3900 printer, can I get this printer to work with the windows 7 system?
    This question was solved.
    View Solution.

    Hello diyasher_21,
    There is no downloadable Windows 7 driver for your Deskjet 3920 series.  This document provides information on how to install a Windows 7  in-OS print driver.
    Please let me know if this helps.
    Good luck!
    ↙-----------How do I give Kudos?| How do I mark a post as Solved? ----------------↓

  • SHORT DUMP DYNPRO_NOT_FOUND, DOUBLE CLICK ON OPERATION IN NETWORK GRAPHIC

    Dear Experts,
    I am getting shor dump error as DYNPRO_NOT_FOUND in transaction IA02 while double clicking on operation in newtwork graphic.
    I found SAPNOTE 397750 for releases SAP_APPL 46 and 46C. But we are using ECC 5.0 SAP_APPL 500.
    Please give the solution how to resolve this dump error.
    Thanks & Regards,
    Tushar

    Hi,
    there is no coding correction in the note, hence please compare the setting mentioned in the note with your system, if the entry does not exist, you might have to maintain it. otherwise, i am afraid you need to submit a OSS message regarding it.
    Regards
    Jane

  • Itune is not working in my laptop which is having windows 8 operating systems

    itune is not working in my laptop which is having windows 8 operating systems after installing itune 64bits.

    Dear Thomas A Reed,
    Thank you so much for you reply. Is that possible to do the retore of my Mac without Disk. I have tried other Movie Disk as you mentioned and that worked properly. so now according to you my disk is not good.
    Its really strange that i am using my installtion disk first time and it has no scratch but its not working. now I guess I have to replace new DVD with this one.
    Thanks again.
    Kind Regards,
    Sghalay81

  • S David I have 2 licens for cs5.5 and have serial number . I cancelled if from my computer (windows 8 operation system)  i just purchased a mac i mak all in one computer and want to install my cs5.5 on it ... i need a download link to do this can you help

    I have 2 license for cs5.5    I am using one on my Windows 8 operating system... the other I cancelled and want to put it on a new apple operating system  /... can you give me the link to down it to my new apple all in one computer???  Please HELP>  send download link or call me 2 850.501.1499   mor send seperate e-mail  to   [email protected] THANKS   DAVID

    Hi David,
    I would like to inform you that if you have a Mac serial number with you, only then you would be able to activate it on your Mac machine.
    Here is the download link for the same.
    Adobe CS5.5
    Thanks,
    Atul Saini

  • Can Oracle Identity Manager be installed on windows vista operating system

    can Oracle Identity Manager be installed on windows vista operating system?? I get the following error while installing OIM 9.1.0 on Weblogic application server 10.3.
    userLanguage = en
    userCountry = US
    java.io.FileNotFoundException: <Installation Directory>\xellerate\logs\setup_weblogi
    c.log (The system cannot find the file specified)
    at java.io.FileInputStream.open(Native Method)
    at java.io.FileInputStream.<init>(Unknown Source)
    at java.io.FileReader.<init>(Unknown Source)
    at com.thortech.xl.installer.event.InstallScript.checkSetupLogStatus(Ins
    tallScript.java:2280)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at com.installshield.event.ActionSequenceEngine$ActionTask.invokeJavaMet
    hod(Unknown Source)
    at com.installshield.event.ActionSequenceEngine$ActionTask.executeAction
    (Unknown Source)
    at com.installshield.event.ActionSequenceEngine$ActionTask.run(Unknown S
    ource)
    at com.installshield.event.ThreadPool.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
    java.lang.NullPointerException
    at com.thortech.xl.installer.event.InstallScript.onExecutingPostInstallM
    essage(InstallScript.java:1919)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at com.installshield.event.ActionSequenceEngine$ActionTask.invokeJavaMet
    hod(Unknown Source)
    at com.installshield.event.ActionSequenceEngine$ActionTask.executeAction
    (Unknown Source)
    at com.installshield.event.ActionSequenceEngine$ActionTask.run(Unknown S
    ource)
    at com.installshield.event.ThreadPool.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
    Edited by: user10691333 on 28 Aug, 2011 12:05 PM

    http://www.oracle.com/technetwork/middleware/ias/downloads/idm-certification-101401-083012.html
    This is the cert matrix of OIM. Please check if you are using the right OS version.

  • I have Windows 7 Operating system and an HP 6500 A Plus printer.  My iPad no longer prints wirelessly. An error message says the printer is offline.  Suggestions

    I have Windows 7 Operating system and an HP 6500 A Plus printer.  My iPad no longer prints wirelessly. An error message says the printer is offline.  Suggestions?

    1. Turn off router, printer and iPad
    2. Turn on router and wait 30 seconds
    3. Turn on printer and wait 30 seconds
    4. Turn on iPad and test printing

  • How do I transfer my pictures from iPad to windows 7 operating computer?

    How do I transfer my pictures from iPad to windows 7 operating computer?

    How to Transfer Photos from an iPad to a Computer
    http://www.wikihow.com/Transfer-Photos-from-an-iPad-to-a-Computer
    Importing Personal Photos and videos from your iOS device to your computer.
    http://support.apple.com/kb/HT4083
    There's also some apps that will transfer via wifi. Using these apps may be the easiest way of transferring your Photos and Videos to your computer and other iOS devices.
    Simple Photo & Video Transfer
    https://itunes.apple.com/us/app/simple-photo-video-transfer/id420821506?mt=8
    Simple Transfer App
    https://itunes.apple.com/us/app/simple-transfer/id411292121?mt=8
    Easy Media Transfer : Useful App for Wireless Transfer
    http://apps400.com/iphone-apps/easy-media-transfer-useful-app-for-wireless-trans fer.html
    Photo Transfer
    http://www.phototransferapp.com/
    Copy Photos (& Videos) Between iOS Devices
    http://tinyurl.com/cnz95bc
     Cheers, Tom

  • I am using your software: CS^ InDesign Suite on a PC using a Windows 7 operating system.     Due to eyesight issues, I need to have the menu bars of programs in easy-to-read font and picture size.  Specifically, the menu bar

    Hi,
    I am using your software: CS6 InDesign Suiteon a PC using a Windows 7 operating system.
    Due to eyesight issues, I need to have the menu bars of programs in easy-to-read font and picture size.  Specifically, the menu bar across the top (File, Edit, View, etc.), and the menu bar on the left side with the graphic depiction of options.
    In earlier versions of Windows (e.g. XP), whenever I changed the screen resolution on my computer to a lesser resolution in order to show the link icons on my desktop in a larger, more readable size, all the software programs, including yours, appeared on my screen with the menu bars in the larger font size that I needed.
    However, in Windows 7, this is not the case.  Even though I have selected the lowest resolution, making the icons on my desktop extremely large, I cannot read the options across the top menu bar of your program, nor the pull-down menu items that they contain.  I cannot see the graphic depictions of options on the left side of the screen. They are all too small.  How can I make your program increase the size?

    CS6 is not high-DPI compatible/ enabled and that can't be changed. If you cannot6 make it work with your operating system means, then short of joining Creative Cloud and using newer versions there is nothing you can do.
    Mylenium

  • I am using CS6 InDesign suite on a PC using a Windows 7 operating system.     Due to eyesight issues, I need to have the menu bars of programs in easy-to-read font and picture size.  Specifically, the menu bar across the top (File, Edit, View, etc.), and

    I am using CS6 InDesign on a PC using a Windows 7 operating system.
    Due to eyesight issues, I need to have the menu bars of programs in easy-to-read font and picture size.  Specifically, the menu bar across the top (File, Edit, View, etc.), and the menu bar on the left side with the graphic depiction of options.
    In earlier versions of Windows (e.g. XP), whenever I changed the screen resolution on my computer to a lesser resolution in order to show the link icons on my desktop in a larger, more readable size, all the software programs, including yours, appeared on my screen with the menu bars in the larger font size that I needed.
    However, in Windows 7, this is not the case.  Even though I have selected the lowest resolution, making the icons on my desktop extremely large, I cannot read the options across the top menu bar of your program, nor the pull-down menu items that they contain.  I cannot see the graphic depictions of options on the left side of the screen. They are all too small.  How can I make your program increase the size?

    NO way.
    Mylenium

  • Download and instalation instruction of itune for windows 7 operating system

    download and instalation instruction of itune for windows 7 operating system

    This is a user to user technical support forum, you are not addressing Apple here.
    Regardless, if you want/need help... provide the specific details and error messages that are occurring.
    We are not mindreaders.

  • Performing Window Leveling operation on an Image

    I need help for performing window leveling operation on an image. Which has to be triggered using Mouse Drag Event. I have been working on it for past 4days . I need help badly.
    Thanks in advance
    Prasad

    Intensity range is defined as Window & distance between the two ends is called Window width. Intensity of the Pixels above or below the window is mapped to balck or white.I hope i was clear.
    By adjusting this we can adjust the Brightness & contrast of the Image.
    Prasad

  • Servername_ID 30620 Warning_Microsoft-Windows-SMBClient Microsoft-Windows-SMBClient/Operational - Connection to server \servername IP Address x.x.x.x:445 was aborted.

    Hi everybody.
    I have this problem on a Windows Server 2012 Datacenter, offering SCOM2012 and VMM2012 SP1  services.
    If I try to access to \\servername\c$ , or vmm agent on a server try to access it, in the "Server Manager , File and Storage Services, Servers" console I can see the message, every minutes:
    servername ID 30620 Warning
    Microsoft-Windows-SMBClient Microsoft-Windows-SMBClient/Operational - Connection to server \servername IP Address x.x.x.x:445 was aborted.
    I alreday apply the registry update:
    LocalAccountTokenFilterPolicy QWORD = 1
    UAC and firewall on the server are disabled.
    Anyone have some suggestion for me ?
    Thanks.
    Gabriel

    Two HP DL Servers - a DL380 G5 and a DL 360 G5 - running Server 2012 Standard with Hyper-V.  Both servers have HP NC373i onboard Gigabit NICs.
    NIC 1 is for Management OS, NIC 2 is dedicated to Hyper-V.  The latest/greatest HP Management software, drivers, firmware for Server 2012 are installed on both servers.
    Could copy files to/from other servers with no problem, and near gigabit speed.  All other networking appeared normal.
    Could not copy files to each other. Could ping each other though.
    Ran the above command and rebooted both servers - issue has gone away.
    I've got a few more of these older HP servers that I'm going to test with Server 2012.

Maybe you are looking for

  • Status of sales order and delivery notes

    Hello, what is the status of sales orders that permit to create delivery notes for this sales orders. And what is the status that block us to create delivery Notes. Regards. Zied.

  • Display itab values coloum wise

    hi all, i want to display my itab values coloum wise instead row wise . eg. 12 13 111 25 23 not like this but like below 12 13 111 25 23  thanks.

  • What are you using Catalyst for?

    Since we can't do polls, I  thought we could answer in a discussion. Here are the choices: 1) Prototyping 2) Flex Application design 3) Widget design (embedded in a web page) 4) Complete site design I'll start: I use it mostly for 1) Prototyping and

  • Converting Miro DC20 Mjpg files to something usable

    I have some old quicktime files from back in 1996. They were created on a Power Computing Mac using a MiroMotion DC20 board. Quicktime can play them but I just get the audio, no video. Has anyone had any luck converting these files to something that

  • Subvi help serial communication

    So here's my problem:  I have a .vi that works fine, and would like to make it into a subvi for another program.  The problem comes when I incorporate it into another .vi as a subvi the main.vi doesn't update the values being passed.  The main .vi do