RMAN "delete noprompt obsolete" not deleted

OS: AIX 5.3L; Oracle 10g R2
I have "delete noppropt obsolete" in my RMAN backup script as {
delete noprompt obsolete;
crosscheck backupset;
crosscheck archivelog all;
delete noprompt expired backup;
delete noprompt expired archivelog all;
backup as compressed backupset incremental level 1 cumulative device type disk tag 'Baan_bkup$LEVEL1' database plus archivelog delete input; }
but the incremental level 1 cumulative backupsets, outside my 7 days window, did not been deleted as prompted, even they are under the obsolete list. Why?
Message was edited by:
user508054

I also observed that with "REPORT OBSOLETE", only partial of the backupset piece of backup were "OBSOLETE". For example, after this morning LEVEL 1 incremental backup, my last Sunday, Mar 4 level 0 backup has 12 backup pieces (including controlfile and archivelog), but only two have been on the obsolete list. The two are controlfile and archivelog, and other 10 datafaile backupsets are still there in the list. Really confused! Are they supposed to be treated as a bunch?

Similar Messages

  • Delete noprompt obsolete

    Hello,
    RMAN >delete noprompt obsolete;
    The "delete obsolete" or "delete noprompt obsolete" will delete the archivelog files past the retention from disk and will also delete any backups on disk or tape.
    My retention redundancy is 1. According to the statement above, it will delete the archivelog files and any backups on disk or tape from a previous day. My issue is that I want to delete backups on disk based on the redundancy 1, but keep the archivelogs for 5 days then delete archivelogs. So, the "delete noprompt obsolete" will not work in my case.
    So, I replace this "delete obsolete" with this command "delete noprompt archivelog All completed before 'SYSDATE-5';" to delete any archivelogs that are more than 5 days old. That would solve my archivelog issues, but what happens to my backups on disk (I want to delete backups based on redundancy 1)?
    Thank you.

    feverlove wrote:
    Thanks mseberg.
    1) delete noprompt ARCHIVELOG UNTIL TIME 'SYSDATE-5';
    2) DELETE noprompt BACKUP COMPLETED BEFORE 'SYSDATE-2' DEVICE TYPE DISK;
    Does redundancy 1 retention take care of the #2 ? If so, why do I need the #2.
    Thank you again.For your archivelog deletion policy, you can try what was suggested earlier
    delete noprompt archivelog until time 'SYSDATE-5';With respect to your backups, you can have the retention policy left as it is by setting it to redundancy 1 and add this to your level 0 backup script/full backup script (if not added earlier).
    crosscheck backup;
    delete noprompt obsolete;My Bad.
    I am of the opinion that the above command (delete noprompt obsolete) deletes even the archives that fall within the 5 days time.
    Edited by: Shivananda Rao on Oct 22, 2012 8:06 AM

  • RMAN-06207 when DELETE NOPROMPT OBSOLETE;

    Hello all
    I want to backup and delete backuped archivelogs on a standby instance using the following script:
    RUN
    ALLOCATE CHANNEL ch1 DEVICE TYPE sbt PARMS='ENV=......';
    BACKUP ARCHIVELOG ALL DELETE INPUT;
    DELETE NOPROMPT OBSOLETE;
    RELEASE CHANNEL ch1;
    When deleting all obsolete backup pieces, I receive the following error:
    RMAN-06207: WARNING: 1 objects could not be deleted for SBT_TAPE channel(s) due
    RMAN-06208: to mismatched status. Use CROSSCHECK command to fix status
    RMAN-06210: List of Mismatched objects
    RMAN-06211: ==========================
    RMAN-06212: Object Type Filename/Handle
    RMAN-06214: Backup Piece c-2414804385-20080820-02
    As a workaround, I then manually delete obsolete backup pieces using:
    delete force noprompt obsolete device type sbt_tape
    What is the cause for rman-06207 ? How can I change my rman script to safely delete backuped archivelogs?
    I work with Oracle 10G release 10.2.0.3 both on standby and catalog DB.
    Casi

    Did you try using the CROSSCHECK command to verify the backup files status?
    From your comments, it doesn't seem like you did. CROSSCHECK checks the status of the RMAN backups against the disk/tape and updates the RMAN repository. CROSSCHECK does not remove any files just updates the status. The status options are - expired, available, and unavailable.

  • RMAN delete noprompt obsolete

    Hi,
    I'm keen to know what does this comand mean in RMAN backup. "delete noprompt obsolete;" .Can I apply this comand for no catalog too or it's just meant for rman catalog.
    Thanks
    M.Kaur

    Hi,
    I'm trying to do house keeping on RMAN backups,following is my script,but this does not remove hte last year's backups on the tape,thou the tape is mounted to the lib.Must I add in another command? but yes the last year's backup is not even shown in the rman backup list,but it's still in the sbt_tape,how do I remove it from there.
    Note: RMAN no catalog running on oracle 9i 9.2.0.7
    allocate channel for delete type disk;
    allocate channel for delete type 'sbt_tape'
    PARMS 'ENV=(TDPO_OPTFILE=/usr/tivoli/tsm/client/oracle/bin64/tdpo.opt)';
    report obsolete orphan;
    report obsolete;
    crosscheck backup;
    crosscheck copy;
    crosscheck backup of controlfile;
    delete noprompt expired backup;
    delete noprompt expired archivelog all;
    delete noprompt expired backup of controlfile;
    delete force noprompt expired copy;
    delete force noprompt obsolete orphan;
    delete force noprompt obsolete;
    release channel;
    Thanks

  • RUN "delete noprompt obsolete" before "backup database"

    Hello,
    11g on windows 2003, 3 day recovery window
    For almost a year now, I having been running the below script daily to backup my database. Now I am begining to run out of disk space, and can not run the backup commands unless I run "delete noprompt obsolete" first.
         backup database tag=database_full_backup;
         backup archivelog all delete input tag=achivelog_backup;
         crosscheck backup;
    delete expired backup;
         delete noprompt obsolete;
    Is it a bad idea to rearange the order of the commands like below?
    crosscheck backup;
    delete expired backup;
         delete noprompt obsolete;     
    backup database tag=database_full_backup;
         backup archivelog all delete input tag=achivelog_backup;
    thanks for any help

    Hi,
    No problem. You configured a recovery window of 3 days, it means you want to be able to restore/recover until sysdate - X (X up to 3) at any time. RMAN will always respect that, you can "delete obsolete" whenever you want.
    Best regards
    Phil

  • Delete command is not deleting all rows

    Hi All,
    Database version 10.2.0.2
    Delete command is not deleting all rows and deleting some subset of rows which it should delete, ever time I delete and do the roll back, next time it will delete some random rows, count is different everytime with in the range but not complete in anyway. see the following -
    select count(*) from test where evt_id in (select evt_id from test1);
    COUNT(*)
    27105
    delete from test where evt_id in (select evt_id from test1);
    16045 rows deleted.
    select count(*) from test where evt_id in (select evt_id from test1);
    11060
    rollback;
    Againg the same procedure -
    select count(*) from test where evt_id in (select evt_id from test1);
    COUNT(*)
    27105
    delete from test where evt_id in (select evt_id from test1);
    14320 rows deleted.
    select count(*) from test where evt_id in (select evt_id from test1);
    COUNT(*)
    12785
    why its not deleting all the 27k rows in one shot? Is there any bug related to that?
    Thanks
    Abhinav

    Odd that what looked like identical statements produced different results, both the counts and the deletes. The most likely cause of that is your data is changing - as Fahd suggested perhaps a simultaneous load taking place.
    The delete issue is probably not due to a bug. Possible but unlikely.
    If any evt_id values are NULL they won't be deleted with the subquery - a NULL in test.evt_id will never match a NULL in test1.evt_id.
    Have you tried alternative subqueries - a correlated EXISTS subquery for instance?

  • Delete obsolete not deleting archives

    Hi,
    Platform : Windows 2003
    Oracle : 10.2.0.4.0
    We've following policy for RMAN :
    CONFIGURE RETENTION POLICY TO REDUNDANCY 1;
    CONFIGURE BACKUP OPTIMIZATION OFF; # default
    CONFIGURE DEFAULT DEVICE TYPE TO DISK; # default
    CONFIGURE CONTROLFILE AUTOBACKUP ON;
    CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO 'G:\Hot_BKP\controlfile\%F';
    CONFIGURE DEVICE TYPE DISK PARALLELISM 1 BACKUP TYPE TO BACKUPSET; # default
    CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
    CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
    CONFIGURE MAXSETSIZE TO UNLIMITED; # default
    CONFIGURE ENCRYPTION FOR DATABASE OFF; # default
    CONFIGURE ENCRYPTION ALGORITHM 'AES128'; # default
    CONFIGURE ARCHIVELOG DELETION POLICY TO APPLIED ON STANDBY;
    CONFIGURE SNAPSHOT CONTROLFILE NAME TO 'C:\ORACLE\PRODUCT\10.2.0\DB_1\DATABASE\SNCFPROJECT.ORA'; # default
    There is cascaded standby setup on this database. Now even if the archives are applied on the standby database, the "delete obsolete" is deleting obsolete backups but not the archives.
    Regards,
    S.K.

    Hi Khurram,
    The "_log_deletion_policy" parameter is set to ALL. So keeping archive log destination 'mandatory' is not necessary.
    Reference: [728053.1|https://metalink2.oracle.com/metalink/plsql/f?p=130:14:1194704985657950048::::p14_database_id,p14_docid,p14_show_header,p14_show_help,p14_black_frame,p14_font:NOT,728053.1,1,1,1,helvetica]
    Regards,
    S.K.

  • Slow delete whether or not deleted singly or as a group

    During performance analysis for my project I found some code where deletes from table y (I will call it), were being deleted in a loop, thus deleting one record at a time where there are approx. 87,000 records to delete.  Table y has 200 million records.  I rewrote the code to do a delete by internal table, i.e. DELETE y FROM TABLE t_y, to delete all 87,000 records at once.  The strange thing that is happening is that the deletes take about the same time whether it is a one by one delete or all at once by internal table, ~40ms per deleted record.  The delete by internal table shows in the job statistics and ST05 that it is processing 256 records at a time, so there are 340 items in the trace for the DELETE (340 * 256 ~= 87,000).  All of the reads, updates, and selects take about 1ms per record.  The internal table (t_y) is typed exactly like the transparent table.  All of the records requested to be deleted are in the table y and there are no duplicates in the internal table.
    Old Code:
    LOOP AT t_y.
         DELETE y FROM t_y.
    ENDLOOP.
    New Code:
    DELETE y FROM TABLE t_y.
    It takes approx. 1 hour to delete 87,000 records.  So the question is why deleting all records has the same speed as deleting one by one.  Secondarily, why is the system only sending 256 ercords at a time to be deleted.
    Thanks,
    Andy Goerdel

    Hi Andy,
    > one by one delete or all at once by internal table, ~40ms per deleted record.
    > updates, and selects take about 1ms per record
    first of all the delete has to touch the table and all indexes which is not the case for select and not necessarily for the update.
    So depending on the number of indexes defined a delete has to be slower than a select or an update (which does not touch all rows) because it has to do more i/o.
    > It takes approx. 1 hour to delete 87,000 records.  So the question is why deleting all records has the same speed as
    > deleting one by one. 
    that is an interesting one. One should assume that the array processing should be sligthly faster... .
    > Secondarily, why is the system only sending 256 records at a time to be deleted.
    The SAP application server communicates in blocks (size depends... could be 32, 40, 64 or 128) with the database.
    The key fields for the delete are filled in such a block until it is full. You have no influence here.
    How much indexes are defined on your table? The 40 ms is most likely driven by physical i/o for table and index blocks.
    The amount of i/o that needs to be done is the same for one by one or for array processing. The array interface only
    redcues the number of calls. Obviously these savings are relatively small compared to the i/o that needs to be done
    in any case.
    With ST04 you can check how much physiscal i/os are redquired for your deletes.
    Kind regards,
    Hermann

  • Deleted pop mail not deleted from server

    mail retrieved from pop acct & deleted, and trash emptied, is not deleted from server, so it gets re-retrieved.
    settings>delete from server> when removed from inbox, but the msgs are still on the server as viewed from the isp's web interface.

    been there, done that;-}
    Incoming mail server (POP3): pop.verizon.net
    Incoming Server Port Numbers: 995
    Outgoing mail server (SMTP): smtp.verizon.net
    Outgoing Server Port Numbers: 465
    it seems mail.app is designed for imap, in that msgs can't be deleted when d/l'd by default, but must be config'd "when moved from inbox"

  • Files "Deleted from Disk" not deleted

    I was under the impression that this problem related to the appearance of "Ghost" drives (duplicate drives appearing in the LR after I edited a file. The folder duplications are no longer a problem in LR 2.1
    HOWEVER, when I use the option "delete from disk" (vs. remove)these files are not getting deleted from my hard drive. They reappear on the next folder synchronization I run.
    I am either asking for input on how to make deletions stick and/or requesting that Adobe look into this before releasing the release version of 2.1
    Thanks - Kevin
    System info:
    LR 2.1
    Windows Vista Home Premium
    Quad Core PC with 4GB RAM
    1 TB "RAID 5" system drives (4 of them make up the 1 TB)

    Thanks for the suggestions but they didn't work:
    1- Cleared preferences by hitting the various reset to factory buttons. Then closed and restarted LR. Is there another way to do this?
    2- The foloder quantity goes down when I delete and goes back up when I synchronize
    3- File manager shows the same number of files as LR BEFORE I delete and then shows more AFTER I delete. Then, after synchronizing they are back to equal.
    Finally, I tried deleting a file in windows explorer to see its effect. It immediately showed as missing in LR. I synchronized and that file was deleted.
    Any other ideas?

  • IMessage deleted from iPhone not deleted from iPad

    I have my iMessages set up so they go to both my iPhone and my iPad and that's great. However, if I delete an iMessage from my iPhone, it does not get deleted from my iPad (and vice versa). Is there any way to set things up so my deletions also get synced? Thanks in advance for any suggestions.

    Deactivate iMessage on your phone, then reactivate it.

  • Deleting history does not delete the log of calls ...

    In order to delete history, I followed the recommended procedure:
    Skype --> privacy --> clear history --> save
    The history appears cleared: however, when I do this
    Skype --> account --> view call history
    the entire history is still there. Any ideas how to clear this?

    Hi,
    Our call history as it appears in our accounts remains on record where we can review it for a term of six (6) months.  I am not aware of any means for us to "remove" or to "delete" these records; you would need to contact Skype customer service to enquire further.
    Regards,
    Elaine
    Was your question answered? Please click on the Accept as a Solution link so everyone can quickly find what works! Like a post or want to say, "Thank You" - ?? Click on the Kudos button!
    Trustworthy information: Brian Krebs: 3 Basic Rules for Online Safety and Consumer Reports: Guide to Internet Security Online Safety Tip: Change your passwords often!

  • Messages deleted on Playbook not deleted when I get home

    I appear to be having the opposite problem many folks are having. I take my Playbook to work during the day. Read my email. I get home, open Apple Mail on my laptop, and the messages, while no longer listed as new, are still in my account! I have to manually go through and delete each email! When I click the Trashcan icon on the Playbook, I expect the email to be deleted. Period. My email provider is Apple iCloud which is just iMAP. I've searched the internet and forums far and wide for a solution, but no one seems to have a decent answer or even a hypothesis. Any suggestions?
    Is anyone using GMail with the Playbook 2.0 successfully (using iMAP) and when messages are deleted, they're deleted? And contacts and calendar with GMail sync successfully? Because if I can't solve problem above, I'm unfortunately willing to switch to GMail as my provider. I've waited so long for 2.0 and can't believe I'm having such a major issue. I'm not going to twice delete each messsage each day given the volume of email I receive.
    Ideas, suggestions, troubleshooting tips welcome.
    Thanks in advance -
    Matt

    Pop and imap are old. Microsoft said years ago to remove them from mailservers and mine does not support it.
    I have since then used only exchange active sync aka EAST. It works well and lets you do more. 
    Gmail works with it too and that his I use Gmail to sync contacts, calendar and my email.
    Click here to Backup the data on your BlackBerry Device! It's important, and FREE!
    Click "Accept as Solution" if your problem is solved. To give thanks, click thumbs up
    Click to search the Knowledge Base at BTSC and click to Read The Fabulous Manuals
    BESAdmin's, please make a signature with your BES environment info.
    SIM Free BlackBerry Unlocking FAQ
    Follow me on Twitter @knottyrope
    Want to thank me? Buy my KnottyRope App here
    BES 12 and BES 5.0.4 with Exchange 2010 and SQL 2012 Hyper V

  • Deleted Hotmail emails not deleting on BB

    I have had my phone for over a year now, and have had no problem with emails syncing, etc.
    My BB emails are connected to a Hotmail account.
    But all of a sudden, if I delete emails on my Hotmail, they won't delete on my phone, meaning I have to do it manually, which is annoying.
    I have tried deleting and adding the email account again on my BB but I still have the same problem.
    Even when I choose to Reconcile, whatever that means, nothing happens.
    Please help?
    Thanks.
    Solved!
    Go to Solution.

    Hi and welcome to the forums!
    As listed in the article below:
    Note: Windows Live Hotmail does not support the reconciliation of deleted items.
    Thanks,
    Bifocals
    BlackBerry Internet Service version 4
    Click Accept as Solution for posts that have solved your issue(s)!
    Be sure to click Like! for those who have helped you.
    Install BlackBerry Protect it's a free application designed to help find your lost BlackBerry smartphone, and keep the information on it secure.

  • TS3672 why my iphone is so static when i put my finger on the top of the screen its moving up and down, and when I open my emails the screen keeps on moving I cant even read and when I'm testing when I press delete it does not deleting the letters but add

    Hello I am having problems with my iphone when i am texting i cant get hold with the letters correctly when i press p it goes o,or other letters which I dont need and it will send automatically what should i do with this its annoying

    is anyone can help me with regards with my problems? pls help thank you
    Message was edited by: BingDrT

Maybe you are looking for