How to delete archivelogs in the STANDBY??

Hello,
I have a 10gR2 dataguard environment in which archivelogs are applied on the standby with a delay of 24 hours.
Once the archivelogs are applied on the standby, I want to delete them.
I don't have FRA (Flash Recovery Area).
Could you tell me the best way to delete archivelogs on the standby, once they are applied on the standby database?
Thanks

Please see the follwoing link for a simmilar discussion:
Applied archive log on standby

Similar Messages

  • How to delete archivelog file at standby database

    Hi All,
    I'm running Physical Standby Database on ASM. At standby database, I can see all logs using asmcmd:
    ASMCMD> ls
    thread_1_seq_14.330.625772527
    thread_1_seq_15.346.625772527
    thread_1_seq_16.329.625772527
    thread_1_seq_17.327.625772559
    thread_1_seq_18.324.625772599
    thread_1_seq_19.341.625772367
    thread_1_seq_2.325.625772329
    But when I run RMAN to delete all these archivelogs, its give me error:
    oradr:/u01/app/oracle$rman rcvcat rman/rman@rman target /
    Recovery Manager: Release 10.2.0.3.0 - Production on Thu Jun 28 13:50:41 2007
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    connected to target database: AIXDB (DBID=2438430915, not open)
    connected to recovery catalog database
    RMAN> delete archivelog all;
    Starting implicit crosscheck backup at 28-JUN-07:01:50:56
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of delete command at 06/28/2007 13:50:56
    RMAN-12010: automatic channel allocation initialization failed
    RMAN-06004: ORACLE error from recovery catalog database: RMAN-20001: target database not found in recovery catalog
    RMAN> register database;
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of register command at 06/28/2007 13:51:06
    RMAN-08040: full resync skipped, control file is not current or backup
    Even it is not registering it. So how to delete archivelog file at standby database.
    Thanks in Advance
    Rakesh

    This appears related to Bug 3298797 that was supposed to be fixed in 10.2.0.1. The workaround is to switch over to the standby, register the standby and then switch back.

  • RMAN in 10g database deletes archivelog files before standby receives them

    Hi all,
    We currently have problem with our Oracle 10gR1 database on Windows 2000 server in that the RMAN backups on the primary database delete archivelogs before the standby database can receive current and new archivelogs from primary database. What happens is that RMAN backs up the archivelogs and deletes them from disk before the archivelogs are sent to the standby. The standby then looks for these archivelogs on the primary but is unable to locate them. Whenever this happens, the production database (primary) hangs and we have to restart the instance on the primary. We have our Data Guard setup in maximum performance mode so this should not happen.
    As a short term fix, we have changed the backups to have RMAN backup and delete the archive logs 15 minutes older than current time so that the standby can receive the logs and not have problems. Besides this fix is there a long term solution to the problem or is it a bug in Oracle 10g? The issue came up after we upgraded from 9i to 10g and never saw it before in 9i with RMAN and Data Guard physical standby databases.
    Thanks
    Ben Prusinski, Oracle DBA

    thanks for answer...
    did you managed to make it 'work'?
    according to doc. if set on standby it should:
    <>
    Then, these files are eligible for deletion:
    Archived redo log files in the flash recovery area that
    were applied on the standby database.
    <>
    and this is to my understanding irespective to retention policy...unfortunately report obsolete does not report applied archived logs as eligable for deletion.
    How this works in your case?
    regards.
    goran

  • How to delete archivelog with RMAN in the Primary and Standby database?

    Hello,
    I am working on Oracle 10gR2.
    My question is :
    How could I implement a automatized and secure way of:
    1) Delete archivelogs on my PRIMARY server only when these logs are successfully TRANSFERED to all my standby databases?
    2) Delete archivelogs on my STANDBY server only when these logs are sucessfully APPLIED to the database?
    Thanks a lot for your help!

    on 10G
    CONFIGURE ARCHIVELOG DELETION POLICY TO [CLEAR | NONE | APPLIED ON STANDBY];
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14239/rman.htm#CHDBEICE
    Coskan Gundogar
    http://coskan.wordpress.com

  • How to delete archive log on standby site

    hi
    i configured dataguard on 10g. could anyone suggest how to delete archived log on standby site..

    Hi,
    There is no automatic feature out-of-the-box but you have the following views:
    1) Shows archive logs transfered:
    select sequence#, first_time, next_time from v$archived_log order by sequence#;
    2) Shows archive logs applied:
    select sequence#, archived, applied from v$archived_log order by sequence#;
    If you see your archivelogs applied you can safely remove archive log files from your disk. It is your decision if you keep or delete them completely.

  • Rman-08137 can't delete archivelog because the capture process need it

    When I use the rman utility to delete the old archivelog on the server ,It shows :Rman-08137 can't delete archivelog because the capture process need it .how to resolve the problem?

    It is likely that the "extract" process still requires those archive logs, as it is monitoring transactions that have not yet been "captured" and written out to a GoldenGate trail.
    Consider the case of doing the following: ggsci> add extract foo, tranlog, begin now
    After pressing "return" on that "add extract" command, any new transactions will be monitored by GoldenGate. Even if you never start extract foo, the GoldenGate + rman integration will keep those logs around. Note that this GG+rman integration is a relatively new feature, as of GG 11.1.1.1 => if "add extract foo" prints out "extract is registered", then you have this functionality.
    Another common "problem" is deleting "extract foo", but forgetting to "unregister" it. For example, to properly "delete" a registered "extract", one has to run "dblogin" first:
    ggsci> dblogin userid <userid> password <password>
    ggsci> delete extract foo
    However, if you just do the following, the extract is deleted, but not unregistered. Only a warning is printed.
    ggsci> delete extract foo
    <warning: to unregister, run the command "unregister...">
    So then one just has to follow the instructions in the warning:
    ggsci> dblogin ...
    ggsci> unregister extract foo logretention
    But what if you didn't know the name of the old extracts, or were not even aware if there were any existing registered extracts? You can run the following to find out if any exist:
    sqlplus> select count(*) from dba_capture;
    The actual extract name is not exactly available, but it can be inferred:
    sqlplus> select capture_name, capture_user from dba_capture;
    <blockquote>
    CAPTURE_NAME CAPTURE_USER
    ================ ==================
    OGG$_EORADF4026B1 GGS
    </blockquote>
    In the above case, my actual "capture" process was called "eora". All OGG processes will be prefixed by OGG in the "capture_name" field.
    Btw, you can disable this "logretention" feature by adding in a tranlog option in the param file,
    TRANLOGOPTIONS LOGRETENTION DISABLED
    Or just manually "unregister" the extract. (Not doing a "dblogin" before "add extract" should also work in theory... but it doesn't. The extract is still registered after startup. Not sure if that's a bug or a feature.)
    Cheers,
    -Michael

  • HT3281 anyone know how to delete podcasts off the new itunes please

    Hi
    Does anyone know how you delete podcasts of the new I-Tunes please
    Thank you 

    The show duplicates/show exact duplicates features have been left out of iTunes 11. Rumor suggests they will be restored in the next build. In the meantime I have written two Windows scripts to make playlists of Duplicates and Exact Duplicates, either from a selection of tracks or the entire library.
    If you want to manually remove duplicate tracks use shift-delete to remove selected tracks from the library as well as the playlist. Keep one of each repeated group of files and don't send to the recycle bin unless you are sure that there are multiple files on the disc as opposed to multiple entries to the same file.
    There is also my DeDuper script if you don't want to do it by hand. This can preserve ratings, play counts, playlist membership, etc. which are lost in a manual clean up. Please take note of the warning to backup your library before deduping. See this thread for background on deduping and the script.
    tt2

  • How to delete podcasts with the iclould icon?

    How to delete podcasts with the iclould icon?

    That is discouraging.  However I do notice that if I view my podcasts in My Podcasts mode they are grouped and sorted better than in Unplayed mode and the ones in the cloud are not shown. However although I prefer the one window view of List mode to the two windows My Podcast mode, My Podcast mode does at least indicate how many unplayed episodes I have from each podcast.  This would almost be acceptable except that partially listened to podcasts, while still there, can only be identified by highlighting the podcast title on the lefthand sidebar, (although the number of completely unplayed episodes are listed on the left hand sidebar).  As someone who often listens to a podcast over two or more days I fear I could forget which ones I have only partially listened to and would have to go down the entire left hand sidebar list highlighting each podcast to remind myself.  I really find the List mode the most informative and easiest way to view my podcasts and really wish Apple had not messed with it

  • How to delete photos on the i-pad?

    How to delete photos on the i-pad?

    Only photos taken with the iPad, copied onto it via the camera connection kit, or saved from emails/websites etc can be deleted directly on the iPad - either via the trashcan icon in the top right corner if viewing the photo in full screen, or via the icon of the box with the arrow coming out of it in thumbnail view. Photos that were synced from your computer are deleted by removing them from where they were synced from and then re-syncin.

  • How to delete/drop all the tables from SQL Server Database without using Enterprise Manager?

    How to delete/drop all the tables from SQL Server Database without using Enterprise Manager?
    I tried using DROP Tables, Truncate Database, Delete and many more but it is not working.  I want to delete all tables using Query Analyzer, i.e. through SQL Query.
    Please help me out in this concern.
    Nishith Shah

    Informative thread indeed. Wish I saw it early enough. Managed to come up with the code below before I saw this thread.
    declare @TTName Table
    (TableSchemaTableName
    varchar
    (500),
    [status] int
    default 0);
    with AvailableTables
    (TableSchemaTableName)
    as
    (select
    QUOTENAME(TABLE_SCHEMA)
    +
    +
    QUOTENAME(TABLE_NAME)
    from
    INFORMATION_SCHEMA.TABLES)
    insert into @TTName
    (TableSchemaTableName)
    select *
    from AvailableTables
    declare @TableSchemaTableName varchar
    (500)
    declare @sqlstatement nvarchar
    (1000)
    while 1=1
    begin
    set @sqlstatement
    =
    'DROP TABLE '
    + @TableSchemaTableName
    exec
    sp_executeSQL
    @sqlstatement
    print
    'Dropped Table : '
    + @TableSchemaTableName
    update @TTName
    set [status]
    = 1
    where TableSchemaTableName
    = @TableSchemaTableName
    if
    (select
    count([Status])
    from @TTName
    where [Status]
    = 0)
    = 0
    break
    end

  • I joined this community in error and don't know how to delete myself from the group. Can someone please advise me on this ?

    I joined this community in error and don't know how to delete myself from the group. Can someone please tell me how to do that ?
    Thanks,
    Skeebo

  • God morning can some  one tell me how to delete app from the iphone4?

    cAN SOME ONE TELL ME HOW TO DELETE APP FORM THE IPHONE4??

    If it is an App you have Downloaded and there is no X when it Wiggles...
    Perhaps this Assistant can Help you:
    http://www.apple.com/support/iphone/assistant/application/

  • How to delete items from the list of "auto-open" tabs that load whenever FF4 opens?

    When I recently downloaded FF4, I was asked if I'd like to have FF automatically open the same tabs as were set in my IE. Great! Worked perfectly until I set those tabs as App Tabs. Now both the App Tabs and the original IE set of tabs open whenever I open FF -- essentially each tab loads twice -- as app tab and large tab. How can I delete tabs from the list of "auto-open" tabs? In addition, for some reason, every time I try to set my home page, it's not working -- I keep getting the same home page regardless of how many times I have tried to set a new one.

    You can close a tab with a middle-click or with a left click on the close X on the tab or via the right-click context menu of that tab.<br />
    Do those tabs come back if you close then and lose Firefox?

  • How to delete protlet from the code?

    Hi All,
    I want to delete the portlet at runtime (means from code) so does anyone has any idea how to do it?
    Scenario - I have home page, there I have 5-8 portlets so I want to provide functionality to end user so they can delete and add the same portlet. So, for that I have created one more portlet which is on another page, from that portlet I am deleting one specific portlet by passing it's portlet instance ID.
    I have written following code to delete it but it doesn't work out. I am not getting any exception while executing below code but it doesn't delete the portlet , so when I go back to home page I can see that portlet. FYI, It prints all SOPs.
    I have written following code in backing file which is at page level (not on Home page).
    String LOOKUP_NAME = com.bea.p13n.management.ApplicationHelper.getApplicationName() +"."+
         com.bea.netuix.application.manager.persistence.PortalCustomizationManagerHome.LOOKUP_NAME;
         Object obj = JndiHelper.lookup(LOOKUP_NAME, com.bea.netuix.application.manager.persistence.PortalCustomizationManager.class);
         System.out.println("=========="+obj.getClass().getName());
         com.bea.netuix.application.manager.persistence.PortalCustomizationManagerHome home = (com.bea.netuix.application.manager.persistence.PortalCustomizationManagerHome)obj;
         System.out.println("[HomePageBacking][Home]"+home);
         com.bea.netuix.application.manager.persistence.PortalCustomizationManager portalCustomizationManager = home.create();
         System.out.println("[HomePageBacking][portalCustomizationManager]"+portalCustomizationManager);
         com.bea.netuix.application.manager.CustomizationContext customizationContext = new com.bea.netuix.application.manager.CustomizationContext(request);
         System.out.println("[HomePageBacking][customizationContext]"+customizationContext);
         customizationContext.setVisitorMode(true);
         System.out.println("-------getParameter--------"+request.getParameter("instanceID"));
         String instanceID = request.getParameter("instanceID");
         if(instanceID != null)
              com.bea.netuix.application.identifier.PortletInstanceId portletInstanceId = com.bea.netuix.application.identifier.PortletInstanceId.createPortletInstanceId(Integer.parseInt(instanceID));
              //portletInstanceId.setId(Integer.parseInt(instanceID));
              System.out.println("[HomePageBacking][customizationContext.isVisitorMode()]"+customizationContext.isVisitorMode());
              System.out.println("[HomePageBacking][portletInstanceId.getId()]"+portletInstanceId.getId());
    portalCustomizationManager.deletePortletInstance(customizationContext, portletInstanceId);
    with the last line of above code it should delete that portlet for that user but it doesn't work.
    So, any one has any idea on this?? I appreciate your help.
    Thanks,
    HJ

    Following is the code to delete the portlet at runtime of from your code.
    String webApp = ApplicationHelper.getWebAppName(request);
    ResourceContext resourceContext = ResourceContext.createResourceContext(request, true);
    String deletePortletId = "XXXXXX"; // This you can get it from request or from session
    List<ControlAction> actions = new ArrayList<ControlAction>();
    com.bea.netuix.application.identifier.Id id = new PortletInstanceId(Integer.valueOf(deletePortletId).intValue());
    actions.add(PageInstanceAction.removePlaceableFromPageInstance(pageControl, (PlaceableInstanceId) id, webApp,
                             new PortalPath(portalPath), new DesktopPath(desktopPath)));
    portalControl.executeActions(actions, resourceContext);
    I hope this will help someone who wants to delete portlet at runtime fron code.
    Thanks,
    HJ

  • How to delete files in the YouTube downloader app?

    My Nokia Lumia 520 YouTube downloader how to delete files please give mi solution iam waiting
    Moderator's Note: We have moved your post and changed the title into a subject-related title. This is to keep the forum organized and let other forum users easily see and respond to this post.
    Solved!
    Go to Solution.

    You probably need to contact the developer of YouTube downloader for that.
    Moderator's Note: We have moved your post and changed the title into a subject-related title. This is to keep the forum organized and let other forum users easily see and respond to this post.

Maybe you are looking for