How to delete the files of the archives journals sleep in ASM?

Hi Experts

We have a downstream real-time replication that uses a location in ASM to the shipped logs.

implemented by

ALTER SYSTEM SET LOG_ARCHIVE_DEST_2 =' LOCATION = + BOBOASM/NANPUT/standbyarchs /.
VALID_FOR = (STANDBY_LOGFILE, PRIMARY_ROLE)' Scope = BOTH;

What should I do to clean these files?

Any procedure or a script to do this?

Thank you

Hello Haggylein

Check this out, seems to work

-redologs used or not?
-When purgeable we can remove

CONSUMER_NAME COLUMN heading ' Capture. Process | Name ' FORMAT A15
COLUMN NAME header ' archived Redo Log | File name ' FORMAT A25
FIRST_SCN "First SNA" COLUMN header FORMAT 99999999999
COLUMN NEXT_SCN TOPIC "Next SNA" FORMAT 99999999999
PURGEABLE HEADING COLUMN "Purgeable? FORMAT A10

SELECT r.CONSUMER_NAME,
r.NAME,
r.FIRST_SCN,
r.NEXT_SCN,
r.PURGEABLE
OF DBA_REGISTERED_ARCHIVED_LOG r, DBA_CAPTURE c
WHERE r.CONSUMER_NAME = c.CAPTURE_NAME and PURGEABLE = 'YES ';

-Now the script
-must be run on the downstream database
-generate a list of the papers be served and executed in a ksh script
-"virtue sysdba" sqlplus @$HOME/bin/generate_list.sql
NEWPAGE 0 VALUE
SET SPACE 0
SET LINESIZE 150
SET PAGESIZE 0
TERMOUT OFF SET
SET ECHO OFF
SET FEEDBACK OFF
SET THE POSITION
THE VALUE OF MARKUP HTML OFF WIDE COIL
coil list_purgeable_arch_redologs.ksh
SELECT 'ls asmcmd ". r.NAME
OF DBA_REGISTERED_ARCHIVED_LOG r, DBA_CAPTURE c
WHERE r.CONSUMER_NAME = c.CAPTURE_NAME and PURGEABLE = 'YES ';
spool off
output

# Finally we can call it from a script
# ! ksh
# remove the embedded redologs
# to be executed on node 2
# cannot be used on
$HOME/bin/export ORACLE_SID = + ASM2
./list_purgeable_arch_redologs.ksh
output

Tags: Database

Similar Questions

  • How to delete the files from my HP ePrint app after download / print?

    Can someone tell me how to delete the files from my HP ePrint app after that I downloaded and printed. Thank you

    jmsandkds,

    I apologize for the confusion. Options you speak of "photos, web and file" are located on the phone somewhere, lets say you click files. When you click on files, it will search the phone for available files that are able to print the ePrint app. To the extent where they are on the phone, you will need to search for them via the search screen, connection to the computer, or some files are program specific and only available in this program to be read, edited, or deleted.

    I hope this helps.

  • How to delete the files from my creative cloud

    How to delete the files from my creative cloud

    @

    Hello

    Please go through this link below help document. If in case you need any other help please reply back.

    Navigate, sync and manage assets

    Thank you

  • How to delete the files on the disc while in a collection?

    How to delete the files on the disc while im in a collection? Its kind of a combination of keys. I don't know what.

    Thank you!

    Alt Ctrl Shift Delete - or Opt Cmd Shift Delete on Mac

  • How to delete the history of google, tried to delete the browsing history, that works, but it does not delete the site from google (in the middle of the page next to the images and videos

    How to delete the history in the Google search box in the middle of the page under Web new video Images

    http://www.Google.com/support/WebSearch/bin/answer.py?hl=en&answer=465

    See if help above.

    See you soon.

    Mick Murphy - Microsoft partner

  • How to delete my file of music other than that both dupicates?

    How to delete my file of music other than that both dupicates?

    To delete several messages that alternate: hold down the CTRL key while you click each message in order to highlight. -Delete.

  • How to extend the duration of sleep

    There are times when I want to use my tablet as a music player.  However, the sleep function allows only a 30-minute delay.  How to extend the duration of sleep?  My tablet is:

    HP7

    Andoid version - 4.1.2

    software version-P702T_V01_24_130919

    hardware version - PVT

    IFWI version - 06.09

    Kernel version + 3.0.34

    You need to enable developer mode. There is an option in the developer options , called "stay awake" otherwise, 30 minutes is available for you to choose for sleep to occur in the normal options available in configurations for as long. Don't forget to remove the tick in the box stay awake when you are finished listening to music or your slate will run battery pretty quickly, especially in performance mode to maximize the opportunities for energy savings.

    How to enable developer mode

    In settings, click tablet PC. Find the Build number. Tap it seven times. (yes I know, it's a bit like ' he is no place like home "a well-known film ) Developer mode is now enabled, and you will see a new section on the left called options of developer. Be careful with the options. Use only the options you really need.

  • can any 1 tell me how to create the budget journal and how to enter in the journal?

    Hi all+.
    Can someone tell me how to create the budget journal and how to enter in the journal to this budget? +

    What about+.
    Yasser+.

    http://download.Oracle.com/docs/CD/A60725_05/HTML/comnls/us/GL/budjrnl.htm#index-budget-journals-entering--0

    Enter budget reviews in order to maintain an audit trail for your budget balances. You can use budget rules to automatically calculate the amounts of budget journal.
    When you post journals budget, amounts of newspaper to date of existing fiscal balances. You can view and change your budget logs before posting.

    ATTENTION: When you use budget rules in fashion newspaper, big book calculates the appropriate flow or necessary to achieve the balance that you enter for the type of credit account.

    Prerequisites

    1. set a budget
    2. open one or more years for your budget
    3. set a budget organization
    4 assign the budget input type 'Enter' for the accounts for which you want to enter budget reviews

    To enter budget for a journals only account:

    1. go to the window enter Budget sheets.
    2. specify the Organization of the Budget for the account with which you want to budget. If the budget organization is protected by password, you must enter the password before you can enter budget reviews.
    3. Enter the Budget that you want to update. You cannot use a budget that is frozen.
    4. Enter the range of accounting periods, to which budget.
    5. enter in the currency of the budget amounts that you enter. The accounts must be assigned to the Organization of the budget for this currency.
    6. choose the Mode of Journal in the region poplist to enter budget amounts in a newspaper format.
    You can also use the single-line Mode or Mode worksheet to enter the amounts in the budget journal. However, you can only generate journals budget of these modes of entry when you use the window enter Budget sheets.
    Additional information: when you use the log Mode, Type of Balance is a field display only. It displays Budget when you enter budget reviews. In the window to enter the newspapers, this field shows actual when you enter actual journals.

    7. Enter or question the account to which you want to budget. You can also switch mode worksheet to easily interrogate the accounts, then come back in fashion newspaper to enter budget reviews.
    8. Enter an amount debit or credit for each period. Do not enter a journal amounts if you want to use fiscal rules to calculate and distribute the budget amounts.
    9. choose Create magazines to create a budget spreadsheet. If you are using budget control, you specify an action of funds when you create the batch.

  • OE6 compacting emails, three months have disappeared. How to open the archive.pst file?

    Using Windows XP and OE6. I want to open the folder to archive and get the messages back to my Inbox.

    Not use Outlook Express dbx, pst files.
     
     
    Two reasons the most common for what you describe is disruption of the compacting process, (never touch anything until it's finished), or bloated folders. More about that below.
     
    Why OE insists on compacting folders when I close it? :
    http://www.insideoe.com/FAQs/why.htm#compact
     
    Why mail disappears:
    http://www.insideoe.com/problems/bugs.htm#mailgone
     
    Recovery methods:
     
    If you are running XP/SP3, then you should have a backup of your dbx files in the Recycle Bin (or possibly the message store), copied as bak files.
     
    To restore a folder bak on the message store folder, first find the location of the message store.
     
    Tools | Options | Maintenance | Store folder will reveal the location of your Outlook Express files. Note the location and navigate on it in Explorer Windows or, copy and paste in start | Run.
     
    In Windows XP, the .dbx files are by default marked as hidden. To view these files in the Solution Explorer, you must enable Show hidden files and folders under start | Control Panel | Folder options | View.
     
    Close OE and in Windows Explorer, click on the dbx to the file missing or empty file, then drag it to the desktop. It can be deleted later once you have successfully restored the bak file. Minimize the message store.
     
    Open OE and, if the folder is missing, create a folder with the * exact * same name as the bak file you want to restore but without the .bak. For example: If the file is Saved.bak, the new folder should be named saved. Open the new folder, and then close OE. If the folder is there, but just empty, continue to the next step.
     
    First of all, check if there is a bak file already in the message. If there is, and you have removed the dbx file, go ahead and rename it in dbx.
     
    If it is not already in the message, open the trash and do a right-click on the file bak for the folder in question and click on restore. Open the message store up and replace the .bak by .dbx file extension. Close the message store and open OE. Messages must be in the folder.
     
    If messages are restored successfully, you can go ahead and delete the old dbx file that you moved to the desktop.
     
    If you have not then bak copies of your dbx files in the Recycle Bin:
     
    DBXpress run in extract disc Mode is the best chance to recover messages:
    http://www.oehelp.com/DBXpress/default.aspx
     
     
    A general warning to help avoid this in the future:
     
    Do not archive mail in default OE folders. They finally are damaged. Create your own folders defined by the user for mail storage and move your mail to them. Empty the deleted items folder regularly. Keep user created folders under 300 MB, and also empty as is possible to default folders.
     
    Disable analysis in your e-mail anti-virus program. It is a redundant layer of protection that devours the CPUs, slows down sending and receiving and causes a multitude of problems such as time-outs, account setting changes and has even been responsible for the loss of messages. Your up-to-date A / V program will continue to protect you sufficiently. For more information, see:

    http://www.oehelp.com/OETips.aspx#3 
     
    And backup often.
     
    Outlook Express Quick Backup (OEQB Freeware)
    http://www.oehelp.com/OEBackup/default.aspx  
  • How to delete the 2 files with expiration date 25/07/2014?

    Found 2 records in history settings - display the files. type-txt doc. cannot delete I suppose that's the expiration date. How can I change the date? or y at - it another way to remove? Also have a damaged object - visualization of objects that I cannot remove.

    Click on Security tab, uncheck keep favorite Web sites. then delete the history.

    Still have a problem with the damaged object - type active x control id but nothing else has.

  • How to delete the files in the recent Section who seem to be have been saved in the cloud [iOS]

    trying to delete a PDF file that I did not need that have been registered under the recent article and is indicated in the cloud?

    If you want to delete the files in the Document Adobe cloud, you can change the location of the file of the recent DocumentCloud.

    Please take a look at the next document in the FAQ to see if it works for you.

    How to manage files Acrobat DC for iOS

    Thank you.

  • Weird problem how to delete a file in the cloud

    Hello

    I am now a proud member of the Adobe Creative cloud.

    Once connected, everything seems normal and I can upload a file just by dragging and droppping.

    Now the problem: I am not able to DELETE a file. As in the video Adobe online there is no icon to the trash.

    If I select a file, the only actions on the left marker are available:

    -Publicly stream (behance)

    -Send the link

    -Move

    -Rename

    -The archives.

    If I use the main blue button (Actions), the only actions that I see are:

    -Create a folder

    -Upload

    -Search

    Please respond to this problem, greetings.

    If you want I'm happy to send a screenshot.

    He need to "check in" and then go into your archive to select for permanent deletion.

    Mylenium

  • How to delete the history of files Windows Flash Player 10.1 projector open?

    I downloaded the standalone flash player (flash player 10.1 projector) on windows 7 64 bit. It works very well, but how do I delete the history of the opened file? It is not installed anywhere, as it is the standalone player, so I have no idea where its stored.

    Thank you

    It is stored in the registry:HKEY_CURRENT_USER\Software\Macromedia\Flash Player

  • How to delete the file

    Finder wants my password to delete a file downloaded from the Internet. Why?

    It is most likely asking to specify an administrator user name and password because your user account does not have write access to a file or folder, the file is stored in.

  • How to delete a file duplicate, located on the system drives and the user, which hogs place CPU when enabled?

    trying to open iTunes, all 100% of the space of the CPU is used immediately, make all executable programs

    slow to run.  Go to the Windows Task Manager shows two processes support AppleMobileDevice, one in the system account, the other to the user

    account.  All other Apple processes are in the user account. Considering the upgrade to Windows 7 without worrying, but are looking for the best way to remove the

    process to the system account without affecting overall performance. Thank you all. Glenwood

    Completely remove iTunes and do a clean reinstall by following the steps below.

    Note that you cannot 'upgrade' from Windows XP to Windows 7.  If your computer hardware is compatible with Windows 7 and Windows 7 drivers are available, you can install Windows 7, but this operation will require a new install of Windows 7.

    You can use Windows Easy Transfer to copy your data, but not your applications.  Applications will need to be reinstalled from original installation media.

    To perform a "clean" iTunes installation uses this technique proposed, from Support of Apple HT1926 article.

    Warning: uninstall utility for cleaning Windows mentioned in the instructions below has been removed from Microsoft download servers because sometimes it seems more removed he was supposed to (I think that this phenomenon was linked to the bureau uninstalls).  You can still get utility Windows Installer Cleanup--> http://majorgeeks.com/Windows_Installer_CleanUp_Utility_d4459.html here is a free alternative Revo Uninstaller. Before using these cleaning products, you must create a restore point from the system first (or back up the registry with C:\WINDOWS\ERUNT).  See http://windowsxp.mvps.org/registry.htm a complete disk image would be safer if you have this ability.

    Go to control panel > Add/Remove programs
    Remove these applications:
    1 Apple Software Update
    2. Apple Mobile Device Support
    3 Hello
    4 iPod for Windows (this may or may not exist, be it, it is not necessary, then we can remove it)
    5 iTunes
    6 QuickTime

    Open my computer > C: > Program Files
    Delete this files (if present)
    1 iPod
    2 iTunes
    3 QuickTime

    Empty your temp directory:
    Open my computer > C: > Documents & Settings > username > Local Settings and delete the contents of the folder called "Temp".

    If you don't see the local settings, enable hidden files:
    Tools > Folder Options > view tab
    Select Show Hidden Files & folder, and then click OK

    Once this file is empty, restart the computer

    Download & install the Windows Installer Cleanup utility:
    http://support.Microsoft.com/kb/290301/
    Launch the utility: start > programs > Windows Installer Clean Up
    Select one of the applications mentioned above and click on remove

    Restart the computer
    Download & reinstall iTunes from here: http://www.apple.com/itunes/download/

Maybe you are looking for