Automatic deletion of old archive files and trace files

I've got a database that must run 24x7 without being monitored by a DBA.
Two questions:
1. Is it possible to get Oracle to automatically delete and uncatalog old archive files?
2. Is it possible to get Oracle to automatically delete old trace files located in udump and bdump?
Thanks in advance

1. When you say 'uncatalog old archives’ do you mean that your database is backed up using RMAN and a catalog? If this is the case then RMAN can delete the backed up archives for you. Just add 'delete input' to the end of the 'backup archive log...' line in your backup script.
2. Oracle can't delete the trace files. Best way is to write a script that delete all files older than X days and schedule it to run every night.

Similar Messages

  • Diff between Log files and Trace files

    hi
    What is the exact differences between Log Files and Trace Files.
    And the relevant informative URL/reference materils would be highly appriciated.
    Thanks
    Sekhar

    Hi,
    Go through these,
    http://help.sap.com/saphelp_nw04/helpdata/en/d1/7b1e40777cdd5fe10000000a155106/frameset.htm
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/0bf8c890-0201-0010-8b8c-fc93fa1f4795
    Hope it clarifies
    Regards
    Srinivasan T

  • Question regarding alert log file and trace files

    What should be the alert log file size ? And when should it be deleted? And for how many days user trace files should be kept?
    Also will anyone please tell me the importance of these files.
    Thanks

    This may help: http://download-east.oracle.com/docs/cd/B19306_01/server.102/b14231/manproc.htm#sthref729
    There are a few discussions on it here:
    Re: Alert Log File
    alert log file contents viewing
    Re: how to read alert log file? is there any tool available?

  • SAP MMC and Trace Files

    Hi
    I want to get complete information on the "exit codes"  in SAP MMC for various server and other processes.
    And also want to know that what are the various log files and trace file .what kind of logs/information they provide and if the Portal has been restarted then is there any way to find at what time the portal was down.
    Thanks in Advance
    Ajay Sandal

    Hi Ajay,
    For Exit Codes
    SDM Exit code 16
    NW App Svr dies with SP06 upgrade
    NW2004sSP7 Preview installation
    Cannot start J2EE and the return code = 66
    Deploy Service doesn't start
    SDM Error
    By the way
    Logs file can be seen at
    http://help.sap.com/saphelp_nw04/helpdata/en/f6/6fff40e39ba854e10000000a1550b0/content.htm
    /usr/sap/SID/JCxx/j2ee/cluster/server0/log/defaulttrace.trc
    Thanx
    Pankaj

  • Deleting the old Archive Log Files from the Hard Disk

    Hello All,
    I want to delete the old archive files of Oracle. These files are very old and consuming very huge disk space.
    Is there any way by which I can delete these files from the Hard Disk?
    Can I directly delete them using the Operating System Command?
    Will it cause any dilfference to the normal functioning of my Database?
    If I need to delete these files, do I need to bring the database down?
    Please guide me.
    I need to do this activity to make some space free on the Hard Disk.
    Thanks in advance.
    Himanshu

    Hi.
    Keep archived logs from time of last backup and forward to currenct time on disk together with the backup itself. And keep older archived logs together with older warm/cold backupfiles on tape as long as there is enough capasity or following your recovery strategy. This way you might be able to roll forward a recovery without restoring these files from tape which often the faster.
    Older archived logs can be deleted manually, with scheduled OS script or automatically with RMAN.
    Good luck
    rgds
    Kjell Ove

  • Delete audit and trace files

    Is anyone aware of why we should not delete audit and trace files under the oracle admin directory that are over 30 days old? I don't know that there is anything in place to do this and they are building up. Tuldcorpadb01:/oracle is at 96%. These files aren't that big, but there are a lot of them. See counts below.
    oracle:tuldcorpadb01:ecmd> cd admin
    oracle:tuldcorpadb01:ecmd>find . -name \*.aud -type f -ctime +30 -ls|wc -l
    25149
    oracle:tuldcorpadb01:ecmd>find . -name \*.trc -type f -ctime +30 -ls|wc -
    2426

    Move older audit files to a different filesystem until you find someone being able to define what files can be deleted.
    Regards
    Gustavo Restuccia

  • How do I delete an old Apple ID and still update apps purchased when I was using it?

    How do I delete an old Apple ID and still update apps purchased when I was using it?

    One, you cannot delete an Apple ID, all you can do is stop using it and let it fade away.
    Two, apps are permanently tied to an aPple ID and can never be transferred to another.  You must use that same ID to update an app, or delete the app and repurchase/download under another ID.

  • How to delete my old email address and install the new one on an HP 4480 all in one.

    my HP 4480 uses my old email address to send scan to email.I need to delete the old email address and install my new one

    des7931,
    You should be able to go to your software on your computer and click on the >Scanner Actions section.
    Then click on>Scan to E-Mail Wizard
    This should bring up a screen to edit, change, or delete the stored email addresses for scan to email.
    Let us know if you don't see this or still have problems.
    If I helped you at all it would be great if you clicked the blue kudos star!
    If I solved your post please mark it as solved to help others.
    I'm a printer tech with HP.

  • HT4759 How can i delete an old iCloud account and start using my own using my Apple ID? If I don't have the old password??

    How can i delete an old iCloud account and start using my own using my Apple ID? If I don't have the old password??

    If your device is signed into an old iCloud ID that is an earlier version of the ID you want to sign in with, do the following:
    If you are using iMessage and FaceTime, make sure you are signed into these services with your current ID.  If they are signed into the old ID, go to Settings>Messages>Send & Receive and Settings>FaceTime, tap the ID, sign out, then sign back in with your current ID.
    Then temporarily recreate the old ID by going to https://appleid.apple.com, click Manage my Apple ID and sign in with your current iCloud ID.  Click edit next to the primary email account, change it back to your old email address and save the change.  (You should not have to verify the old email account so it doesn’t matter if you no longer have access to it.)  Now go to Settings>iCloud, turn off Find My iDevice and enter your current password when prompted (even though it prompts you for the password for your old ID).  Then save any photo stream photos that you wish to keep to your camera roll (unless you are using iCloud Photo Library).  When finished go to Settings>iCloud, tap Sign Out (or Delete Account if you are not running iOS 8) and choose Delete from My iDevice when prompted (your iCloud data will still be in iCloud).  Next, go back to https://appleid.apple.com and change your primary email address back to the way it was.  Now you can go to Settings>iCloud and sign back in with your current iCloud ID and password (your data will download back to your device).

  • I deleted my old email address and now I can't acess icloud because I can't remember my password to the icloud account.  It is not allowing me to log in obviously and now my old email is showing under the settings now do i need to reset the iphone?

    I deleted my old email account and when i went to change everything on my iphone it still shows the old email even though i created a new apple id.  I also can't remember the password and now can't access icloud.  Do i need to reset the phone?

    If you are unable to remember your password, security questions, don’t have access to your rescue address or are unable to reset your password for whatever reason, your only option is to contact AppleCare(or Apple ID Support), upon speaking to an operator you should explain that your problem is related to your Apple ID, this way you will not be charged for assistance, even if you don’t have an AppleCare plan.
    The operator will take you through some steps you may have already tried, however they need to be sure they have exhausted all usual approaches before trying to reset your account, so you should try to be helpful and show patience with the procedure.
    The operator will need to verify they are speaking to the account holder and may ask you some questions that only the account holder could know, and you will need to answer them if the process is to proceed.
    Once the operator has verified your identity they will send a message through to your device which contains an alpha numeric code, which you will need to read back to them.
    Once this has been completed they will send an email to your iCloud email address after a period of 24 hours, so you should check that mail is enabled in your devices iCloud settings.
    Upon receipt of the email, use the reset link provided to reset your password, after which you should be able to make the adjustments to iCloud that you wish to do.

  • I deleted my old email address and added a new one, after my iPhone died iCloud keeps popping up asking for the password of my old email address. I can't remember my password and the account is still gone, it pops up every few seconds. How can I fix this?

    I deleted my old email address and added a new one, after my iPhone died iCloud keeps popping up asking for the password of my old email address. I can't remember my password and the account is still gone, it pops up every few seconds. How can I fix this?

    If you are unable to remember your password, security questions, don’t have access to your rescue address or are unable to reset your password for whatever reason, your only option is to contact AppleCare(or Apple ID Support), upon speaking to an operator you should explain that your problem is related to your Apple ID, this way you will not be charged for assistance, even if you don’t have an AppleCare plan.
    The operator will take you through some steps you may have already tried, however they need to be sure they have exhausted all usual approaches before trying to reset your account, so you should try to be helpful and show patience with the procedure.
    The operator will need to verify they are speaking to the account holder and may ask you some questions that only the account holder could know, and you will need to answer them if the process is to proceed.
    Once the operator has verified your identity they will send a message through to your device which contains an alpha numeric code, which you will need to read back to them.
    Once this has been completed they will send an email to your iCloud email address after a period of 24 hours, so you should check that mail is enabled in your devices iCloud settings.
    Upon receipt of the email, use the reset link provided to reset your password, after which you should be able to make the adjustments to iCloud that you wish to do.

  • How do I delete my old gamecenter profile and start a new one

    How do I delete my old Gamecenter profile and start a new one?

    I suggest changing the existing ID rather than creating a new one, all purchases are forever linked to the ID that bought and can never be transferred, you can change all detauils about your ID here:
    http://appleid.apple.com
    Read this
    http://support.apple.com/kb/HT5621

  • After upgrading to Mavericks, all of my contacts disappeared. Did a "contacts archive" export and the file is 17mbs. Looks like there's data, but none of it at all displays. What gives? 20" iMac, early '09

    After upgrading to Mavericks, all of my contacts disappeared. Did a "contacts archive" export and the file is 17mbs. Looks like there's data, but none of it at all displays. What gives? 20" iMac, early '09

    After upgrading to Mavericks, all of my contacts disappeared. Did a "contacts archive" export and the file is 17mbs. Looks like there's data, but none of it at all displays. What gives? 20" iMac, early '09

  • Timestamp in Java log and trace files.

    Hi SAP'ies
    Running PI 7.11 on AIX 6.3 we face an issue with the content of log and trace files from Java.
    Eg.
    The file DefaultTrace_00.0.trc is timestamped 18-05-10 11:16:15. (The same time as the time of the OS/AIX)
    Looking inside the file the last statement is timestamped 2010 05 18 09:16:15.
    How can we ensure that the content of these Java files are timestamped with OS time?
    Looking into ABAP files like dev_w0 the timestamp of the file and the content are equal.
    Best regards,
    Teddy Løv Andersen

    Hello All
    Best way to convert the default trace time is , visit the site
    http://www.csgnetwork.com/epochtime.html
    here enter , for example if you have the following in default trace
    #1.#00265510DE7300120000000F000022030004C77AD7309DF5#1345230317066#com.sap.portal.fpn.rdl
    1345230317066   is time stamp , enter this in the above site to get the time
    Fri Aug 17 2012 21:05:17 GMT+0200
    Regards

  • How do I delete my old iMessage email and change to my current one, that Im using when I buy apps and so on. The old one wont go away when I turn iMessage on and of again. pls help

    How do I delete my old iMessage email and change to my current one, that Im using when I buy apps and so on. The old one wont go away when I turn iMessage on and of again. pls help
    Anyone had the same?

    How do I delete my old iMessage email and change to my current one, that Im using when I buy apps and so on. The old one wont go away when I turn iMessage on and of again. pls help
    Anyone had the same?

Maybe you are looking for

  • Problem in BPM with long loop

    Hi, I have "Integration Process" which reads data items from DB table and sends it to webserive. Webservice accepts only 1 item of data, so I have loop in bpm interating through every data item and calling webservice. The process works fine with no e

  • MacBook (Lion) doesn't sleep even after closing lid

    Is anyone experiencing this as well? I have encounter the same problem a few times now. My macbook would have it's fan keep running even when the lid is closed. Isn't it strange? I haven't had this problem before in Snow Leopard. In snow leopard, eve

  • Image not appearing...

    So i've been working on this website: http://www.adamwesleybooks.com/index.html But as you can see, there is an image link missing in the navigation area.. After scouring my code I can't seem to find any reason why it wouldn't appear.. can anyone hel

  • AIR IOS VOD streaming help

    Hey Guys Our company has been using flex for ages developing web apps for internal and external use. with one of our apps (which we delivery video over RTMP ) we are looking to move it to the IOS AIR platform as some of our clients are now on IPADS.

  • (Help)Can't open  iSQL*Plus in the server?

    I want to run iSQL*Plus in the localhost.And my oracle DB server is in UNIX. So URL: http://192.168.151.100:1521/isqlplus/ But I don't open it! So How to get it. Thanks in advance! Message was edited by: Hansen