How optimize this delete statement.

Hi,
It is possible to optimize the following delete?
DELETE
FROM subraw
WHERE (((PERIOD_START_TIME >= to_date('20130918120000', 'yyyymmddhh24miss'))
        AND (PERIOD_START_TIME < to_date('20130918140000', 'yyyymmddhh24miss'))
        AND ((rn_id IN (4000000813562))))
       OR ((PERIOD_START_TIME >= to_date('20130918150000', 'yyyymmddhh24miss'))
           AND (PERIOD_START_TIME < to_date('20130919120000', 'yyyymmddhh24miss')))
       OR ((PERIOD_START_TIME >= to_date('20130919220000', 'yyyymmddhh24miss'))
           AND (PERIOD_START_TIME < to_date('20130919230000', 'yyyymmddhh24miss'))))
  AND (subraw.rn_id = 0
       OR EXISTS
         (SELECT *
          FROM CO_OBJECTS
          WHERE CO_ID = 4
            AND CO_OBJECTS.CO_GI = subraw.rn_id));
The subraw table have 987792728 (aprox. 990 millions) rows
The CO_OBJECTS have 3010749(aprox. 3millions) rows.
The subraw_PK index (for the RN_ID,PERIOD_START_TIMEcolumns)
The CO_OBJECTS_CO_GID index (for the CO_ID,CO_GI columns)
PLAN_TABLE_OUTPUT
Plan hash value: 2274303221
| Id  | Operation                   | Name                         | Rows  | Bytes | Cost (%CPU)| Time     | Pstart| Pstop |
|   0 | DELETE STATEMENT            |                              |  1606K|   870M|  1116  (93)| 00:00:01 |       |       |
|   1 |  DELETE                     | subraw                       |       |       |            |          |       |       |
|   2 |   CONCATENATION             |                              |       |       |            |          |       |       |
|*  3 |    FILTER                   |                              |       |       |            |          |       |       |
|   4 |     PARTITION RANGE SINGLE  |                              |   891 |   494K|     3  (34)| 00:00:01 |    31 |    31 |
|*  5 |      INDEX RANGE SCAN       | subraw_PK                    |   891 |   494K|     3  (34)| 00:00:01 |    31 |    31 |
|*  6 |     INDEX RANGE SCAN        | CO_OBJECTS_CO_GID            |   753 | 19578 |     1   (0)| 00:00:01 |       |       |
|*  7 |    FILTER                   |                              |       |       |            |          |       |       |
|   8 |     PARTITION RANGE SINGLE  |                              |  1713K|   927M|   368  (93)| 00:00:01 |    32 |    32 |
|*  9 |      INDEX FULL SCAN        | subraw_PK                   |  1713K|   927M|   368  (93)| 00:00:01 |    32 |    32 |
|* 10 |     INDEX RANGE SCAN        | CO_OBJECTS_CO_GID            |   753 | 19578 |     1   (0)| 00:00:01 |       |       |
|* 11 |    FILTER                   |                              |       |       |            |          |       |       |
|  12 |     PARTITION RANGE ITERATOR|                              |    25M|    13G|   744  (94)| 00:00:01 |    31 |    32 |
|* 13 |      INDEX FULL SCAN        | subraw_PK                    |    25M|    13G|   744  (94)| 00:00:01 |    31 |    32 |
|* 14 |     INDEX RANGE SCAN        | CO_OBJECTS_CO_GID            |   753 | 19578 |     1   (0)| 00:00:01 |       |       |
BR,
Jorge

Hi,
Please find below the info requested:
SQL> select count(*) from subraw partition(PM_20130919);
COUNT(*)
  33109835
All partitions for the table above have aprox, 30 millions of rows
Predicate Information (identified by operation id):
   3 - filter("RN_ID"=0 OR  EXISTS (SELECT 0 FROM "UMA"."CO_OBJECTS" "CO_OBJECTS" WHERE
              "CO_OBJECTS"."CO_GI"=:B1 AND "CO_ID"=4))
   5 - access("RN_ID"=4000000813562 AND "PERIOD_START_TIME">=TO_DATE(' 2013-09-18 12:00:00', 'syyyy-mm-dd
              hh24:mi:ss') AND "PERIOD_START_TIME"<TO_DATE(' 2013-09-18 14:00:00', 'syyyy-mm-dd hh24:mi:ss'))
       filter("PERIOD_START_TIME">=TO_DATE(' 2013-09-18 12:00:00', 'syyyy-mm-dd hh24:mi:ss') AND
              "PERIOD_START_TIME"<TO_DATE(' 2013-09-18 14:00:00', 'syyyy-mm-dd hh24:mi:ss'))
   6 - access("CO_ID"=4 AND "CO_OBJECTS"."CO_GI"=:B1)
   7 - filter("RN_ID"=0 OR  EXISTS (SELECT 0 FROM "UMA"."CO_OBJECTS" "CO_OBJECTS" WHERE
              "CO_OBJECTS"."CO_GI"=:B1 AND "CO_ID"=4))
   9 - access("PERIOD_START_TIME">=TO_DATE(' 2013-09-19 22:00:00', 'syyyy-mm-dd hh24:mi:ss') AND
              "PERIOD_START_TIME"<TO_DATE(' 2013-09-19 23:00:00', 'syyyy-mm-dd hh24:mi:ss'))
       filter("PERIOD_START_TIME">=TO_DATE(' 2013-09-19 22:00:00', 'syyyy-mm-dd hh24:mi:ss') AND
              "PERIOD_START_TIME"<TO_DATE(' 2013-09-19 23:00:00', 'syyyy-mm-dd hh24:mi:ss') AND (LNNVL("RN_ID"=4000000813562) OR
              LNNVL("PERIOD_START_TIME">=TO_DATE(' 2013-09-18 12:00:00', 'syyyy-mm-dd hh24:mi:ss')) OR
              LNNVL("PERIOD_START_TIME"<TO_DATE(' 2013-09-18 14:00:00', 'syyyy-mm-dd hh24:mi:ss'))))
  10 - access("CO_ID"=4 AND "CO_OBJECTS"."CO_GI"=:B1)
  11 - filter("RN_ID"=0 OR  EXISTS (SELECT 0 FROM "UMA"."CO_OBJECTS" "CO_OBJECTS" WHERE
              "CO_OBJECTS"."CO_GI"=:B1 AND "CO_ID"=4))
  13 - access("PERIOD_START_TIME">=TO_DATE(' 2013-09-18 15:00:00', 'syyyy-mm-dd hh24:mi:ss') AND
              "PERIOD_START_TIME"<TO_DATE(' 2013-09-19 12:00:00', 'syyyy-mm-dd hh24:mi:ss'))
       filter("PERIOD_START_TIME">=TO_DATE(' 2013-09-18 15:00:00', 'syyyy-mm-dd hh24:mi:ss') AND
              "PERIOD_START_TIME"<TO_DATE(' 2013-09-19 12:00:00', 'syyyy-mm-dd hh24:mi:ss') AND
              (LNNVL("PERIOD_START_TIME">=TO_DATE(' 2013-09-19 22:00:00', 'syyyy-mm-dd hh24:mi:ss')) OR
              LNNVL("PERIOD_START_TIME"<TO_DATE(' 2013-09-19 23:00:00', 'syyyy-mm-dd hh24:mi:ss'))) AND
              (LNNVL("RN_ID"=4000000813562) OR LNNVL("PERIOD_START_TIME">=TO_DATE(' 2013-09-18 12:00:00', 'syyyy-mm-dd
              hh24:mi:ss')) OR LNNVL("PERIOD_START_TIME"<TO_DATE(' 2013-09-18 14:00:00', 'syyyy-mm-dd hh24:mi:ss'))))
  14 - access("CO_ID"=4 AND "CO_OBJECTS"."CO_GI"=:B1)
Note
   - dynamic sampling used for this statement (level=4)
BR,
Jorge

Similar Messages

  • How to optimize this select statement  its a simple select....

    how to optimize this select statement  as the records in earlier table is abt i million
    and this simplet select statement is not executing and taking lot of time
      SELECT  guid  
                    stcts      
      INTO table gt_corcts
      FROM   corcts
      FOR all entries in gt_mege
      WHERE  /sapsll/corcts~stcts = gt_mege-ctsex
      and /sapsll/corcts~guid_pobj = gt_Sagmeld-guid_pobj.
    regards
    Arora

    Hi Arora,
    Using Package size is very simple and you can avoid the time out and as well as the problem because of memory.  Some time if you have too many records in the internal table, then you will get a short dump called TSV_TNEW_PAGE_ALLOC_FAILED.
    Below is the sample code.
    DATA p_size = 50000
    SELECT field1 field2 field3
       INTO TABLE itab1 PACKAGE SIZE p_size
       FROM dtab
       WHERE <condition>
    Other logic or process on the internal table itab1
    FREE itab1.
    ENDSELECT.
    Here the only problem is you have to put the ENDSELECT.
    How it works
    In the first select it will select 50000 records ( or the p_size you gave).  That will be in the internal table itab1.
    In the second select it will clear the 50000 records already there and append next 50000 records from the database table.
    So care should be taken to do all the logic or process with in select and endselect.
    Some ABAP standards may not allow you to use select-endselect.  But this is the best way to handle huge data without short dumps and memory related problems. 
    I am using this approach.  My data is much more huge than yours.  At an average of atleast 5 millions records per select.
    Good luck and hope this help you.
    Regards,
    Kasthuri Rangan Srinivasan

  • How does this IMPORT statement works

    can any one tell me how does this statement will work..
    I am wokring on Solution manager system , where in there is a function module SSF_FIELD_LIST
    to which system passes form name.
      import fields to fieldlist
             from database stxfcontr(sf) id l_fullname.
    stxfcontr is a table which contains value of in  a diff
    Regards,
    mayank

    It will import data object stored in memory under named fields to your custom data object fieldlist .
    The table which it is stored is name stxfcontr under RELID (memory area) SF .
    Cluster key (key of the entry) in that table is behind var l_fullname
    Anyhow I think [this link|http://help.sap.com/saphelp_nw04/helpdata/en/fc/eb3bf8358411d1829f0000e829fbfe/frameset.htm] is more that any explanation. Once you study it, you will understand the above.
    Regards
    Marcin

  • How to improve DELETE statement that remove millions of rows?

    The following query take lot of time when exectued, even after I drop the indexes, is there a better way to write the following query?
    DELETE from pwr_part
    where ft_src_ref_id in (select ft_src_ref_id
    from pwr_purge_ft);
    --Table:pwr_part
    --UIP10371 foreign key (FT_SRC_REF_ID, FT_DTL_SEQ)
    --Table: pwr_purge_ft
    --PWR_PURGE_FT_PK Primary key (FT_SRC_REF_ID, FT_DTL_SEQ)
    select count(*) from pwr_part;
    --27,248,294
    select count(*) from pwr_purge_ft;
    --23,803,770
    Explain Plan:
    Description Object owner Object name Cost Cardinality Bytes
    SELECT STATEMENT, GOAL = ALL_ROWS 224993 5492829 395483688
    HASH JOIN RIGHT SEMI 224993 5492829 395483688
    INDEX FAST FULL SCAN PWR_OWNER PWR_PURGE_FT_PK 43102 23803770 142822620
    PARTITION HASH ALL 60942 27156200 1792309200
    TABLE ACCESS FULL PWR_OWNER PWR_PART 60942 27156200 1792309200

    Helio Dias wrote:
    Have you ever thought about bulk collection?
    http://heliodias.wordpress.com/2010/01/07/best-way-to-delete-millions-rows-from-hundred-millions-table/
    One reason for which I would hate your suggestion.
    Regular Delete vs Bulk Delete

  • DELETE Statements [SOLVED]

    This is simple question.
    I have 1 big table. select * from big_table requires a lot of time.
    Then I delete some records on big_table. delete from big_table where no > 1000.
    Thus the table size has reduced significantly. However when I select again using select statement above. The query still take a long time.
    Why?
    When I truncate the big_table with drop storage option. Then insert the big_table with records that saved previously. Then it runs quickly.
    Question how to use DELETE statements that drop storage? Is DELETE statements doesnt release the storage?
    regards n thanks
    Message was edited by:
    user465837+++eric

    No. DELETE does not release storage that is already allocated to a table. It just makes those blocks available on the free list of blocks for that segment.
    However, the high water mark for that segment is reset ONLY by the truncate/MOVE commands (DROP also is useful but not always ;)).
    Since FTS against such tables is going to scan all the rows below the HWM, it is bound to take time when a table is cleaned up using DELETE command.

  • Performance of delete statement

    This delete statement does not complete even after 20 hrs. I have indexes on all columns mentioned in the where clause. I have also tried using function based indexes and analyzing tables but this does not give ay results.
    When I remove the nvl it processes in 1min. There are 400,000 records in edw_err_invoice_Stg. Can anybody suggest anything ?
    delete from stgown.EDW_ERR_INVOICE_STG a
    where a.dwh_load_key != (select max(b.dwh_load_key)
    from EDW_ERR_INVOICE_STG b
    where NVL(a.sys_ent_id,0) = NVL(b.sys_ent_id,0)
    and NVL(a.invoice_no,0) = NVL(b.invoice_no,0)
    and NVL(a.invoice_line_no,0) = NVL(b.invoice_line_no,0)
    and NVL(a.invoice_transaction_date,trunc(sysdate)) = NVL(b.invoice_transaction_date,trunc(sysdate))
    and NVL(a.supplier_no,0) = NVL(b.supplier_no,0)
    and NVL(a.transaction_flag,0) = NVL(b.transaction_flag,0));

    Hi,
    What about :
    delete from EDW_ERR_INVOICE_STG
    where rowid not in (select max(rowid) keep (dense_rank last order by dwh_load_key)
                                from    EDW_ERR_INVOICE_STG
                                group by sys_ent_id, invoice_no, invoice_line_no, invoice_transaction_date, supplier_no, transaction_flag));Nicolas.
    Well, perhaps if you've 2 rows with max value for same group by, it's not a solution... because the statement above keep only one of these.
    Message was edited by:
    N. Gasparotto

  • Help needed to build delete statement

    i need to keep last 10 days data+ last day of everymonth data in my table.
    this table will grow on daily basis.
    ex:
    data_date no.of records
    2006/02/28 10000
    2006/03/31 11000
    2006/04/30 12000
    2006/05/31 13000
    2006/06/09     13100
    2006/06/10 13200
    2006/06/11 13300
    2006/06/12 13400
    2006/06/13     13500
    2006/06/14     13600
    2006/06/15 13700
    2006/06/16 13800
    2006/06/17     13900
    2006/06/18     14000
    means last 10 days + last day of evermonth data need to store and remaining all
    records i need to delete from this table.
    could you help me to build this delete statement in single statement.

    select * from mytbl;
    DD                 NR
    28-02-2006      12000
    31-03-2006      10000
    30-04-2006      12050
    31-05-2006       9500
    06-06-2006      13100
    07-06-2006      13200
    08-06-2006      13300
    09-06-2006      13400
    10-06-2006      13500
    11-06-2006      13600
    12-06-2006      13700
    13-06-2006      13800
    14-06-2006      13900
    15-06-2006      14000
    16-06-2006      14100
    17-06-2006      14200
    18-06-2006      14300
    17 rows selected.
    delete from mytbl
    where not
    ( dd = last_day( dd ) -- Keep last days of months
       or  dd >= trunc(sysdate) - 10 -- Keep last 10 days
    3 rows deleted.
    select * from mytbl;
    DD                 NR
    28-02-2006      12000
    31-03-2006      10000
    30-04-2006      12050
    31-05-2006       9500
    09-06-2006      13400
    10-06-2006      13500
    11-06-2006      13600
    12-06-2006      13700
    13-06-2006      13800
    14-06-2006      13900
    15-06-2006      14000
    16-06-2006      14100
    17-06-2006      14200
    18-06-2006      14300To me...it looks like it does work!

  • My iBooks will not open, I receive a message that states: "Failed to load book because t he requested resource is missing." How can this be repaired/resolved?

    My iBooks will not open, I receive a message that states: "Failed to load book because the requested resource is missing." How can this be repaired/resolved?

    If you can't open a particular ibook then try deleting it from the bookshelf via the Edit button at the top right of the bookshelf, and (assuming that it's still in your country's store) redownload it via the Purchased tab in the ibookstore in the app (or if you have a copy of it on your computer's iTunes library sync it back from there).

  • The DELETE statement conflicted with the REFERENCE constraint "FK_Equipment_Assets". The conflict occurred in database "WorkOrderSystem", table "dbo.Equipment", column 'AssetCode'........can someone give me a solution for this Error.

    The DELETE statement conflicted with the REFERENCE constraint "FK_Equipment_Assets". The conflict occurred in database "WorkOrderSystem", table "dbo.Equipment", column 'AssetCode'

    ya that's true row is referenced by another table.....but i want the row to referred by another table ,I don't know how to fix it
    Actually this is not a C# issue. It is a T-SQl issue.
    https://social.msdn.microsoft.com/Forums/sqlserver/en-US/home?forum=transactsql
    The above link should be posted.
    Per my understanding, first you should
    delete the record from the Foreign Table and then after you have to delete the record from the Primary Key table
    Hope it helps you.
    Best regards,
    Kristin
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • How I can optimize this SQL query

    I require your help, I want to know how I can optimize this query
    SELECT
                    "F42119". "SDLITM" as "Code1"
                    "F42119". "SDAITM" as "Code2"
                    "F42119". "SDDSC1" as "Product"
                    "F42119". "SDMCU" as "Bodega"
                    Sum ("F42119". "SDSOQS" / 10000) as "Number",
                    Sum ("F42119". "SDUPRC" / 10000) as "preciou"
                    Sum ("F42119". "SDAEXP" / 100) as "Value",
                    Sum ("F42119". "SDUNCS" / 10000) as "CostoU"
                    Sum ("F42119". "SDECST" / 100) as "Cost"
                    "F4101". "IMSRP1" as "Division"
                    "F4101". "IMSRP2" as "classification",
                    "F4101". "IMSRP8" as "Brand"
                    "F4101". "IMSRP9" as "Aroma"
                    "F4101". "IMSRP0" as "Presentation"
                    "F42119". "SDDOC" as "Type",
                    "F42119". "SDDCT" as "Document",
                    "F42119". "SDUOM" as "Unit"
                    "F42119". "SDCRCD" as "currency"
                    "F0101". "ABAN8" as "ABAN8"
                    "F0101". "ABALPH" as "Customer"
                    "F0006". "MCRP22" as "Establishment"
    from          "PRODDTA". "F0101" "F0101"
                    "PRODDTA". "F42119" "F42119"
                    "PRODDTA". "F4101" "F4101"
                    "PRODDTA". "F0006" "F0006"
    where       "F42119". "SDAN8" = "F0101". "ABAN8"
      and         "F0006". "MCMCU" = "F42119". "SDMCU"
      and         "F4101". "IMITM" = "F42119". "SDITM"
      and         "F42119". "SDDCT" in ('RI', 'RM', 'RN')
      and         CAST (EXTRACT (MONTH FROM TO_DATE (substr ((to_date ('01-01-'| | to_char (round (1900 + (CAST ("F42119". "SDDGL" as int) / 1000))),' DD- MM-                YYYY ') + substr (to_char (CAST ("F42119". "SDDGL" as int)), 4,3) -1), 1,10))) AS INT) in : Month
    and          CAST (EXTRACT (YEAR FROM TO_DATE (substr ((to_date ('01-01-'| | to_char (round (1900 + (CAST ("F42119". "SDDGL" as int) / 1000))),' DD- MM-                YYYY ')+ Substr (to_char (CAST ("F42119". "SDDGL" as int)), 4,3) -1), 1,10))) AS INT) in: Year
    and          trim ("F0006". "MCRP22") =: Establishment
    and          trim ("F4101". "IMSRP1") =: Division
    Group By    "F42119". "SDLITM"
                    "F42119". "SDAITM"
                    "F42119". "SDDSC1"
                    "F4101". "IMSRP1"
                    "F42119". "SDDOC"
                    "F42119". "SDDCT"
                    "F42119". "SDUOM"
                    "F42119". "SDCRCD"
                    "F0101". "ABAN8"
                    "F0101". "ABALPH"
                    "F4101". "IMSRP2"
                    "F4101". "IMSRP8"
                    "F4101". "IMSRP9"
                    "F4101". "IMSRP0"
                    "F42119". "SDMCU"
                    "F0006". "MCRP22"
    I appreciate the help you can give me

    It seems to me that part of fixing it could be how you join the tables.
    Instead of the humongous where clause, put the applicable conditions on the join.
    You have
    from "PRODDTA". "F0101" "F0101"
    "PRODDTA". "F42119" "F42119"
    "PRODDTA". "F4101" "F4101"
    "PRODDTA". "F0006" "F0006"
    where "F42119". "SDAN8" = "F0101". "ABAN8"
    and "F0006". "MCMCU" = "F42119". "SDMCU"
    and "F4101". "IMITM" = "F42119". "SDITM"
    and "F42119". "SDDCT" in ('RI', 'RM', 'RN')
    and CAST (EXTRACT (MONTH FROM TO_DATE (substr ((to_date ('01-01-'| | to_char (round (1900 + (CAST ("F42119". "SDDGL" as int) / 1000))),' DD- MM- YYYY ') + substr (to_char (CAST ("F42119". "SDDGL" as int)), 4,3) -1), 1,10))) AS INT) in : Month
    and CAST (EXTRACT (YEAR FROM TO_DATE (substr ((to_date ('01-01-'| | to_char (round (1900 + (CAST ("F42119". "SDDGL" as int) / 1000))),' DD- MM- YYYY ')+ Substr (to_char (CAST ("F42119". "SDDGL" as int)), 4,3) -1), 1,10))) AS INT) in: Year
    and trim ("F0006". "MCRP22") =: Establishment
    and trim ("F4101". "IMSRP1") =: Division
    INSTEAD try something like
    from JOIN "PRODDTA". "F0101" "F0101" ON "F42119". "SDAN8" = "F0101". "ABAN8"
    JOIN "PRODDTA". "F42119" "F42119" ON "F0006". "MCMCU" = "F42119". "SDMCU"
    JOIN "PRODDTA". "F4101" "F4101" ON join condition
    JOIN "PRODDTA". "F0006" "F0006" ON join condition.
    Not sure exactly how you need things joined, but above is the basic idea. Remove criteria for joining the tables from the WHERE clause and put them
    in the join statements. That might clean things up and make it more efficient.

  • Pages 5.5.1: When opening a document created with Pages '09 (Version 4.0) with Pages 5.5.1 the page header and the page footer are deleted. How can this be prevented? Or is this a bug in Pages 5.5.1?

    Pages 5.5.1: When opening a document created with Pages '09 (Version 4.0) with Pages 5.5.1 the page header and the page footer are deleted. How can this be prevented? Or is this a bug in Pages 5.5.1?

    Same problem here (no graphics in header or footer) and the problem has been reported months ago. It is another bug/feature lost when Apple moves from 09 to the iCloud-compatible versions.  Complain to Apple, you may have better chance than me and they may finally listen to their users....

  • How do you delete songs that you purchased through iTunes but don't show up when you connect the iphone to iTunes they don't show up in music when you click on "On this phone"? I have my phone setup to manually manage music. Please help.

    How do you delete songs that you purchased through iTunes but don't show up when you connect the iphone to iTunes? They don't show up in the music section when you click on "On this phone". Side Note: I have my phone setup to manually manage music. Please help.

    Hi, Mrs.Frankie57. 
    Thank you for visiting Apple Support Communities.
    If you want to delete a song from your iOS device on iOS 7, tap Songs, swipe the song from right to left, then tap Delete. The song is deleted from iPhone, but not from your iTunes library on your Mac or PC, or from iCloud.
    iPhone User Guide
    Cheers,
    Jason H.

  • I was backing up my iPhone and importing photos onto iPhoto at the same time , then suddenly it says no more space available (i had 48GB before i do this and now i have 18GB) i can't find the back up or the photo anywhere , how can i delete them ?

    i was backing up my iPhone and importing photos onto iPhoto at the same time , then suddenly it says no more space available (i had 48GB before i do this and now i have 18GB) i can't find the back up or the photo anywhere , how can i delete them ? i dont need the pictures or the back ups , i want to delete them but they are not there

    Empty the Trash if you haven't already done so. If you use iPhoto, empty its internal Trash first:
    iPhoto ▹ Empty Trash
    Do the same in other applications, such as Aperture, that have an internal Trash feature. Then reboot. That will temporarily free up some space.
    According to Apple documentation, you need at least 9 GB of available space on the startup volume (as shown in the Finder Info window) for normal operation. You also need enough space left over to allow for growth of the data. There is little or no performance advantage to having more available space than the minimum Apple recommends. Available storage space that you'll never use is wasted space.
    When Time Machine backs up a portable Mac, some of the free space will be used to make local snapshots, which are backup copies of recently deleted files. The space occupied by local snapshots is reported as available by the Finder, and should be considered as such. In the Storage display of System Information, local snapshots are shown asBackups. The snapshots are automatically deleted when they expire or when free space falls below a certain level. You ordinarily don't need to, and should not, delete local snapshots yourself. If you followed bad advice to disable local snapshots by running a shell command, you may have ended up with a lot of data in the Other category. Reboot and it should go away.
    See this support article for some simple ways to free up storage space.
    You can more effectively use a tool such as OmniDiskSweeper (ODS) to explore the volume and find out what's taking up the space. You can also delete files with it, but don't do that unless you're sure that you know what you're deleting and that all data is safely backed up. That means you have multiple backups, not just one.
    Deleting files inside an iPhoto or Aperture library will corrupt the library. Any changes to a photo library must be made from within the application that created it. The same goes for Mail files.
    Proceed further only if the problem isn't solved by the above steps.
    ODS can't see the whole filesystem when you run it just by double-clicking; it only sees files that you have permission to read. To see everything, you have to run it as root.
    Back up all data now.
    If you have more than one user account, make sure you're logged in as an administrator. The administrator account is the one that was created automatically when you first set up the computer.
    Install ODS in the Applications folder as usual. Quit it if it's running.
    Triple-click anywhere in the line of text below on this page to select it, then copy the selected text to the Clipboard by pressing the key combination command-C:
    sudo /Applications/OmniDiskSweeper.app/Contents/MacOS/OmniDiskSweeper
    Launch the built-in Terminal application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Terminal in the icon grid.
    Paste into the Terminal window (command-V). You'll be prompted for your login password, which won't be displayed when you type it. You may get a one-time warning to be careful. If you see a message that your username "is not in the sudoers file," then you're not logged in as an administrator.
    The application window will open, eventually showing all files in all folders, sorted by size with the largest at the top. It may take a few minutes for ODS to finish scanning.
    I don't recommend that you make a habit of doing this. Don't delete anything while running ODS as root. If something needs to be deleted, make sure you know what it is and how it got there, and then delete it by other, safer, means. When in doubt, leave it alone or ask for guidance.
    When you're done with ODS, quit it and also quit Terminal.

  • I downloaded a word file from an inbox mail (the mail app) onto my iPad2, where is this file stored? How can I delete it if it takes up space in my iPad? Any ideas??

    I downloaded a word file from an inbox mail (the mail app) onto my iPad, where is this file stored? How can I delete it if it takes up space in my iPad? Any ideas??

    Did you ever figure out what happened?
    I had the same experience as you did, but in my case it was a big fat pdf that Mail insisted I had to download before I could view it. As happened with you, I saw the file actually downloading, and after a time I was able to view the pdf. It's been my assumption that the pdf is still somewhere on my iPad, but I have no idea where, nor how to delete it if it is still there.
    Thanks.

  • HT1620 I have been trying to download iOS 6.1 on my ipad.  It takes between 6-8 hours to download and after about 4-5 hours it send me an error message and cannot download. How can I delete this downloa? it will not let me download any apps

    I have been trying to download iOS 6.1 on my ipad.  After its been downloading for about 4 hours, I receive a message that there is an error and cannot download.  How can I delete this download from my settings?  I tried downloading other apps, but it will not let me unless I download iOS 6.1

    What iOS are you currently running?
    If you have an iPad 1, the max iOS is 5.1.1. For newer iPads, the current iOS is 6.1. The Settings>General>Software Update only appears if you have iOS 5.0 or higher currently installed.
    iOS 5: Updating your device to iOS 5 or Later
    http://support.apple.com/kb/HT4972
    How to install iOS 6
    http://www.macworld.com/article/2010061/hands-on-with-ios-6-installation.html
    iOS: How to update your iPhone, iPad, or iPod touch
    http://support.apple.com/kb/HT4623
    If you are currently running an iOS lower than 5.0, connect the iPad to the computer, open iTunes. Then select the iPad under the Devices heading on the left, click on the Summary tab and then click on Check for Update.
    Tip - If connected to your computer, you may need to disable your firewall and anitvirus software temporarily.  Then download and install the iOS update. Be sure and backup your iPad before the iOS update. After you update an iPad (except iPad 1) to iOS 6.x, the next update can be installed via wifi (i.e., not connected to your computer).
     Cheers, Tom

Maybe you are looking for

  • Using Creative MediaSource - No Track Ye

    Hi, I don't know if this is the right place to post this but I'm looking for some answers on this and here goes... I've got a Creative Nomad Jukebox Zen Xtra player that's a few years old and I'm using Creative MediaSource .0.85. Whenever I want to r

  • Windows 7 x64 on G6230 driver help(camdriver)

    we just installed x64 windows seven on our lenovo g230 but we're having problems installing the camera drivers and energy management...we used the vista cd driver that came along with the unit(all the drivers work well except those two) need help in

  • SAP / ABAP Query - using logical database

    Hi , We have a mandate to implement SAP Query using only Logical Databases (LDB ) . We understand that there are several issues using this approach . 1 ) Paralled tables in MM need to be displayed on separate lines . 2 ) Statistics based on fields fr

  • How do I remove a setting added with 'serveradmin settings' ?

    Okay. This is probably really simple, but I for the life of me can't find the terminal command to fix my mistake. I was trying to change a serveradmin setting for addressbook in terminal, but I mis-typed the setting, so it created a new setting inste

  • Releasing issue

    Hi Gurus, We are using 3.1i system.when we are seeing  the particular document number in FB03,it is showing nearly 20 line items.for a particular line item the business area is not picking.in document header i checked that from T.code(ck21,Releasing)