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

Similar Messages

  • How to remove archive log files from ASM managed 11g R2 database?

    Hi,
    I am planning to automate deletion of older archive log files from my 11g R2 Production instance which is ASM managed.
    Also want to remove the archive log files files from standby database.
    Please provide your inputs on how can I remove the older archive log files.
    Regards,
    Avinash

    Greetings
    Did you check RMAN,
    RMAN>show all;
    CONFIGURE RETENTION POLICY . . . .
    CONFIGURE ARCHIVELOG DELETION POLICY TO [CLEAR | NONE | APPLIED ON STANDBY];
    DELETE NOPROMPT EXPIRED ARCHIVELOG ALL;
    DELETE NOPROMPT ARCHIVELOG ALL COMPLETED BEFORE 'SYSDATE-10';
    This will be part of your RMAN Backup scripts/process
    Check the urls below:
    11gRel2:
    http://download.oracle.com/docs/cd/E11882_01/backup.112/e10642/rcmmaint.htm#BRADV90079
    http://download.oracle.com/docs/cd/E11882_01/backup.112/e10642/rcmmaint.htm#BRADV89634
    10g:
    http://download.oracle.com/docs/cd/B19306_01/backup.102/b14193/toc.htm#sthref45
    http://download.oracle.com/docs/cd/B19306_01/backup.102/b14191/rcmconc1.htm#i1008093
    http://download.oracle.com/docs/cd/B19306_01/backup.102/b14192/maint003.htm#sthref712
    Regards & Thanks
    BN

  • How to delete archive log files from ASM through Grid Control

    Hi
    Anybody suggest me how to delete archive log files from ASM through Grid Control.
    Thanks

    It is important to specify both, the oracle version and os version when posting, so confusions can be avoided.
    In this particular case, since you are referring to asm and grid control you could be talking about either 10gR1, 10gR2 or 11gR1; but I strongly suggest you to avoid us to be guessing. In either case, you sould go to the maintenance tab of the target database and program a scheduled 'delete noprompt obsolete;' procedure. This will purge the information stored at the Flash recovery area, which I assume you have declared inside the ASM.
    ~ Madrid
    http://hrivera99.blogspot.com/

  • How can we delete archive log files from OEM

    Hi,
    I took backup of the archive log file and deleted it at OS level but in it is not reflecting in the EM can any one tell me how to delete archive log files from OEM.
    any help will be appreciated.
    Regards,
    Ashraf

    This link?
    http://download-west.oracle.com/docs/cd/B10501_01/em.920/a96670/ch_backp.htm#26936

  • How to correct the corrupted archive log files?

    Friends,
    Our restore method is cloning type.
    today i fired this statement(this is one is usually do for the restore) "recover database until cancel using backup controlfile"
    i have 60 files in the archive folder.
    it executs only 50 files when it comes to 51st file it came out and says could not copy the file.
    is that particular file is corrupted?
    or is there any restriction in copying no of archivelog files? i mean only 60 files like that.....
    suppose if the archive file is corrupted how can i correct it?
    thanks
    sathyguy

    Now, this is the error message....
    ORA-00310: archived log contains sequence 17480; sequence 17481 required
    ORA-00334 archived log; '/archive2/OURDB/archive/ar0000017481.arc'i googled....and find out.....
    ORA-00310 archived log contains sequence string; sequence string required
    Cause: The archived log is out of sequence, probably because it is corrupted or
    the wrong redo log file name was specified during recovery.
    Action: Specify the correct redo log file and then retry the operation.so...from the above error messages.....i think the particular archive file(17481) is corrupted. now can i correct this corrupted archive file.
    According to the above action, it says to specify the correct redo log file. if the file is not corrupted then where should i specify the redo log file's path?
    thanks
    sathyguy

  • I have been trying to get my iPhone to sync with a new computer.  As a result I have ended up with many of my apps on the old computer, but missing from the the new one and the iPhone.  How do I get the apps on the old one to the iPhone and then the new c

    I have been trying to get my iPhone to sync with a new computer.  As a result I have ended up with many of my apps on the old computer, but missing from the the new one and the iPhone.  How do I get the apps on the old one to the iPhone and then the new computer?

    You don't. Backup your itunes library on the old computer and move it to the new computer.

  • Can the new garageband open files from the previous garageband? in my case it seems not to work and I would like to know if it is possible at all...

    Can the new garageband open files from the previous garageband? in my case it seems not to work and I would like to know if it is possible at all...

    No.
    I find it extremely frustrating that Apple does not care for such an obvious bug affecting one of the basic funcionalities of AirPlay. Unless, of course, if there's something I don't know - but I've done some research and it seems that plenty of people have same issue and no solution is settled.

  • How to start the Toshiba Ghost image files from the HDD

    Hello
    Ok this is a tough one but hopefully some tech/wizz can help me out.
    I have all the necessary CD Recovery disc but my Toshiba laptop CDRom has died and i'm looking for replacement at the moment.
    I have managed to copy the image files and all the other info from these CD's onto the laptop hard drive via a network from my desktop cdrom. I did try to use the desktop cdrom to boot the 2.5" laptop drive but it knew it wasnt a toshiba laptop so wouldn't let me recovery.
    However now I have manage to copy all the ghost image files onto the laptop hdd I'm stuck on how to run installation via dos.
    The laptop hdd is formatted and all i have are the following files
    span.bmp
    setenv.bat --------> batch file contains following lines
    @ECHO OFF
    SET GHOSTPAR=
    SET SWN=01237000
    SET EXT=GHO
    SET VOLLABEL=%SWN%
    SET FILENAME=%SWN%.%EXT%
    01237001.GHS------> PART 2 OF IMAGE
    01237000.GHO -----> GHOST IMAGE MAIN
    01237000.CRC
    A folder called G_INST
    which contains 3 extra folders BMP, DOS and TOOLS and span.bmp
    I cant figure out how i can run ghost to extract and recovery my HDD can someone help me :)
    Thanks in advance
    Simon

    Im really skeptical if you will be start the Toshiba ghost image files from the second partition without using the Symantec Norton Ghost software.
    I have created a ghost image of the C partition and placed it on the D partition.
    To recover the C partition I have to start the Ghost Utility and have to use the image file .gho from D partition
    I have googled a little bit and found the useful instruction how to recover the Portege M3500 without using an CD/DVD drive. Maybe this will run also on the Sat A30.
    http://mobilepcwiki.com/mpc/index.php?title=Toshiba/Portege_M3500/FAQ
    By the way: the internal, compatible ODD can be ordered from the ASP in your country!

  • HT4859 i broke my iphone and got a new one. My iCloud backup has a backup from the old phone and one from the new phone. The new phone didnt download everything from icloud. Is there a way to download the stuff i didnt get back?

    i broke my iphone and got a new one. My iCloud backup has a backup from the old phone and one from the new phone. The new phone didnt download everything from the original icloud backup. Is there a way to download the stuff i didnt get back? please help

    You'll have to do another restore from the old phone backup.  But before doing that, tell us what was not restored.  For example is it just photos that didn't get restored?  If so, that seems to be a common problem for many users, judging by the posts left in the forum.  There doesn't seem to be a solution to that problem (other then to tell users to ALWAYS sync photos to a computer and never trust an iCloud backup/restore to save photos.

  • What does the "yellow section"  "other" files mean under hard disk storage?

    what does the "yellow section"  "other" files mean under hard disk storage?

    david just to right of your initial post is a column entitled "More Like This." Check out some of the posts that seem similar.

  • Problems with indexing files from my hard disk

    Hi everybody,
    I'm a newbie to oracle and i'm trying to index files from my hard disk with oracle text. After i created a simple text file (path: 'c:\tmp\test.txt') and filled it with a short text, i executed the following lines without an error message:
    grant connect, resource, ctxapp to myuser;
    create table myuser.testtab(id number primary key, text BFILE);
    create or replace directory test_dir as 'c:\tmp';
    grant read on directory test_dir to myuser;
    insert into myuser.testtab (id, text) values (1, BFILENAME('test_dir','test.txt'));
    create index myuser.idx_test on myuser.testtab(text) indextype is ctxsys.context;
    the record in the table testtab is stored, but the index table is empty. After i tried to get information about the bfile with java i got an SQLException with the Error-Code ORA-22285 after executing the following lines:
    BFILE file = null;
    try{
    rset = stmt.executeQuery("select text from testtab where id = 1");
    if (rset.next()) {
    file = ((OracleResultSet) rset).getBFILE(1);
    System.out.println("Result from fileExists: " + file.fileExists()); //This is the line where the exception is thrown
    } catch (Exception e){
    e.printStackTrace();
    I would be obliged for any information to this problem.
    Thanks in advance,
    Chris J.
    PS: i'm using Oracle 11.2g on Windows 7

    I got your problem. Drop all the directory,table and index. Log in as "myuser" and do all the things. See the demo below. Don't use myuser.object name When executing the commands from "myuser".
    SQL> conn sys@xe as sysdba
    Enter password: ******
    Connected.
    SQL> create table hr.testtab(id number primary key, text BFILE);
    Table created.
    SQL> create or replace directory test_dir as 'c:\';
    Directory created.
    SQL> grant read on directory test_dir to hr;
    Grant succeeded.
    SQL> insert into hr.testtab (id, text) values (1, BFILENAME('test_dir','test.txt'));
    1 row created.
    SQL> ed
    Wrote file afiedt.buf
      1* create index hr.idx_test on hr.testtab(text) indextype is ctxsys.cont
    SQL> /
    Index created.
    SQL> select * from ctxsys.CTX_INDEX_ERRORS;
    ERR_INDEX_OWNER                ERR_INDEX_NAME                 ERR_TIMES
    ERR_TEXTKEY
    ERR_TEXT
    HR                             IDX_TEST                       31-AUG-10
    AAAEjaAABAAAKsKAAA
    DRG-50857: oracle error in drstldef
    ORA-22285: non-existent directory or file for FILEEXISTS operation
    SQL> conn hr@xe
    Enter password: **
    Connected.
    SQL> select * from CTX_USER_INDEX_ERRORS;
    ERR_INDEX_NAME                 ERR_TIMES ERR_TEXTKEY
    ERR_TEXT
    IDX_TEST                       31-AUG-10 AAAEjaAABAAAKsKAAA
    DRG-50857: oracle error in drstldef
    ORA-22285: non-existent directory or file for FILEEXISTS operation
    SQL> conn sys@xe as sysdba
    Enter password: ******
    Connected.
    SQL> drop directory test_dir;
    Directory dropped.
    SQL> conn hr@xe
    Enter password: **
    Connected.
    SQL> create or replace directory test_dir as 'c:\';
    Directory created.
    SQL> drop table testtab;
    Table dropped.
    SQL> create table testtab(id number primary key, text BFILE);
    Table created.
    SQL> set serverout on
    SQL> DECLARE
      2   v_file BFILE := BFILENAME ('TEST_DIR', 'test.txt');
      3   BEGIN
      4   IF DBMS_LOB.FILEEXISTS (v_file) = 1 THEN
      5  DBMS_OUTPUT.PUT_LINE ('File exists.');
      6   ELSIF DBMS_LOB.FILEEXISTS (v_file) = 0 THEN
      7  DBMS_OUTPUT.PUT_LINE ('File does not exist');
      8  ELSE
      9   DBMS_OUTPUT.PUT_LINE ('Unable to test existence');
    10   END IF;
    11   END;
    12  /
    File exists.
    SQL> insert into testtab values (1,BFILENAME ('TEST_DIR', 'test.txt'));
    1 row created.
    SQL> create index idx_test on testtab(text) indextype is ctxsys.context;
    Index created.
    SQL> select * from CTX_USER_INDEX_ERRORS;
    no rows selected

  • How do I setup RMAN not to delete archive log files on the source database so GoldenGate can process DDL/DML changes?

    I want to setup RMAN not to delete any archive log files that will be used by GoldenGate.   Once GoldenGate is completed with the archive log file, the archive log file can be backup and deleted by RMAN.   It's my understanding that I can issue the following command "REGISTER EXTRACT <ext_name>, LOGRETENTION" to enable to functionally.   Is this the only thing I need to do to execute to enable this functionally?

    Hello,
    Yes this is the rigth way  using clasic capture.
    Using the command : REGISTER EXTRACT Extract_name LOGRETENTION.
    Create a Oracle Streams Group Capture (Artificial)  that prevent RMAN archive deletion if these are pending to process for Golden Gate capture process.
    You can see this integration doing a SELECT * FROM DBA_CAPTURE; after execute the register command.
    Then, when RMAN try to delete a archive file pending to process for GG this warning appear AT RMAN logs:
    Error:     RMAN 8317 (RMAN-08317 RMAN-8317)
    Text:     WARNING: archived log not deleted, needed for standby or upstream capture process.
    Then , this is a good manageability feature. I think is a 11.1 GG new feature.
    Tip. To avoid RMAN backup multiples times a archive pending to process, there is a option called BACKUP archivelog not backed 1 times.
    If you remove a Capture process that is registered with the database you need to use this comand to remove the streams capture group:
    unREGISTER EXTRACT extract_name LOGRETENTION;
    Then if you query dba_capture, the artificial Streams group is deleted.
    I hope help.
    Regards
    Arturo

  • I can't able to open the *.log files from the firefox browser and i need to open the file inside the frame

    If i open the log file from firefox browser it is not open and throws an error as
    "The address wasn't understood
    Firefox doesn't know how to open this address, because one of the following protocols (e) isn't associated with any program or is not allowed in this context."

    What type of log file?
    What is the file name?
    What is the file path or URI?

  • I want to know if Lightroom 5 (version 5.7) supports the conversion of raw files from the Fuji X-T1 micro 4/3 camera system???

    I am considering purchasing the Fuji X-T1 Micro 4/3 camera.
    However before I do I need to know if Lightroom 5 version 5.7 supports the conversion of raw files from this camera!!!????
    Can anyone please let me know if Lightroom does convert raw files from the Fuji X-T1 please???
    Many thanks,
    Connie

    Dear Adobe Support Staff!
    Many thanks for getting back to me re Lightroom and the Fuji X-T1.
    I am now wondering if Lightroom supports the Olympus OMD-E-M1 raw files??? Will Lightroom 5.7 convert raw files from this micro 4/3 camera??
    This is the one I'm now intending to buy.
    Many thanks for getting back to me!!!
    Cheers
    Sent from my iPhone

  • Not able to delete file from external hard disk

    I connected my external hard disk to my macbook pro. But am not able to delete any file since it says the file cannot be deleted when I move it to trash. Could you let me know how to delete a file from the external hard disk?

    How is your HDD formatted? NTFS? FAT?
    Did you write files with rights? When you strike +I on any file, you can see its rights; if you're read-only, you may change your file's rights.

Maybe you are looking for

  • Selection screen versions in LdB

    The following questions are related to SAP delivered LdBs that are not for HR. a) Do you know where the selection screen versions for a delivered LdB are stored? b) Can additional selection versions be created /delivered selection screen versions mod

  • Problem in opening a file

    hello frnds can someone guide me how to open a txt,audio and a video file from a file browser........give me some coding for it as i made a file browser but don't know how to open files from it............plz help me out.............

  • Duplicate Post -   not to answer

    Hi I am facing a locks problem. I know how lock, but I don't know why. The user that locked is trying to insert row , and not to update . I query the row and object that has been requested by the locked user By query ROW_WAIT_OBJ#, dbms_rowid.rowid_c

  • How to use boolean operator to get count

    Hi All, In my query i need to add a field Count which shows number. Meaning, Column A   ColumnB ColumnC  Count 100               50            0            2 55                60             76         3 79                0               0          

  • View of versions in Organizer in PE9 different from prior versions

    I just loaded PE 9 (I was using PS 8). In Organizer in PS8 (and in prior versions) non-version photos in the thumbnail view are all on a dark gray background.  When you modify a photo the stacked version thumbnail then appears as a slide with a light