Delete obsolete combinations in /SAPAPO/MC62 - how to use?

Hello SAP-experts,
We are using SAP APO Demand planning SAP SCM 7.0 with SP 15 for most of components.
I have some questions related to the button "delete obsolete combinations" in TA /SAPAPO/MC62. We want to use option "list combinations without planning data" to reduce CVC's quantity. What I have read it checks for CVC's without any entries at key figures. It sounds useful, but it doesn't seem to work in our company for some reason.
1. Where exactly does system check if there are key figures for the selected CVC's? In livecache directly? Or in an internal generated info cube for the planning area? Is it possible to view these key figures (on same base as done from system with option "list combinations without planning data") before using the deletion? Is there a report / table to do so? What's the best practise for this check (maybe on daily base)?
2. I have (some) CVC's without any key figure filled (for my opinion...). At the moment I check this with an info cube used for daily backup (means I see always the data from last night and I know that noone changed data because of blocked planning access). But it isn't found with "list combinations without planning data". When displaying the data in this backup-cube all key figures are shown as zero (the one which are shown for deletion and in same way the cvc's which are not shown). In the key figure settings "differentiation between zero and initial value" is not marked... I think this is correct, but maybe I have a misunderstanding here... any ideas about this setting? I don't believe this setting is wrong, because it shows me some CVC's to be deleted, but some of them are not shown (the setting should work for all cvc's in same way...?).
All ideas are most welcome, thank you all in advance!
Best regards
Harald Leissl

Hello Ali,
thank you for your reply!
My plan was to use standard tool, because it's available since some releases. I don't prefer to implement own programming instead of using an existing tool (talking about the built ABAP tool, the idea with alert makro sounds good).
Is the standard tool effective??? Good question. We talk about 2 steps.
If the mentioned function "delete obsolete" would work like designed (maybe it does, but I don't understand how...) it would do 2 steps combined:
- find out obsolete CVC's (your alert makro)
- delete obsolete CVC's (your ABAP tool)
Combining these 2 steps would be really effective, but it doesn't work for some reason. My estimation is that standard is not effective, because complete process of deletions of CVC's is very slow and causes sometimes performance trouble.
But this is the reason why I search for a standard tool to run periodically (maybe each week) for a check of "old" CVC's. I think our problem of slow running deletions is caused by too many CVC's in an planning object structure (together with the fact that our CVC's have a lot of key figures / characteristics).
To be honest my main task is to find the best possibility to delete a list of completely different CVC's (no unique selection possible). I tested a lot of things found in SCN (realignment, background deletion,...), but all the solutions have s lack in performance (at least in our system...).
Regards
Harald

Similar Messages

  • How do I delete obsolete email addresses from the "to:" line. All of the addresses a person has had show up. I only want the correct one to be displayed.

    I would like to delete obsolete email addresses from appearing in the Address line of my outgoing email. My address book only has the current email address of each person. Why does the old addresses appear?

    Check Window > Previous Recipients for that user name and see if the old addresses are there. If they are delete them.
    Allan

  • Delete characteristic combination

    Hi all,
    I need to delete characteristic combination from a POS.
    1 - Is there any way to delete from a list (excel file)? In /SAPAPO/MC62 with the function "Delete from a Combination list" I don't see a way to do this. It seems to be made for listing a previous seletion and then we have to mark all the CVCs to be deleted.
    2 - I need to delete de CVC where I have the value zero in some keyfigure. Can this be done?
    The only way I see is creating an infocube based on the PA and then list all the records with no value in this keyfigure and then use tx /SAPAPO/MC62.
    Thanks,
    Teresa

    Another alternative which may be useful ..... I had posted this in another thread.
    "As mentioned by many, there is no standard program & you may need to build a custom program for this. Nevertheless, I have a certain procedure in mind which can automate the maintainence of CVCs in APO DP.
    We normally use (atleast) 2 cubes for APO DP, one is the Input cube and the other a Backup cube. The input cube will contain only latest & relevant sales data and normally you would want your planning area to contain these. However, in due course, we will end up with redundant CVCs of old products in planning area, if left unattended. So, what we do is, after the latest backup load is created, we delete all data in planning area and delete all CVCs. You may need a small program here to delete all CVCs, which is still better than developing a complex program to delete redundant CVCs and identifying the CVCs to be deleted using some logic. Identifying the redundant CVCs to be deleted amongst thousands of CVCs and automating it is the greatest pain here.
    Next, after the sales load into Input cube containing only relevant combinations, you re-create all CVCs based on your Input cube and load sales data. Once sales data is loaded, you can load the backup data from backup cube back into planning area. Thus, if any redundant CVCs were present earlier and that combination is not present in Input cube, it will be left out."
    Cheers,
    Srinidhi
    Check this out and see whether it helps meet your requirement.
    cheers,
    Srinidhi

  • "Delete on Database" in /SAPAPO/SDORDER_DEL

    Dear All,
    Can somebody help explain what happens when we execute "Delete on Database" in /SAPAPO/SDORDER_DEL? and how would the program acts for each selection parameters, if;
    - we have not put anything in the selective deletion portion of the screen for "Location", "Product", and "Last Changed Before" fields, don't tick the check box for "Without check" option; but tick the check boxes for "Adjust ATP tables with /SAPAPO/POSMAPN table" and "Delete Obsolete Records in the /SAPAPO/POSMAPN table" in the additional function, what will happen? Will it delete anything? Or will it only do as what the additional function says?
    - how about in the product allocation data portion, considering that we have specified a location, what is being deleted when the check box for "Delete Product Allocations" is ticked? and what is being done if the check box for "Check Product Allocation Assignment" is ticked?
    Thanks in advance for any response.
    Regards,
    Philip

    Dear Philip,
             Find below few points about this transaction.
    1. check is normally carried out before an order is deleted to see if this order still exists in liveCache. If this is the case, the order is not deleted.
    2. You can also print out a list of the orders that cannot be deleted if you have set the relevant indicator.
    3. In exceptional cases, you can deactivate this check and nevertheless still delete the selected orders.
    4. If you have set the Delete all orders indicator, the order data from the database is completely deleted without any check. You should take great care when using this function.
    5. A location product or a location can only be deleted if SD sales documents for this location product no longer exist in the database (that is, if, for example, no more entries exist in the tables /SAPAPO/ORDADM_I or /SAPAPO/ORDPART).
    Regards,
    Siva.

  • Scheduled DELETE OBSOLETE fails

    I have a script which runs nightly to DELETE OBSOLETE. It fails with an error.
    When I enter the commands into the RMAN console all works fine.
    Here are the commands......
    ALLOCATE CHANNEL FOR MAINTENANCE DEVICE TYPE DISK FORMAT 'E:\temp\work';
    DELETE NOPROMPT OBSOLETE DEVICE TYPE DISK;
    If i put this into a script it complians about the "FOR" in the ALLOCATE statement.
    How can I get the DELETE to work properly in the scheduled script? I am running Recovery Manager: Release 9.2.0.3.0 - Production.

    The error message I get is shown here...
    RMAN retention policy will be applied to the command
    RMAN retention policy is set to redundancy 2
    Report of obsolete backups and copies
    Type Key Completion Time Filename/Handle
    Backup Set 276 17/OCT/05
    Backup Piece 274 17/OCT/05 D:\ORACLE\ORA92\HPCS\BACKUPS\HPCS_DF571960814_S324_S1
    Backup Set 277 17/OCT/05
    Backup Piece 275 17/OCT/05 D:\ORACLE\ORA92\HPCS\BACKUPS\HPCS_DF571961352_S325_S1
    Backup Set 278 17/OCT/05
    Backup Piece 276 17/OCT/05 D:\ORACLE\ORA92\HPCS\BACKUPS\HPCS_CFC-2091383776-20051017-00
    Backup Set 279 18/OCT/05
    Backup Piece 277 18/OCT/05 D:\ORACLE\ORA92\HPCS\BACKUPS\HPCS_DF572047211_S327_S1
    Backup Set 280 18/OCT/05
    Backup Piece 278 18/OCT/05 D:\ORACLE\ORA92\HPCS\BACKUPS\HPCS_DF572047216_S328_S1
    Backup Set 281 18/OCT/05
    Backup Piece 279 18/OCT/05 D:\ORACLE\ORA92\HPCS\BACKUPS\HPCS_DF572047753_S329_S1
    Backup Set 282 18/OCT/05
    Backup Piece 280 18/OCT/05 D:\ORACLE\ORA92\HPCS\BACKUPS\HPCS_CFC-2091383776-20051018-00
    Backup Set 283 19/OCT/05
    Backup Piece 281 19/OCT/05 D:\ORACLE\ORA92\HPCS\BACKUPS\HPCS_DF572084334_S331_S1
    Backup Set 284 19/OCT/05
    Backup Piece 282 19/OCT/05 D:\ORACLE\ORA92\HPCS\BACKUPS\HPCS_DF572084336_S332_S1
    Backup Set 285 19/OCT/05
    Backup Piece 283 19/OCT/05 D:\ORACLE\ORA92\HPCS\BACKUPS\HPCS_DF572084872_S333_S1
    Backup Set 286 19/OCT/05
    Backup Piece 284 19/OCT/05 D:\ORACLE\ORA92\HPCS\BACKUPS\HPCS_CFC-2091383776-20051019-00
    Backup Set 287 19/OCT/05
    Backup Piece 285 19/OCT/05 D:\ORACLE\ORA92\HPCS\BACKUPS\HPCS_DF572133611_S335_S1
    Archive Log 269 19/OCT/05 D:\ORACLE\ORA92\HPCS\ARCHIVELOGS\ARC00323.001
    Archive Log 268 19/OCT/05 D:\ORACLE\ORA92\HPCS\ARCHIVELOGS\ARC00322.001
    Archive Log 267 19/OCT/05 D:\ORACLE\ORA92\HPCS\ARCHIVELOGS\ARC00321.001
    Archive Log 266 18/OCT/05 D:\ORACLE\ORA92\HPCS\ARCHIVELOGS\ARC00320.001
    Archive Log 265 18/OCT/05 D:\ORACLE\ORA92\HPCS\ARCHIVELOGS\ARC00319.001
    Archive Log 264 17/OCT/05 D:\ORACLE\ORA92\HPCS\ARCHIVELOGS\ARC00318.001
    allocated channel: d01
    channel d01: sid=36 devtype=DISK
    released channel: d01
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of allocate command at 10/21/2005 16:00:14
    RMAN-06181: multiple channels require Enterprise Edition
    Recovery Manager complete.
    If I run this from the DOS prompt it all works.

  • Deleting obsolete logging tables in SLT system

    Hi Experts,
    Need help to sort out below issue,
    There are many obsolete logging tables in SLT system ,might have been left out after dropping SLT schemas, previous replications.
    These logging tables exist in ABAP dictionary but not in database. Due to this, it shows inconsistencies in DB02 > Diagnostics > Missing Tables and Indexes. There are in total 252 missing tables in DB. Currently DB migration is stuck due to this issue.
    Is there any way to remove the tables from dictionary without deleteing them manually through SE14 ?
    How to avoid having such tables ? Am I missing any steps while deleting the previous schemas?
    Regards
    Kartik

    Hi Kartik,
    these obsolete objects/logging could be also there becasue someone refreshed/copied the systems.
    There is also one transaction IUUC_REMOTE in the source system to delete the logging tables. But I am not sure if it distinguish between db or ddic level. Have a try and post the result.
    Best,
    Tobias

  • HT201612 how to use ctrl+alt+delete to restart with boot camp

    how to use (ctrl+alt+delete) to restart?

    You press all the keys (ctrl+alt+delete) at once
    Some information
    In a personal computer with the Windows operating system, Ctrl-Alt-Delete is the combination of keyboard keys that the computer user can press at the same time to terminate an application task or to reboot the operating system (have it shut down and restart itself). In Windows 95 or any later systems, Ctrl-Alt-Delete brings up a window that allows a user to see the status of all currently running programs and to terminate any of them, and also offers the options of shutting down, restarting, and so on (the specific options vary slightly with the particular version of windows). In Windows 95 or 98, if Ctrl-Alt-Delete is pressed a second time or twice in a row quickly, the operating system closes all programs that are running and then restarts.
    When the operating system seems to hang suspended while waiting for an application program to continue, a user is also left without a way to regain control of the system. The Ctrl-Alt-Delete key combination allows the user to terminate the "hung" application and, if that doesn't work, to reboot the system. The system can also be restarted using the mouse to select Start-->Turn Off the System-->Restart. However, Ctrl-Alt-Delete sometimes works when the menu option doesn't.

  • Deleting Obsolete Archiveslogs

    Hi all,
    I'm trying to delete my obsolete archiveslog but if i issue the command 'delete obsolete' it gives me the below error
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of delete command at 12/14/2009 09:31:17
    RMAN-06091: no channel allocated for maintenance (of an appropriate type)
    RMAN>
    Kindly assist pls.

    hi user;
    Please follow below and see its helpful for your issue:
    Encountered RMAN-03002 and RMAN-06091 when Deleting Obsolete Backups [ID 567555.1]
    Also check:
    Re: RMAN-06091 error
    RMAN backups dissapeared...
    Re: HOW TO DELETE OBSOLETE BACKUP ON TAPE WHEN USING FLASHBACK? RMAN-06091
    Regard
    Helios

  • Delete obsolete does not delete all backupset

    Dear friends,
    I take backup with the "backup database plus archivelog". For example, it took 3 backup, 3 archivelog and 1 control files. I took a backup 5 minutes later to try "delete obsolete" command. It also took same number of files.
    When i typed "delete obsolete" command, it only removes 1 backup and 1 control file from old backupset. 2 backup and 3 archivelog files are still there.
    What am i wrong? OR How can i delete all old backupset files(backups,copies,controlfiles,...)?
    You can find the details below,
    Thanks in advance and Best Regards;
    Onur
    RMAN> show all;
    RMAN configuration parameters are:
    CONFIGURE RETENTION POLICY TO REDUNDANCY 1; # default
    CONFIGURE BACKUP OPTIMIZATION OFF; # default
    CONFIGURE DEFAULT DEVICE TYPE TO DISK;
    CONFIGURE CONTROLFILE AUTOBACKUP ON;
    CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '/oranew/arch/cf_%F';
    CONFIGURE DEVICE TYPE DISK PARALLELISM 1;
    CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE DISK TO 1;
    CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE DISK TO 1;
    CONFIGURE CHANNEL 1 DEVICE TYPE DISK FORMAT '/oranew/arch/%U.bak';
    CONFIGURE MAXSETSIZE TO UNLIMITED; # default
    CONFIGURE SNAPSHOT CONTROLFILE NAME TO '/oranew/9i/dbs/snapcf_....f'; # default
    CONFIGURE EXCLUDE FOR TABLESPACE 'CWMLITE';
    CONFIGURE EXCLUDE FOR TABLESPACE 'EXAMPLE';
    List of Backup Sets
    ===================
    BS Key Device Type Elapsed Time Completion Time
    812 DISK 00:00:01 11-JUL-06
    BP Key: 813 Status: AVAILABLE Tag:
    Piece Name: /oranew/arch/1hhntfj9_1_1.bak
    List of Archived Logs in backup set 812
    Thrd Seq Low SCN Low Time Next SCN Next Time
    1 270 1147860 11-JUL-06 1147877 11-JUL-06
    BS Key Type LV Size Device Type Elapsed Time Completion Time
    816 Full 313M DISK 00:01:50 11-JUL-06
    BP Key: 817 Status: AVAILABLE Tag:
    Piece Name: /oranew/arch/1ihntfjd_1_1.bak
    List of Datafiles in backup set 816
    File LV Type Ckp SCN Ckp Time Name
    1 Full 1147880 11-JUL-06 /oranew/oradb/oradata/.../system01.dbf
    2 Full 1147880 11-JUL-06 /oranew/oradb/oradata/.../undotbs01.dbf
    4 Full 1147880 11-JUL-06 /oranew/oradb/oradata/.../drsys01.dbf
    6 Full 1147880 11-JUL-06 /oranew/oradb/oradata/.../indx01.dbf
    7 Full 1147880 11-JUL-06 /oranew/oradb/oradata/.../tools01.dbf
    8 Full 1147880 11-JUL-06 /oranew/oradb/oradata/.../users01.dbf
    BS Key Device Type Elapsed Time Completion Time
    828 DISK 00:00:01 11-JUL-06
    BP Key: 829 Status: AVAILABLE Tag:
    Piece Name: /oranew/arch/1jhntfn4_1_1.bak
    List of Archived Logs in backup set 828
    Thrd Seq Low SCN Low Time Next SCN Next Time
    1 271 1147877 11-JUL-06 1147884 11-JUL-06
    BS Key Type LV Size Device Type Elapsed Time Completion Time
    832 Full 1M DISK 00:00:01 11-JUL-06
    BP Key: 833 Status: AVAILABLE Tag:
    Piece Name: /oranew/arch/cf_c-4041210959-20060711-00
    Controlfile Included: Ckp SCN: 1147886 Ckp time: 11-JUL-06
    BS Key Device Type Elapsed Time Completion Time
    839 DISK 00:00:01 11-JUL-06
    BP Key: 840 Status: AVAILABLE Tag:
    Piece Name: /oranew/arch/1lhntfod_1_1.bak
    List of Archived Logs in backup set 839
    Thrd Seq Low SCN Low Time Next SCN Next Time
    1 270 1147860 11-JUL-06 1147877 11-JUL-06
    1 271 1147877 11-JUL-06 1147884 11-JUL-06
    1 272 1147884 11-JUL-06 1147890 11-JUL-06
    BS Key Type LV Size Device Type Elapsed Time Completion Time
    845 Full 313M DISK 00:01:51 11-JUL-06
    BP Key: 846 Status: AVAILABLE Tag:
    Piece Name: /oranew/arch/1mhntfoh_1_1.bak
    List of Datafiles in backup set 845
    File LV Type Ckp SCN Ckp Time Name
    1 Full 1147893 11-JUL-06 /oranew/oradb/oradata/.../system01.dbf
    2 Full 1147893 11-JUL-06 /oranew/oradb/oradata/.../undotbs01.dbf
    4 Full 1147893 11-JUL-06 /oranew/oradb/oradata/.../drsys01.dbf
    6 Full 1147893 11-JUL-06 /oranew/oradb/oradata/.../indx01.dbf
    7 Full 1147893 11-JUL-06 /oranew/oradb/oradata/.../tools01.dbf
    8 Full 1147893 11-JUL-06 /oranew/oradb/oradata/.../users01.dbf
    BS Key Device Type Elapsed Time Completion Time
    857 DISK 00:00:01 11-JUL-06
    BP Key: 858 Status: AVAILABLE Tag:
    Piece Name: /oranew/arch/1nhntfs8_1_1.bak
    List of Archived Logs in backup set 857
    Thrd Seq Low SCN Low Time Next SCN Next Time
    1 273 1147890 11-JUL-06 1147898 11-JUL-06
    BS Key Type LV Size Device Type Elapsed Time Completion Time
    861 Full 1M DISK 00:00:01 11-JUL-06
    BP Key: 862 Status: AVAILABLE Tag:
    Piece Name: /oranew/arch/cf_c-4041210959-20060711-01
    Controlfile Included: Ckp SCN: 1147900 Ckp time: 11-JUL-06
    RMAN> delete obsolete;
    RMAN retention policy will be applied to the command
    RMAN retention policy is set to redundancy 1
    using channel ORA_DISK_1
    Deleting the following obsolete backups and copies:
    Type Key Completion Time Filename/Handle
    Backup Set 816 11-JUL-06
    Backup Piece 817 11-JUL-06 /oranew/arch/1ihntfjd_1_1.bak
    Backup Set 832 11-JUL-06
    Backup Piece 833 11-JUL-06 /oranew/arch/cf_c-4041210959-20060711-00
    Do you really want to delete the above objects (enter YES or NO)?

    Dear Kuljeet,
    I am new in rman. As i understood from your reply that rman only deletes the backup piece which includes all dbfs and its related control file. These two files are deleted from catalog and also from filesystem.
    But other archievelogs (from first backup) joins to the second backup,as you said. This goes on like that in every backup if we take backup with "plus archivelog" parameter. Am i right?
    And they won't be deleted from the file system.
    I think the answers to the following questions will solve my confusion.
    1. Should not we delete (from catalog and fs, for ex. "delete archivelog ...") the previous archivelogs, even the latest backup set is enough to recover database?
    2. Let's say, we moved all these files (old archivelogs and latest dbf backups) to tape. I don't think so but should we keep all the old archivelogs to recover db even the ones from the latest backup is enough?
    3. Is "plus archivelog" parameter very important for a backup?
    I was confused about the principles of "delete obsolete" when the backup was taken with "plus archivelog" parameter. If you can explain it shortly, i will be very pleased. Why it did not delete all pieces of the previous backup set (from catalog and fs.), while the latest backup set is enough to recover db? I could not understand this.
    Thanks in advance and best regards,
    Onur

  • Can't delete obsolete and expired backups.

    Every Sundays I create 0 level backup.
    Every Thuesdays I create 1 level comulative backup.
    Every other days I create 1 level incremental backup.
    Sometimes I need a free space for new backups and I try clean old backups.
    As I can understand, rman remove backups from 'list backup', but doens't delete physically from disk storage.
    SQL> select banner from v$version;
    BANNER
    Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production
    PL/SQL Release 11.2.0.2.0 - Production
    CORE     11.2.0.2.0     Production
    TNS for Solaris: Version 11.2.0.2.0 - Production
    NLSRTL Version 11.2.0.2.0 - Production
    0 level backup
    CONNECT TARGET / ;
    CONFIGURE DEFAULT DEVICE TYPE TO DISK;
    CONFIGURE DEVICE TYPE DISK PARALLELISM 1;
    CONFIGURE CHANNEL DEVICE TYPE DISK FORMAT '/u06/backup/df_%d_%s_%U';
    CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '/u06/backup/cf_%F';
    CONFIGURE RETENTION POLICY TO RECOVERY WINDOW OF 3 DAYS;
    CONFIGURE SNAPSHOT CONTROLFILE NAME TO '/u06/backup/snapcf.f';
    CONFIGURE CONTROLFILE AUTOBACKUP ON;
    CONFIGURE BACKUP OPTIMIZATION ON;
    CONFIGURE MAXSETSIZE TO 20G;
    BACKUP CURRENT CONTROLFILE;
    BACKUP INCREMENTAL LEVEL 0 DATABASE FILESPERSET 100 ;
    BACKUP ARCHIVELOG ALL DELETE ALL INPUT;
    RESTORE VALIDATE DATABASE;
    RESTORE VALIDATE CONTROLFILE TO '$ORACLE_BASE/admin/rman_scripts/cf_tmp.ctl';
    RESTORE VALIDATE SPFILE TO '$ORACLE_BASE/admin/rman_scripts/spf_tmp.ora';
    RESTORE VALIDATE ARCHIVELOG FROM TIME 'SYSDATE-4';
    REPORT NEED BACKUP;
    DELETE OBSOLETE;
    LIST BACKUP;
    LIST BACKUP SUMMARY;
    1 level comulative backup
    CONNECT TARGET / ;
    CONFIGURE DEFAULT DEVICE TYPE TO DISK;
    CONFIGURE DEVICE TYPE DISK PARALLELISM 1;
    CONFIGURE CHANNEL DEVICE TYPE DISK FORMAT '/u06/backup/df_%d_%s_%U';
    CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '/u06/backup/cf_%F';
    CONFIGURE RETENTION POLICY TO RECOVERY WINDOW OF 3 DAYS;
    CONFIGURE SNAPSHOT CONTROLFILE NAME TO '/u06/backup/snapcf.f';
    CONFIGURE CONTROLFILE AUTOBACKUP ON;
    CONFIGURE BACKUP OPTIMIZATION ON;
    CONFIGURE MAXSETSIZE TO 20G;
    BACKUP CURRENT CONTROLFILE;
    BACKUP INCREMENTAL LEVEL 1 CUMULATIVE DATABASE FILESPERSET 100;
    BACKUP ARCHIVELOG ALL DELETE ALL INPUT;
    RESTORE VALIDATE DATABASE;
    RESTORE VALIDATE CONTROLFILE TO '$ORACLE_BASE/admin/rman_scripts/cf_tmp.ctl';
    RESTORE VALIDATE SPFILE TO '$ORACLE_BASE/admin/rman_scripts/spf_tmp.ora';
    RESTORE VALIDATE ARCHIVELOG FROM TIME 'SYSDATE-4';
    REPORT NEED BACKUP;
    DELETE OBSOLETE;
    LIST BACKUP;
    LIST BACKUP SUMMARY;
    1 level incremental backup
    CONNECT TARGET / ;
    CONFIGURE DEFAULT DEVICE TYPE TO DISK;
    CONFIGURE DEVICE TYPE DISK PARALLELISM 1;
    CONFIGURE CHANNEL DEVICE TYPE DISK FORMAT '/u06/backup/df_%d_%s_%U';
    CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '/u06/backup/cf_%F';
    CONFIGURE RETENTION POLICY TO RECOVERY WINDOW OF 3 DAYS;
    CONFIGURE SNAPSHOT CONTROLFILE NAME TO '/u06/backup/snapcf.f';
    CONFIGURE CONTROLFILE AUTOBACKUP ON;
    CONFIGURE BACKUP OPTIMIZATION ON;
    CONFIGURE MAXSETSIZE TO 20G;
    BACKUP CURRENT CONTROLFILE;
    BACKUP INCREMENTAL LEVEL 1 DATABASE FILESPERSET 100;
    BACKUP ARCHIVELOG ALL DELETE ALL INPUT;
    RESTORE VALIDATE DATABASE;
    RESTORE VALIDATE CONTROLFILE TO '$ORACLE_BASE/admin/rman_scripts/cf_tmp.ctl';
    RESTORE VALIDATE SPFILE TO '$ORACLE_BASE/admin/rman_scripts/spf_tmp.ora';
    RESTORE VALIDATE ARCHIVELOG FROM TIME 'SYSDATE-4';
    REPORT NEED BACKUP;
    DELETE OBSOLETE;
    LIST BACKUP;
    LIST BACKUP SUMMARY;
    Try delete old backups:
    CONNECT TARGET / ;
    RMAN> CROSSCHECK BACKUP;
    Crosschecked 173 objects
    RMAN> DELETE EXPIRED BACKUP;
    using channel ORA_DISK_1
    specification does not match any backup in the repository
    RMAN> DELETE OBSOLETE;
    RMAN retention policy will be applied to the command
    RMAN retention policy is set to recovery window of 3 days
    using channel ORA_DISK_1
    no obsolete backups found
    RMAN>
    Edited by: 848540 on 31.10.2011 23:15

    I try to ask one more time.
    I make all backups in the folder \u06\backup.
    I make full backups every week.
    After command "crosscheck backup" all backups older 2 weeks must be mark as "OBSOLETE". This operation works correctly, becouse in "list backup" i look all backups for last two weeks and no older (for today they all made earlyer then 06/11/2011)!
    After crosscheck operation i try to delete old backups from HDD.
    RMAN> delete expired backup;
    using target database control file instead of recovery catalog
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: SID=2 device type=DISK
    specification does not match any backup in the repository
    RMAN> delete obsolete;
    RMAN retention policy will be applied to the command
    RMAN retention policy is set to recovery window of 3 days
    using channel ORA_DISK_1
    no obsolete backups found
    But after this operation I look in my backup folder files since 02/10/2011. How to sync backups (delete obsolete backups from HDD) in rman list (command 'list backup') and in operation system list (command 'ls' in sun10)?
    Edited by: 848540 on 14.11.2011 0:32

  • Delete obsolete causing issue with archivelog backups......or is it?

    Hi, hoping someone will have the answer for me.
    Oracle 10g R2 on Windows 2003 R2 Sever.
    The start of my RMAN script runs, i do crosschecks and delete obsolete backups from type disk. My redundancy is set to 1. I then run compressed backups of the datafiles and archivelogs with 2 channels. This leaves me with two days of full backups on disk (i have months worth on netbackup) the only problem is that one of the archivelog channel backups from the previous day is missing when i know it was there before the delete obsolete was run.
    here is the script:
    run{
    CROSSCHECK BACKUP;
    CROSSCHECK archivelog all;
    CROSSCHECK COPY;
    CROSSCHECK backup of database;
    CROSSCHECK backup of controlfile;
    delete noprompt obsolete device type disk;
    run {
    allocate channel ch1 type disk format 'Z:\backup\rman\orcl\%d_%T_%U';
    allocate channel ch2 type disk format 'Z:\backup\rman\orcl\%d_%T_%U';
    backup as COMPRESSED BACKUPSET
         format='Z:\backup\rman\orcl\full_%d_%T_%U'
         tag='full_DBbackup_ris'
         database;
    backup as COMPRESSED BACKUPSET
         format='Z:\backup\rman\orcl\arch_%d_%T_%U'
         tag='full_ARCHbackup_ris'
    archivelog all not backed up delete all input;
    sql "alter database backup controlfile to trace as ''Z:\backup\rman\orcl\controlfile_backup_trace.txt''";
    release channel ch1;
    release channel ch2;
    This is my (simplified) list of backups on disk:
    Full_day1_chan1
    Full_day1_chan2
    Arc_day1_chan1
    Arc_day1_chan2
    Full_day2_chan1
    Full_day2_chan2
    Arc_day2_chan1
    It looks like channel2, days2, archivelog backup is missing. Is this correct? If not does anyone have an idea how to fix this?
    thanks in advance.
    Steven.

    Hi Steven,
    The data backed up by rman is written to backup pieces.
    Are you missing pieces containing archive logs?
    Could it be there was only 1 arc file available so the second channel could not create any backup piece?
    Did you could check the output of the backup in v$rman_output?
    Regards,
    Tycho

  • Security setup for /SAPAPO/MC62 transaction

    Hi,
              Did anyone know what authorizations are required to execute /SAPAPO/MC62 transaction ? Users were able to access to the transaction and display the CVC's. But, when they want to create the new CVC's or delete them, they can't. Any idea ?
    Thank you in advance for your help
    Paranee

    Hi,
         I tried that but didn't work. I checked OSS note 646524. It looks like I need to set authorizations for repairing the index, which I couldn't find authorization object for that. I even copy the role from a person who had the right authorization to maintain /SAPAPO/MC62 but it still doesn't since planning area assignment is different.  Don't know what to do....
    Thanks,

  • Unable to delete email from trash bin.  How do I do this?  If I select and chose delete, it doesn't.  What am I doing wrong?  My grand daughte is using my iPad and I don't want her to see some of the mail there.

    Unable to delete email from trash bin.  How do I do this?  If I select and chose delete, it doesn't.  What am I doing wrong?  My grand daughte is using my iPad and I don't want her to see some of the mail there.

    There are two ways that should work. When you are in the trash folder, you can swipe on the email in the list - left to right - and a red Delete button should pop up. Or you can select - Edit - at the top of the list of messages and then select the message and tap delete.
    Not sure exactly how this works - but if you have restrictions enabled - especially since you let your grandchild use the device - that may be restricting what you can do in the mail app. Go to Settings>General>Restrictions. If you have it set to on - turn it off or see if you have mail restricted.

  • Okay so I set up my Time Capsule already and is now backing up 2 of my iMacs. Works great. What I want to know is how to use the TC to directly store files? I want to do this to delete some files but still have them on the TC for future reference..

    Okay so I set up my Time Capsule already and is now backing up 2 of my iMacs. Works great. What I want to know is how to use the TC to directly store files? I want to do this to delete some files on iMac 20inch but still have them on the TC for future reference..eg some movies on iTunes. I want to directly save them on the drive so I can delete them from iTunes and gain some storage. (Ps on iMac 20 inch (it's almost full - 320 GB) when I enter time machine, a tab comes up on finder which reads "Time Machine backups" it's able to be ejected like a disc or a connected device. On the iMac 20 inch, I dragged some files onto there as if using it like a hard drive. Is this the correct method? Then I went to my 27inch iMac and saw the "Time Machine Backups" hoping to see the files I dragged from the 20inch iMac. But the files were not there except a folder that said "Backups.backupdb". Can someone help me?

    It's not a good idea to use a network disk for both Time Machine backups and other things.  By design Time Machine will eventually consume all the space on its output disk, which will then cause problem for your other files.  I'd store those other files on an external disk connected to the Time Capsule.  The problem with that is that Time Machine will only back up files that are local to your Mac.  That means that you'll only have one copy of the files on or attached to your Time Capsule.
    By the way, you've been misled by poor field labeling on this forum into typing a large part of your message into the field intended for the subject.  In the future just type a short summary of your post into that field and type the whole message into the field below that.

  • HT204053 I have 2 Apple ID's how do I delete 1 of them? Or how can I make them just one?

    I have 2 Apple ID's how do I delete 1 of them? Or how can I make them just one?

    To add to the above...
    From Here   http://support.apple.com/kb/HE37
    I have multiple Apple IDs. Is there a way for me to merge them into a single Apple ID?
    Apple IDs cannot be merged. You should use your preferred Apple ID from now on, but you can still access your purchased items such as music, movies, or software using your other Apple IDs.

Maybe you are looking for

  • Disk array configurations with oracle redo logs and flash recovery area.

    Dear Oracle users, We are planning to buy the new server for oracle database 10g standard edition. We put oracle database file, redo logs, and flash recovery area on each of disk array. My question is what is the best disk array configuration for red

  • Eleminating duplicate entries in table

    How to remove the duplicate entries from the tables or internal tables. Thankyou for your time in giving the answers. Bhaskar.

  • Does OAM support 64bit OS

    Hi, Required information on OAM supported version. I have checked the Access manager certification matrix. I can see two filed "*OS - 32/64 bit"* and *"Oracle Access Manager - 32/64 bit application"*. i was a bit confused and posting it. Does Access

  • Screen randomly turned white!

    I was playing Pac the Man X on my Powerbook earlier today as I frequently do when something rather bizarre happened. Pac Man suddenly froze, and my screen began to turn white. It stayed normal for a second after Pac Man froze, but the went to the whi

  • Non PO Invoice workflow FV60

    Dear Experts! My requirement is like this. AP clerk will park the invoice using FV60. At the line item level he will give multiple line entries with multiple costcenters. For example AP clerk will enter 10 line items with 10 different costcenters. Ba