Help to tune delete stmt.

I have 5,00,000 rows in a table 'A'. 'Column1' may contain 'YES' or 'NO'.
If I use the below query then it take 5 minutes to execute. Kindly help me to tune the query. What will be the problem for this delay?
DELETE FROM A WHERE COLUMN1 = 'YES'
The table size is 250MB.
SGA_TARGET is 1200MB.
SERVER RAM is 3 GB.

Even now the simple delete stmt takes 3 minutes to execute.
Operation Object Name Rows Bytes Cost Object Node In/Out PStart PStop
DELETE STATEMENT Optimizer Mode=ALL_ROWS 419 K 1
DELETE A
BITMAP CONVERSION TO ROWIDS 419 K 1 M 1
BITMAP INDEX SINGLE VALUE IDX_A
It also throws 'Investigate the SQL statement with SQL_ID "8fwvgmw61gyrt" for possible performance improvements' in [Database Instance: dolphin79|http://kgisldl580:5502/em/console/database/instance/sitemap?event=doLoad&target=dolphin79&type=oracle_database&pageNum=2] > [Advisor Central|http://kgisldl580:5502/em/console/database/instance/advisorTasks?event=reload&target=dolphin79&type=oracle_database&dbPageNum=2] > [Automatic Database Diagnostic Monitor (ADDM)|http://kgisldl580:5502/em/console/database/instance/hdm?task_id=128&target=dolphin79&type=oracle_database&dbPageNum=2] > Performance Finding Details.

Similar Messages

  • I tune deleted all my music on I phone when I tried to synchronise today !! how can I retrieve deleted music ?! please help

    i tune deleted all my music on I phone when I tried to synchronise today !! how can I retrieve deleted music ?! please help

    When you sync an IP with iTunes AND you have some purchased music that was downloaded directly to your IP, a box pops up asking if you want to transfer that data to your computer.   The box clearly says if you don't, the music will be erased from your IP.  As the previous poster states, I believe you can download the music again at no additional charge.

  • HELP TO TUNE THIS QUERY

    Hi,
    I'm using below query in procedure.It's taking more more time can some one help to tune this query or advice to rewrite the query.
    Databse :10.1
    SELECT   'Reading Comprehension' TEST_NAME,T.TEST_END_DATE TEST_SESSION_DATE,
            C.POOL_VERSION_ID, I.CREATED_ON POOL_CREATED_DT,
            C.ITEM_ID, C.ITEM_RESPONSE_ID, S.STUDENT_ID_PK, C.RESPONSE_KEY, C.IS_CORRECT RESPONSE_IS_CORRECT,
            T.SCORE SCALE_SCORE, C.RESPONSE_DURATION, P.ITEM_KEY,
            T.TEST_SESSION_DETAIL_ID, SYSDATE CREATED_ON
           -- BULK COLLECT INTO TV_PSYCHO_DET
            FROM
            CAT_ITEM_PARAMETER P, CAT_ITEM_USER_RESPONSE C, TEST_SESSION_DETAIL T,
            TEST_SESSION S, ITEM_POOL_VERSION I, TEST_DETAIL D
            ,INSTITUTION E
            WHERE  TRUNC(T.TEST_END_DATE) BETWEEN TO_DATE('01-11-09','dd-mm-yy') AND TO_DATE('30-11-09','dd-mm-yy')
            AND D.TEST_NAME =  'Reading Comprehension'
            AND T.TEST_SESSION_STATUS_ID = 3
            AND I.POOL_AVAILABILITY='Y'
            AND P.PRETEST=0 AND C.RESTART_FLAG=0
            AND T.TEST_DETAIL_ID = D.TEST_DETAIL_ID
            AND S.TEST_SESSION_ID = T.TEST_SESSION_ID
            AND C.TEST_SESSION_DETAIL_ID = T.TEST_SESSION_DETAIL_ID
            AND S.INSTITUTION_ID=E.INSTITUTION_ID
            AND SUBSTR(E.INSTITUTION_ID_DISPLAY,8,3) <> '000'
            AND I.ITEM_ID = C.ITEM_ID
            AND P.ITEM_ID = I.ITEM_ID;expln plan
    Plan hash value: 3712814491                                                                                                      
    | Id  | Operation                                 | Name                        | Rows  | Bytes | Cost (%CPU)| Time     | Pstart|
    Pstop |                                                                                                                          
    |   0 | SELECT STATEMENT                          |                             | 50857 |  7151K| 93382   (1)| 00:18:41 |       |
          |                                                                                                                          
    |*  1 |  FILTER                                   |                             |       |       |            |          |       |
          |                                                                                                                          
    |*  2 |   HASH JOIN                               |                             | 50857 |  7151K| 93382   (1)| 00:18:41 |       |
          |                                                                                                                          
    |   3 |    PARTITION HASH ALL                     |                             |  2312 | 23120 |    25   (0)| 00:00:01 |     1 |
        5 |                                                                                                                          
    |*  4 |     TABLE ACCESS FULL                     | CAT_ITEM_PARAMETER          |  2312 | 23120 |    25   (0)| 00:00:01 |     1 |
        5 |                                                                                                                          
    |*  5 |    HASH JOIN                              |                             | 94938 |    12M| 93356   (1)| 00:18:41 |       |
          |                                                                                                                          
    |*  6 |     TABLE ACCESS FULL                     | ITEM_POOL_VERSION           |  9036 |   132K|    30   (0)| 00:00:01 |       |
          |                                                                                                                          
    |*  7 |     TABLE ACCESS BY GLOBAL INDEX ROWID    | CAT_ITEM_USER_RESPONSE      |     9 |   279 |    18   (0)| 00:00:01 | ROWID |
    ROWID |                                                                                                                          
    |   8 |      NESTED LOOPS                         |                             | 45349 |  5270K| 93325   (1)| 00:18:40 |       |
          |                                                                                                                          
    |*  9 |       HASH JOIN                           |                             |  4923 |   423K| 11377   (1)| 00:02:17 |       |
          |                                                                                                                          
    |* 10 |        INDEX FAST FULL SCAN               | INSTI_ID_NAME_COUN_DISP_IDX |  8165 |   111K|    18   (0)| 00:00:01 |       |
          |                                                                                                                          
    |* 11 |        HASH JOIN                          |                             |  4923 |   355K| 11359   (1)| 00:02:17 |       |
          |                                                                                                                          
    |* 12 |         TABLE ACCESS BY GLOBAL INDEX ROWID| TEST_SESSION_DETAIL         |  4107 |   148K|  6804   (1)| 00:01:22 | ROWID |
    ROWID |                                                                                                                          
    |  13 |          NESTED LOOPS                     |                             |  4923 |   278K|  6806   (1)| 00:01:22 |       |
          |                                                                                                                          
    |* 14 |           INDEX RANGE SCAN                | TEST_DETAIL_AK_1            |     1 |    21 |     2   (0)| 00:00:01 |       |
          |                                                                                                                          
    |* 15 |           INDEX RANGE SCAN                | TEST_SESSION_DETAIL_FK2_I   | 39737 |       |   102   (0)| 00:00:02 |       |
          |                                                                                                                          
    |  16 |         PARTITION HASH ALL                |                             |  1672K|    25M|  4546   (1)| 00:00:55 |     1 |
        5 |                                                                                                                          
    |  17 |          TABLE ACCESS FULL                | TEST_SESSION                |  1672K|    25M|  4546   (1)| 00:00:55 |     1 |
        5 |                                                                                                                          
    |* 18 |       INDEX RANGE SCAN                    | CAT_ITEM_USER_RESP_IDX1     |    18 |       |     3   (0)| 00:00:01 |       |
          |                                                                                                                          
    Predicate Information (identified by operation id):                                                                              
       1 - filter(TO_DATE('01-11-09','dd-mm-yy')<=TO_DATE('30-11-09','dd-mm-yy'))                                                    
       2 - access("P"."ITEM_ID"="I"."ITEM_ID")                                                                                       
       4 - filter("P"."PRETEST"=0)                                                                                                   
       5 - access("I"."ITEM_ID"="C"."ITEM_ID")                                                                                       
       6 - filter("I"."POOL_AVAILABILITY"='Y')                                                                                       
       7 - filter(TO_NUMBER("C"."RESTART_FLAG")=0)                                                                                   
       9 - access("S"."INSTITUTION_ID"="E"."INSTITUTION_ID")                                                                         
      10 - filter(SUBSTR("E"."INSTITUTION_ID_DISPLAY",8,3)<>'000')                                                                   
      11 - access("S"."TEST_SESSION_ID"="T"."TEST_SESSION_ID")                                                                       
      12 - filter(TRUNC(INTERNAL_FUNCTION("T"."TEST_END_DATE"))>=TO_DATE('01-11-09','dd-mm-yy') AND "T"."TEST_SESSION_STATUS_ID"=3   
                  AND TRUNC(INTERNAL_FUNCTION("T"."TEST_END_DATE"))<=TO_DATE('30-11-09','dd-mm-yy'))                                 
      14 - access("D"."TEST_NAME"='Reading Comprehension')                                                                           
      15 - access("T"."TEST_DETAIL_ID"="D"."TEST_DETAIL_ID")                                                                         
      18 - access("C"."TEST_SESSION_DETAIL_ID"="T"."TEST_SESSION_DETAIL_ID")                                                         
    43 rows selected.Edited by: user575115 on Dec 18, 2009 12:31 AM

    When you see something like ...
       7 - filter(TO_NUMBER("C"."RESTART_FLAG")=0)                                                                                    It means that Oracle had to do a conversion for you since you aren't using the proper data type in your query.
    That would mean IF there is an index on that column, it won't be useable...

  • Help! datafile deleted on oracle 9i under redhat linux

    Please help me, i delete a datafile from a test tablespace and i don't know
    how to fix it on 9i, in 8i is very documented but 9i is a real pain, here
    is the error when 'dbstart'ing the db:
    Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
    SQL> Connected to an idle instance.
    SQL> ORACLE instance started.
    Total System Global Area 353440004 bytes
    Fixed Size 450820 bytes
    Variable Size 167772160 bytes
    Database Buffers 184549376 bytes
    Redo Buffers 667648 bytes
    Database mounted.
    ORA-01157: cannot identify/lock data file 28 - see DBWR trace file
    ORA-01110: data file 28: '/oradata/alumnos/tablespaces/test2.dbf'
    Thank you in advance,
    Otto Solares

    Can you perform a Tablespace Point In Time Recovery on the specific tablespace?

  • HT201285 can anyone help me recover deleted messages i deleted and saw through the Spotlight feature?

    I need help recovering my deleted text messages and coversations. I want to see the dates and all the info with them. can anyone help??

    Hello Brent208,
    It sounds like you want to restore messages that have been deleted. If you have an iCloud backup you may be able to restore from a previous date that has the data you want to restore. Keep in mind that this will restore your entire device to the way it was on that date, and any new photos, videos, or app data that has been saved since then will be erased.
    Before proceeding, be sure to back up your data to either iCloud or iTunes first:
    iOS: How to back up and restore your content
    http://support.apple.com/kb/HT1766
    Then use the following article to restore from your iCloud backup.
    iCloud: Restore your iOS device from iCloud
    https://support.apple.com/kb/ph12521
    Thank you for using Apple Support Communities.
    All the very best,
    Sterling

  • Need Help ASAP. Deleting Underline in Adobe Reader Touch.

    I don't understand why it won't let me delete the strikeout or underline in my Adobe Reader Touch. There is no clear option when I highlight it and write click and the "Ctrl-delete" option is not working either. I need to get rid of both of these. Did them by mistake....simple task but so frustrated that I have spent 30+ minutes trying to figure this out. Please help.

    thank you
    ส่งจาก จดหมายของ Windows
    จาก: ambersenos
    ส่งเมื่อ: อา. 11 มกราคม 2558 21:23
    ถึง: thang dinhvan
    Need Help ASAP. Deleting Underline in Adobe Reader Touch.
    created by ambersenos in Adobe Reader Touch for Windows 8 - View the full discussion 
    I don't understand why it won't let me delete the strikeout or underline in my Adobe Reader Touch. There is no clear option when I highlight it and write click and the "Ctrl-delete" option is not working either. I need to get rid of both of these. Did them by mistake....simple task but so frustrated that I have spent 30+ minutes trying to figure this out. Please help.
    If the reply above answers your question, please take a moment to mark this answer as correct by visiting: https://forums.adobe.com/message/7085957#7085957 and clicking ‘Correct’ below the answer
    Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page:
    Please note that the Adobe Forums do not accept email attachments. If you want to embed an image in your message please visit the thread in the forum and click the camera icon: https://forums.adobe.com/message/7085957#7085957
    To unsubscribe from this thread, please visit the message page at , click "Following" at the top right, & "Stop Following"
    Start a new discussion in Adobe Reader Touch for Windows 8 by email or at Adobe Community
    For more information about maintaining your forum email notifications please go to https://forums.adobe.com/thread/1516624.

  • How to find the search help for the parameters stmt in a report

    hi
    how to find the search help for the parameters stmt in a report , that is using which addition to the parameters statement

    I am not sure if I understood the question,but if you meant how to attach a search help to parameter for which a default search help is not available,you can do that by using addition  "Matchcode Object"
    Parameter: a type i matchcode object 'Search Help Name'
    Search Help name should be in single quotes.
    Regards,
    Anubhav.
    P.S: Award Points if useful.

  • I downloaded some you tube vedios.They were not open but remain in the dwlhelper folder. I tried to delete them but could not. help me to delete them.

    I tried to delete them but could not. Help me to delete those files which were not open.

    hello ameen, try to restart your computer and delete the files immediately afterwards. alternatively you might use a tool like [http://www.emptyloop.com/unlocker/ unlocker] to remove the lock and delete the files...

  • Urgent help to tune sql

    Hi Team,
    Could u pls help me tune this query.I have generated explain plan.pls look into it
    select distinct cust.id customer_id, addr.addrfirstname||' '||addr.addrsurname cust_name,sub.substypename cust_type,
    addr.addrbigcity city, reverse(substr(reverse(ms.name),instr(reverse(ms.name),'-')+1)) cluster_name,
    pro.provincename state,mst.name circle,addr.addrpostcode pincode,
    decode(dev.serial_number,null,'NA',dev.serial_number) SC_SR_NO,hm.description model_desc1,
    dev1.serial_number STB_SR_NO,
    hm1.description model_desc2,
    ds.description dev_status,
    to_char(suh.real_date,'mm/dd/yyyy') activation_date,
    to_char(fa.prepaid_end_date,'mm/dd/yyyy') prepaid_end_date,
    to_char(fa.PREPAID_DISCONNECT_DATE,'mm/dd/yyyy') PREPAID_DISCONNECT_DATE,
    to_char(ad.contract_start_date,'mm/dd/yyyy') contract_start_date,
    ibs.full_name activated_by,
    (select max(to_char(create_datetime,'mm/dd/yyyy')) from businessdata.suhistor where sheventnr in (133,1133) and entity_id=ad.id and shsubscribernr=ad.customer_id) disconnection_date,
    ad.comm_product_id d2h_pack_id,
    cp.description D2H_Package,
    ads.id D2h_PackageStatusId,
    ads.name D2h_PackageStatus,
    suh.sheventnr event_no,se.name event_description
    from businessdata.suhistor suh,businessdata.agreement_detail ad,businessdata.ibs_user ibs,
    businessdata.system_event se,businessdata.address addr, businessdata.customer cust,
    businessdata.province pro,businessdata.market_segment ms,businessdata.market_segment_type mst,
    businessdata.software_per_ad spa,businessdata.device_agreement_detail dad, businessdata.device dev,
    businessdata.device_status ds,businessdata.hardware_model hm,businessdata.substype sub,businessdata.device_pairing dp
    ,businessdata.device dev1,businessdata.hardware_model hm1,businessdata.commercial_product cp,businessdata.agreement_detail_status ads, businessdata.financial_account fa
    where
    trunc(suh.real_date) < trunc(sysdate) and
    suh.sheventnr in (5229,108) and
    suh.shsubscribernr =ad.customer_id and
    suh.entity_id=ad.id and
    suh.shusernr=ibs.id and
    suh.sheventnr=se.id and
    ad.customer_id=addr.addrcustnr and
    addr.addrcustnr=cust.id and
    addr.addrprovincenumber= pro.provincenumber and
    addr.marketsegment_id=ms.id and
    ms.market_segment_type_id=mst.id and
    ad.id= spa.agreement_detail_id and
    spa.device_per_ad_id =dad.id and
    dad.technical_product_id in (1,null) and
    dad.device_id= dev.id(+) and
    dev.status_id= ds.id(+) and
    dev.model_id=hm.id(+) and
    dev.id=dp.paired_from_id(+) and
    cust.type_id=sub.subscribertype and
    dp.paired_to_id=dev1.id(+) and
    dev1.model_id=hm1.id(+) and
    ad.comm_product_id=cp.id and
    cp.category_id=1 and
    ad.status=ads.id and
    ad.customer_id=fa.customer_id
    order by cust.id
    explain plan*****************
    Plan hash value: 3107127273
    | Id | Operation | Name | Rows | Bytes | Cost (%CPU)| Time |
    | 0 | SELECT STATEMENT | | 1 | 426 | 14905 (1)| 00:02:59 |
    | 1 | SORT AGGREGATE | | 1 | 23 | | |
    |* 2 | TABLE ACCESS BY INDEX ROWID | SUHISTOR | 1 | 23 | 7 (15)| 00:00:01 |
    | 3 | BITMAP CONVERSION TO ROWIDS | | | | | |
    | 4 | BITMAP AND | | | | | |
    | 5 | BITMAP CONVERSION FROM ROWIDS | | | | | |
    |* 6 | INDEX RANGE SCAN | IDX_SUHISTOR_ENTITY_ID | 17 | | 3 (0)| 00:00:01 |
    | 7 | BITMAP CONVERSION FROM ROWIDS | | | | | |
    | 8 | SORT ORDER BY | | | | | |
    |* 9 | INDEX RANGE SCAN | KEY002SUHISTOR | 17 | | 3 (0)| 00:00:01 |
    | 10 | SORT UNIQUE | | 1 | 426 | 14904 (1)| 00:02:59 |
    | 11 | NESTED LOOPS | | 1 | 426 | 14903 (1)| 00:02:59 |
    | 12 | NESTED LOOPS | | 1 | 414 | 14902 (1)| 00:02:59 |
    | 13 | NESTED LOOPS | | 1 | 384 | 14901 (1)| 00:02:59 |
    | 14 | NESTED LOOPS | | 1 | 371 | 14900 (1)| 00:02:59 |
    | 15 | NESTED LOOPS | | 1 | 363 | 14898 (1)| 00:02:59 |
    | 16 | NESTED LOOPS | | 1 | 348 | 14897 (1)| 00:02:59 |
    | 17 | NESTED LOOPS OUTER | | 1 | 304 | 14894 (1)| 00:02:59 |
    | 18 | NESTED LOOPS OUTER | | 1 | 286 | 14893 (1)| 00:02:59 |
    | 19 | NESTED LOOPS OUTER | | 1 | 260 | 14891 (1)| 00:02:59 |
    | 20 | NESTED LOOPS | | 1 | 248 | 14889 (1)| 00:02:59 |
    | 21 | NESTED LOOPS OUTER | | 1 | 228 | 14888 (1)| 00:02:59 |
    | 22 | NESTED LOOPS OUTER | | 1 | 215 | 14887 (1)| 00:02:59 |
    | 23 | NESTED LOOPS OUTER | | 1 | 197 | 14886 (1)| 00:02:59 |
    | 24 | NESTED LOOPS | | 1 | 168 | 14884 (1)| 00:02:59 |
    | 25 | NESTED LOOPS | | 1 | 154 | 14882 (1)| 00:02:59 |
    | 26 | NESTED LOOPS | | 1 | 144 | 14879 (1)| 00:02:59 |
    | 27 | NESTED LOOPS | | 1 | 124 | 14876 (1)| 00:02:59 |
    | 28 | NESTED LOOPS | | 1 | 111 | 14875 (1)| 00:02:59 |
    | 29 | NESTED LOOPS | | 3 | 264 | 14872 (1)| 00:02:59 |
    | 30 | NESTED LOOPS | | 85 | 5270 | 14744 (1)| 00:02:57 |
    | 31 | INLIST ITERATOR | | | | | |
    | 32 | TABLE ACCESS BY INDEX ROWID| SYSTEM_EVENT | 2 | 70 | 3 (0)| 00:00:01 |
    |* 33 | INDEX UNIQUE SCAN | PK_SYSTEM_EVENT | 2 | | 2 (0)| 00:00:01 |
    |* 34 | TABLE ACCESS BY INDEX ROWID | SUHISTOR | 42 | 1134 | 11582 (1)| 00:02:19 |
    |* 35 | INDEX RANGE SCAN | SUHISTOR_EVENTNR_CRDATE_IDX | 13157 | | 3159 (1)| 00:00:38 |
    |* 36 | TABLE ACCESS BY INDEX ROWID | AGREEMENT_DETAIL | 1 | 26 | 2 (0)| 00:00:01 |
    |* 37 | INDEX UNIQUE SCAN | PK_AGREEMENT_DETAIL | 1 | | 1 (0)| 00:00:01 |
    |* 38 | TABLE ACCESS BY INDEX ROWID | COMMERCIAL_PRODUCT | 1 | 23 | 1 (0)| 00:00:01 |
    |* 39 | INDEX UNIQUE SCAN | PK_COMMERCIAL_PRODUCT | 1 | | 0 (0)| 00:00:01 |
    | 40 | TABLE ACCESS BY INDEX ROWID | AGREEMENT_DETAIL_STATUS | 1 | 13 | 1 (0)| 00:00:01 |
    |* 41 | INDEX UNIQUE SCAN | PK_AGREEMENT_DETAIL_STATUS | 1 | | 0 (0)| 00:00:01 |
    | 42 | TABLE ACCESS BY INDEX ROWID | FINANCIAL_ACCOUNT | 1 | 20 | 3 (0)| 00:00:01 |
    |* 43 | INDEX RANGE SCAN | FINACCT_CUSTOMERID_IDX | 1 | | 2 (0)| 00:00:01 |
    | 44 | TABLE ACCESS BY INDEX ROWID | SOFTWARE_PER_AD | 1 | 10 | 3 (0)| 00:00:01 |
    |* 45 | INDEX RANGE SCAN | SPAD_AGREEMENTDETAILID_IDX | 1 | | 2 (0)| 00:00:01 |
    |* 46 | TABLE ACCESS BY INDEX ROWID | DEVICE_AGREEMENT_DETAIL | 1 | 14 | 2 (0)| 00:00:01 |
    |* 47 | INDEX UNIQUE SCAN | PK_DEVICE_AGREEMENT_DETAIL | 1 | | 1 (0)| 00:00:01 |
    | 48 | TABLE ACCESS BY INDEX ROWID | DEVICE | 1 | 29 | 2 (0)| 00:00:01 |
    |* 49 | INDEX UNIQUE SCAN | PK_DEVICE | 1 | | 1 (0)| 00:00:01 |
    | 50 | TABLE ACCESS BY INDEX ROWID | HARDWARE_MODEL | 1 | 18 | 1 (0)| 00:00:01 |
    |* 51 | INDEX UNIQUE SCAN | PK_HARDWARE_MODEL | 1 | | 0 (0)| 00:00:01 |
    | 52 | TABLE ACCESS BY INDEX ROWID | DEVICE_STATUS | 1 | 13 | 1 (0)| 00:00:01 |
    |* 53 | INDEX UNIQUE SCAN | PK_DEVICE_STATUS | 1 | | 0 (0)| 00:00:01 |
    | 54 | TABLE ACCESS BY INDEX ROWID | IBS_USER | 1 | 20 | 1 (0)| 00:00:01 |
    |* 55 | INDEX UNIQUE SCAN | KEY001USRNAMES | 1 | | 0 (0)| 00:00:01 |
    |* 56 | INDEX RANGE SCAN | KEY012DEVICE_PAIRING | 1 | 12 | 2 (0)| 00:00:01 |
    | 57 | TABLE ACCESS BY INDEX ROWID | DEVICE | 1 | 26 | 2 (0)| 00:00:01 |
    |* 58 | INDEX UNIQUE SCAN | PK_DEVICE | 1 | | 1 (0)| 00:00:01 |
    | 59 | TABLE ACCESS BY INDEX ROWID | HARDWARE_MODEL | 1 | 18 | 1 (0)| 00:00:01 |
    |* 60 | INDEX UNIQUE SCAN | PK_HARDWARE_MODEL | 1 | | 0 (0)| 00:00:01 |
    | 61 | TABLE ACCESS BY INDEX ROWID | ADDRESS | 1 | 44 | 3 (0)| 00:00:01 |
    |* 62 | INDEX RANGE SCAN | KEY002ADDRESS | 1 | | 2 (0)| 00:00:01 |
    | 63 | TABLE ACCESS BY INDEX ROWID | PROVINCE | 1 | 15 | 1 (0)| 00:00:01 |
    |* 64 | INDEX UNIQUE SCAN | KEY001PROVINCE | 1 | | 0 (0)| 00:00:01 |
    | 65 | TABLE ACCESS BY INDEX ROWID | CUSTOMER | 1 | 8 | 2 (0)| 00:00:01 |
    |* 66 | INDEX UNIQUE SCAN | PK_CUCUSTNR1 | 1 | | 1 (0)| 00:00:01 |
    | 67 | TABLE ACCESS BY INDEX ROWID | SUBSTYPE | 1 | 13 | 1 (0)| 00:00:01 |
    |* 68 | INDEX UNIQUE SCAN | KEY001SUBSTYPE | 1 | | 0 (0)| 00:00:01 |
    | 69 | TABLE ACCESS BY INDEX ROWID | MARKET_SEGMENT | 1 | 30 | 1 (0)| 00:00:01 |
    |* 70 | INDEX UNIQUE SCAN | PK_MARKET_SEGMENT | 1 | | 0 (0)| 00:00:01 |
    | 71 | TABLE ACCESS BY INDEX ROWID | MARKET_SEGMENT_TYPE | 1 | 12 | 1 (0)| 00:00:01 |
    |* 72 | INDEX UNIQUE SCAN | PK_MARKET_SEGMENT_TYPE | 1 | | 0 (0)| 00:00:01 |
    Predicate Information (identified by operation id):
    2 - filter("SHEVENTNR"=133 OR "SHEVENTNR"=1133)
    6 - access("ENTITY_ID"=:B1)
    9 - access("SHSUBSCRIBERNR"=:B1)
    filter("SHSUBSCRIBERNR"=:B1)
    33 - access("SE"."ID"=108 OR "SE"."ID"=5229)
    34 - filter("SUH"."SHSUBSCRIBERNR" IS NOT NULL AND TRUNC(INTERNAL_FUNCTION("SUH"."REAL_DATE"))<TRUNC(SYSDATE@!))
    35 - access("SUH"."SHEVENTNR"="SE"."ID")
    filter("SUH"."SHEVENTNR"=108 OR "SUH"."SHEVENTNR"=5229)
    36 - filter("SUH"."SHSUBSCRIBERNR"="AD"."CUSTOMER_ID")
    37 - access("SUH"."ENTITY_ID"="AD"."ID")
    38 - filter("CP"."CATEGORY_ID"=1)
    39 - access("AD"."COMM_PRODUCT_ID"="CP"."ID")
    41 - access("AD"."STATUS"="ADS"."ID")
    43 - access("AD"."CUSTOMER_ID"="FA"."CUSTOMER_ID")
    45 - access("AD"."ID"="SPA"."AGREEMENT_DETAIL_ID")
    46 - filter("DAD"."TECHNICAL_PRODUCT_ID"=1 OR "DAD"."TECHNICAL_PRODUCT_ID"=TO_NUMBER(NULL))
    47 - access("SPA"."DEVICE_PER_AD_ID"="DAD"."ID")
    49 - access("DAD"."DEVICE_ID"="DEV"."ID"(+))
    51 - access("DEV"."MODEL_ID"="HM"."ID"(+))
    53 - access("DEV"."STATUS_ID"="DS"."ID"(+))
    55 - access("SUH"."SHUSERNR"="IBS"."ID")
    56 - access("DEV"."ID"="DP"."PAIRED_FROM_ID"(+))
    58 - access("DP"."PAIRED_TO_ID"="DEV1"."ID"(+))
    60 - access("DEV1"."MODEL_ID"="HM1"."ID"(+))
    62 - access("AD"."CUSTOMER_ID"="ADDR"."ADDRCUSTNR")
    64 - access("ADDR"."ADDRPROVINCENUMBER"="PRO"."PROVINCENUMBER")
    66 - access("ADDR"."ADDRCUSTNR"="CUST"."ID")
    68 - access("CUST"."TYPE_ID"="SUB"."SUBSCRIBERTYPE")
    70 - access("ADDR"."MARKETSEGMENT_ID"="MS"."ID")
    72 - access("MS"."MARKET_SEGMENT_TYPE_ID"="MST"."ID")

    Potential issues I've seen in your statement:
    reverse(substr(reverse(ms.name),instr(reverse(ms.name),'-')+1)) cluster_name"{code}
    This is the same as:
    {code}SUBSTR(ms.name, 1, INSTR(ms.name, '-', -1) - 1){code}
    {code}select max(to_char(create_datetime,'mm/dd/yyyy')){code}
    This will ensure that 2nd December 2008 is counted as being later than 1st December 2009 - is that absolutely correct? Did you not mean this instead?:
    {code}SELECT MAX(TRUNC(create_datetime)){code}
    {code}
    AND    dad.device_id = dev.id(+)
    AND    dev.status_id = ds.id(+)
    AND    dev.model_id = hm.id(+)
    AND    dev.id = dp.paired_from_id(+)
    AND    dp.paired_to_id = dev1.id(+)
    {code}
    Those outer joins are useless! When you say "outer join tableB to tableA on the join cols and then filter the rows where tableB.some_col = some_value", what you're really saying is "inner join tableB to tableA on the join cols and tableB.some_col = some_value".
    If you're wanting to do full outer joins use ANSI join syntax *or* do the outer joins first in a sub-query and then join that to the rest of the tables.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Help! I deleted my System preferences by mistake! I'm absolutely positive they are gone. Unfortunately so are the disks that came with it. I'm using an Imac with os 10.4.11. Any help would be greatly appreciated!

    Help! I deleted my System preferences by mistake! I'm absolutely positive they are gone. I checked spotlight, blue apple and the hard drive, applications. Gone. Unfortunately so are the disks that came with it. I'm using an Imac with os 10.4.11. Any help would be greatly appreciated!

    Try cleaning the disc, and be sure you have the right one.
    If that doesn't help, it sounds like it's time for a trip to the Apple Store. 
    Make an appointment here:  http://www.apple.com/retail/geniusbar/

  • Hello, I need help to retrieve deleted information to partition an external hard drive. What should I do?

    Hello, I need help to retrieve deleted information to partition an external hard drive. What should I do?

    I'm not about the question, and giving you the right answer requires me to ask a few more questions.
    Do you want to retrieve deleted information for future usage, or to completely delete a partition? The latter is straightforward: simply erase the partition. The former is more complicated: it's very difficult, even using available commercial software, to recover deleted information. If the data is important, you may want to contact a professional like DriveSavers. It won't be cheap.

  • Rogue App or Virus on iphone, help needed to delete

    Greetings,
    Recently my phone starting going haywire - I would click an app or try to text and it would appear that I pressed a different app or when I would type it would enter a bunch of other letters or numbers.  I discovered a new app on my phone that I did not download. I only get apps from iTunes and I did not jailbreak my phone. I have included a pic of the program called mfiTmitupxhw (bottom right of pic).  When I try to delete it, it says " Delete Icon ~ Are you sure you want to delete the bookmark "mfiTmitupxhw"?" I always cancel because I want the program or app deleted, not just the bookmark.  I am worried the program is running in the background.  I tried syncing with iTunes, but it was still there.  Can anyone help me with deleting this program?  The phone seems to be running okay now, no funky stuff happening, but I'm still worried what the heck this program is! Thanks!

    Okay, it took me a little bit but I finally see what you are both saying and see what probably happened. Still not sure what made my phone go haywire, but it seems to be resolved.  I'm hoping to get a new phone soon anyway and will leave this old one far, far away.

  • Please help me to delete all the contacts in my i phone 4s..its tiring to delete one by one...

    please help me to delete all the contacts in my i phone 4s..its tiring to delete one by one

    Stop making illogical statements and posting multiple times.
    READ the article from which this silly statement was posted and follow the detailed (and explicit) instructions.

  • HT204053 Please help me to delete my friend account get the Magicjack on my iphone . Now i want get it for use this program myself. How to do now?

    Please help me to delete my friend account :, getting in the Magicjack on my iphone last year. Now he go away and the date on Magicjack is expiried. I need  delete it for create my own account: on Magicjack. But I don"t know his password. How to do now? Please help me.
    Best regards.
    <Email Edited by Host>

    Welcome to the Apple community Dieumai.
    If you mean that Find My Phone is asking for a password to a different Apple ID to your current Apple ID.
    This feature has been introduced to make stolen phones useless to those that have stolen them.
    However it can also arise when the user has changed their Apple ID details with Apple and not made the same changes to their iCloud account/Find My Phone on their device before upgrading to iOS 7, or if you restore from a previous back up made before you changed your details.
    The only solution is to change your Apple ID back to its previous state with Apple at My Apple ID using your current password, you don’t need access to this address if it’s previously been used with your Apple ID, once you have saved these details enter the password as requested on your device and then turn off "find my phone" and delete the account from your device.
    You should then change your Apple ID back to its current state, save it once again and then log back in using your current Apple ID. Finally, turn "find my phone" back on once again.
    This article provides more information about Activation Lock.

  • İTunes deleting my all songs from my PC

    I deleted my İTunes library becaouse of my mistake.But iTunes deleted my all songs from my computer. Luckily I have a copy of them, I tought it's about  settings of iTunes but I'm not sure and new to iTunes. Could you help me?

    The best route is to create a new library as follows:
    1.  Start iTunes holding down the shift key, select the option for creating a new library;
    2.  Import the folder containing your Song files;
    3.  Create a secure backup of your new library;
    4.  Turn on iTunes Match and allow the 3-step process to run to completion.

Maybe you are looking for

  • Emergency lost work notes

    I have just spen the last two hours combining notes in the notes app, then they just disappeared, I had previously deleted the original set of notes when I completed the new document is their anyway I can retrieve from the deleted bill

  • How to use shared parameter on request set

    Hi I have a request set with two stages First stage contains From Date and To date where i have named the shared parameter as StartSP and EndSP i have to use these shared parameter in one of the query in next stage where my Type is SQL Statment and i

  • Apache soap and java

    Hi I wanted to know which websites have Apache SOAP webservices which we can write a client for in java and implement

  • How do I update LR5?

    how do I update LR5? I have the photography bundle CC but when I go to the Update icon it doesn't list LR 5 just PS CC.

  • The java class is not found:  oracle/aurora/util/Wrapper

    When I try and load my Java class file using 'loadjava' into Oracle I'm getting the error: The java class is not found: oracle/aurora/util/Wrapper What is causing this?