Changing the location of archive log from flash recovery area PLZ HELP!!!

Hi All,
My archive log is being stored in flash memory area which got full and the production server went down.
alert log file details.....
ORA-19809: limit exceeded for recovery files
ORA-19804: cannot reclaim 43432960 bytes disk space from 2147483648 limit
*** 2010-04-25 14:22:49.777 62692 kcrr.c
ARCH: Error 19809 Creating archive log file to
'/oracle/product/10.2.0/flash_rec
overy_area/EDWREP/archivelog/2010_04_25/o1_mf_1_232_%u_.arc'
*** 2010-04-25 14:22:49.777 60970 kcrr.c
kcrrfail: dest:10 err:19809 force:0 blast:1I removed the files and started the database,
Can someone kindly tell me as to how to avoid this problem in future by keeping archive log destination in flash recovery area.
I want to change the location of archive log files, can someone please guide me as to hiow to do that
I changed the size of flash recovery area for the time being, but i am afraid it will be full again!!
SQL> select * from v$flash_recovery_area_usage;
FILE_TYPE    PERCENT_SPACE_USED PERCENT_SPACE_RECLAIMABLE NUMBER_OF_FILES
CONTROLFILE                   0                         0               0
ONLINELOG                     0                         0               0
ARCHIVELOG                99.44                         0              57
BACKUPPIECE                   0                         0               0
IMAGECOPY                     0                         0               0
FLASHBACKLOG                  0                         0               0
6 rows selected.
SQL> alter system set DB_RECOVERY_FILE_DEST_SIZE = 4G ;
System altered.
SQL> select * from v$flash_recovery_area_usage;
FILE_TYPE    PERCENT_SPACE_USED PERCENT_SPACE_RECLAIMABLE NUMBER_OF_FILES
CONTROLFILE                   0                         0               0
ONLINELOG                     0                         0               0
ARCHIVELOG                49.72                         0              57
BACKUPPIECE                   0                         0               0
IMAGECOPY                     0                         0               0
FLASHBACKLOG                  0                         0               0
6 rows selected.regards,
Edited by: user10243788 on Apr 25, 2010 6:12 AM

user10243788 wrote:
Hi All,
My archive log is being stored in flash memory area which got full and the production server went down.
alert log file details.....
ORA-19809: limit exceeded for recovery files
ORA-19804: cannot reclaim 43432960 bytes disk space from 2147483648 limit
*** 2010-04-25 14:22:49.777 62692 kcrr.c
ARCH: Error 19809 Creating archive log file to
'/oracle/product/10.2.0/flash_rec
overy_area/EDWREP/archivelog/2010_04_25/o1_mf_1_232_%u_.arc'
*** 2010-04-25 14:22:49.777 60970 kcrr.c
kcrrfail: dest:10 err:19809 force:0 blast:1I removed the files and started the database,
Can someone kindly tell me as to how to avoid this problem in future by keeping archive log destination in flash recovery area.
I want to change the location of archive log files, can someone please guide me as to hiow to do that
I changed the size of flash recovery area for the time being, but i am afraid it will be full again!!
SQL> select * from v$flash_recovery_area_usage;
FILE_TYPE    PERCENT_SPACE_USED PERCENT_SPACE_RECLAIMABLE NUMBER_OF_FILES
CONTROLFILE                   0                         0               0
ONLINELOG                     0                         0               0
ARCHIVELOG                99.44                         0              57
BACKUPPIECE                   0                         0               0
IMAGECOPY                     0                         0               0
FLASHBACKLOG                  0                         0               0
6 rows selected.
SQL> alter system set DB_RECOVERY_FILE_DEST_SIZE = 4G ;
System altered.
SQL> select * from v$flash_recovery_area_usage;
FILE_TYPE    PERCENT_SPACE_USED PERCENT_SPACE_RECLAIMABLE NUMBER_OF_FILES
CONTROLFILE                   0                         0               0
ONLINELOG                     0                         0               0
ARCHIVELOG                49.72                         0              57
BACKUPPIECE                   0                         0               0
IMAGECOPY                     0                         0               0
FLASHBACKLOG                  0                         0               0
6 rows selected.regards,
Edited by: user10243788 on Apr 25, 2010 6:12 AMPointing the archive log dest (and/or the FRA) to a new location, or enlarging them, will do no good if you are not performing regular housekeeping on the archivelogs. You will just keep knocking down the same problem over and over.
If you simply delete the archivelogs at the OS level, the database will never know about it and it will continue to think the destination is full, based on records kept in the control file.
For regular housekeeping, you need to be doing something similar to this in rman:
run {
  backup archivelog all not backed up 1 times tag='bkup_vlnxora1_arch';
  delete noprompt archivelog all backed up 1 times to device type disk;
run {
delete noprompt obsolete;
crosscheck archivelog all;
delete noprompt expired archivelog all;

Similar Messages

  • Change the location of Archive Logs on standby Server

    Can somebody tell me the process how to change the archive logs location for the standby by server. e.g. Its going now to location C:\stby\archives and I want to send it to E:\stby\archives
    Thx

    Hi,
    Change the STANDBY SPFILE/PFILE Value of <b>standby_archive_dest=E:\stby\archives</b>
    see this
    http://download.oracle.com/docs/cd/B10501_01/server.920/a96653/init_params.htm#84366
    HTH
    Regards!

  • 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 redo logs and flash recovery area? RAID 10 or RAID 1? Is that possible we can duplicate Flash recovery area to the other location (such as net work drive) at the same time? Since we only have single disk array controller to connect to the disk arrays, I am try to avoid the single failure that will lose archive logs and daily backup.
    thanks,
    Belinda

    Thank you so much for the suggestion. Could you please let me know the answer for my question of FRA redundancy?
    “Is that possible we can duplicate Flash recovery area to the other location (such as net work drive) at the same time? Since we only have single disk array controller to connect to the disk arrays, I am try to avoid the single failure that will lose archive logs and daily backup.”

  • Online redo logs in Flash Recovery Area

    Hi,
    Currently I have redo logs multiplexed on two separate disks. I want to add a new member to each log file group that goes in flash recovery area. What is the easiest way to accomplish this?
    It seems to me that I can only do this by dropping the existing groups and recreating them. If I decide to go this route, what parameters do I need to set so that 3 members are created for each group?
    Thanks

    Simply issue 'alter database add logfile group <n>;', don't specify a location. Assuming 'db_recovery_file_dest' is correctly set this will create an Oracle managed file under <FRA>/onlinelog/<OMF-filename>, something like
    4 ONLINE
    C:\ORACLE\FLASH_RECOVERY_AREA\ORACLE\ONLINELOG\O1_MF_4_5WRBM1C4_.LOG
    GROUP# STATUS TYPE
    MEMBER
    IS_
    YES
    Werner

  • Redo logs and Flash recovery area

    Hi,
    Is it a good practice to place a copy of the (multiplexed) online redo at the flash recovery area? Wouldn't it be better to place a copy of the archived log at the flash recovery area?

    user492400 wrote:
    Hi,
    Is it a good practice to place a copy of the (multiplexed) online redo at the flash recovery area? Wouldn't it be better to place a copy of the archived log at the flash recovery area?Its not only the archvielogs that should be placed in the FRA. FRA is supposed to contain one copy of the archive logs and the rest 9 destinations are given to you for the multiplexing of it. The idea of multiplexing the redo logs and placing them anywhere( not just on the FRA itself) is simply required so that you won't get to a situation where you would lose all the redo log files and thus have to recreate them, losing the data inside them. So aleast one copy of the log files should be there and where you want to put it, that would depend on you.
    HTH
    Aman....

  • Flash recovery area, need help!

    Hi! I have some problems with Flash Recovery Area. I use Oracle 10g.
    So,
    1) I tried to change Flash Recovery Area Size from 10 to 15 GB in Enterprise Manager, see: http://my.jetscreenshot.com/2677/20111129-mxmb-117kb
    Applied changes and shutdown DB. After I started DB and see the Flash Recovery Area Size then I can see that it is old one - 10GB and free space is with "-" sign, see: http://my.jetscreenshot.com/2677/20111129-bwlw-101kb
    What I am doing wrong?
    2) Can You pleas explain, what to do step by step with example, how can I delete Flash Recovery files USING ENTERPRISE MANAGER, what steps I need to do? Because my HDD is almost full.
    3) It is possible to delete Flash Recovery files automatic after some time? If Yes, please say how?
    Hope for Your help, best regards, Debuger

    1) Mybe I can't change recovery area size because there somewhere area size is limited to 10gb, because I do not understand why always after restart there is 10gb... :(You are missing something when you bounce, Make sure you have started with same SPFILE, You have to load the same PFILE/SPFILE when you performed changes.
    2) How can I schedule a RMAN job to cleanup? Can You give me all necessary steps to do?You can schedule RMAN archive delete jobs.
    check these links
    http://docs.oracle.com/cd/B19306_01/backup.102/b14191/advmaint.htm#i1006414
    http://docs.oracle.com/cd/B28359_01/server.111/b28301/backrest004.htm

  • How do I identify the files that can be deleted from flash recovery area?

    Greetings.
    My RMAN backup failed last night:
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03009: failure of backup command on oem_disk_backup channel at 05/18/2010 23:05:53
    ORA-19504: failed to create file "/opt/oracle/flash/<directory_name_here>/datafile/o1_mf_users_%u_.dbf"
    ORA-27044: unable to write the header block of file
    Linux-x86_64 Error: 28: No space left on deviceWhen I run the following:
    select * from v$flash_recovery_area_usage;I get the following output:
    FILE_TYPE    PERCENT_SPACE_USED PERCENT_SPACE_RECLAIMABLE NUMBER_OF_FILES
    CONTROLFILE                   0                         0               0
    ONLINELOG                     0                         0               0
    ARCHIVELOG                  2.7                       .02              61
    BACKUPPIECE                 .37                         0               1
    IMAGECOPY                 77.58                     44.81              22
    FLASHBACKLOG               3.86                         0             144How do I identify and delete those files taking up the <tt>PERCENT_SPACE_RECLAIMABLE</tt>?
    Thanks,
    Jeff

    You would have to be backing up one big file to encounter a space issue with 34GB free and that much freeable space in your FRA. Does your alert log show any error messages?
    It's possible that based on your CONTROL_FILE_RECORD_KEEP_TIME or other issue(s) that older files are left in your FRA.
    Basically, you can run the following commands and anything older than what is shown in this list can be removed.
    RMAN> list copy;
    RMAN> list backup;
    RMAN> list archivelog all;To be on the safe side, you could rename the older file(s) on the filesystem that don't show in the list above. Then run a CROSSCHECK and LIST EXPIRED in RMAN to ensure it doesn't want one of the files you want to delete. If the LIST EXPIRED doesn't show anything, then it should be safe to delete the file from the filesystem.
    You also may want to ensure a large file wasn't deleted on the filesystem that still has a file handle open for it. lsof can show any of those files.

  • After setting the db to archive log mode what to do?

    Hi All,
    We have a database which is being used as production database since one week and running in NoArchive Log mode. Now i wanted to change that to Archive Log mode because i want to take hot backup using RMAN daily/weekly. My doubt is..after changing the db to Archive Log mode, can i take backup using RMAN (i got a RMAN script to take a hot backup of db)? which will contain all the backup with control files and spfiles? or do i have to do anything before taking hotbackup.
    Thanks,
    Praveen.

    Yes you are fine. BTW, how many archive destinations did you configure.
    Usually it is more than 1 on two different Disks.
    TEST CASE:
    NOARCHIVELOG Database
    Change it ARCHIVELOG
    Take a hot backup and try to restore/recover it.
    STATUS=SUCCES
    Can someone explain this to me please:-
    Ensure DB in noarchivelog mode
    SQL> archive log list
    Database log mode No Archive Mode
    SQL> startup mount;
    SQL> alter database archivelog;
    SQL> alter database open;
    -- DID Not take a COLD BACKUP
    -- Right after switching the mode I am taking hot backup
    RMAN> backup incremental level=0 database ;
    RMAN> backup archivelog all delete all input;
    Nuke the datafiles
    RMAN> SET DBID=1299283748;
    RMAN> restore controlfile from autobackup;
    run
    set until logseq=79 ;
    restore database;
    recover database;
    sql 'alter database open resetlogs';
    Database is opened restored / recovered?
    I totally agree we should take a cold backup right after switching the mode. Can someone explain the above though.
    Message was edited by:
    gopalora

  • Setting the location of HspEventLog.log

    Hi. Can anyone tell me how to change the location of HspEventLog.log? In our Development environment it currently resided at the root of C: which makes no sense at all. I suspect this is set using the configuration utility - correct? We are using Planning 9.2.
    Thanks
    Sean

    jts wrote:
    Sean,
    Trying a stab I had the same problem with planning logs and John told me the path set is in the regedit of your Planning server. In (going by memory) HKEY_Local_Machine/Software/Hyperion/Planning
    In here is two entries for error and out files. You know they are correct if they have a path of C:\
    JTSHi,
    Are you not getting confused with setting the error files for the standard planning web application, this is different than the hspeventlog.log which is created from using the planning desktop.
    It has been a while since I have used 9.2 but maybe it is defined in the planning desktop, the system folder setting?
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • How to change the location of all fotos in the iPhoto library?

    my iPhoto 11 library is stored locally on my macbook.
    however, my fotos (the actualy bits) are stored externally on a NAS box.
    (or in other words: option "Importing: [ ] Copy items to the iPhoto Library" is not checked)
    recently i purchased a timecapsule and i now want to move all fotos from the NAS box to the timecapsule.
    i am looking for a way to batch-change the location of all fotos from let's say "/Volumes/MyNas/..." to "/Volumes/MyTimecapsule/...".
    can this be done? any ideas?
    thank you.
    ps: i know how to deal with xml and .db/.apdb files. so don't be gentle on me ;-)

    Not really unless you search the forums and find the older post describing how to hack the SQLite database to accomplish this
    Or use Aperture which can do this easily
    However if you are using your Time Capsule as a Time Machine bakcup volume it is not a good place to put your photos - if you do you have no backup of them which means that sooner of later you will lsoe them - and sooner or later TM will fill the volume and make it impossible to add photos
    LN

  • Flash recovery area issue. I can not open the database??

    Hi all
    I am using oracle 11.2.0 .1.0 on windows
    when i tried to start the database I got the following error.
    ORA-03113: end-of-file on communication channel
    I clear out all information in Trace file. I cleared out all operating system level audit trails. then i deleted archivelog files using operating system level delete. still my database is not opening???
    I tried to start this using RMAN but got the same error. now i have deleted the files from flash recovery area how can i let oracle system to know that those are deleted and there is enough space. Rman does not execute crosschek commands at mount state of the database?
    Need solution.
    Regards
    MAlik

    malikdba wrote:
    the last option which ask to delete the files. i already have deleted the files at operating system level. now the issue is how to let the system that the space is free in flash recovery area? rman is not running crosscheck command at mount stage of the target database. What steps should i follow now?
    Thanks
    malik
    Are you saying you are getting an error while trying to crosscheck at mount?  Or you simply don't believe it will work?
    oracle:orcl$ rman target /
    Recovery Manager: Release 11.2.0.2.0 - Production on Thu Jul 11 10:52:48 2013
    Copyright (c) 1982, 2009, Oracle and/or its affiliates.  All rights reserved.
    connected to target database (not started)
    RMAN> startup mount;
    Oracle instance started
    database mounted
    Total System Global Area     839282688 bytes
    Fixed Size                     2231128 bytes
    Variable Size                503317672 bytes
    Database Buffers             331350016 bytes
    Redo Buffers                   2383872 bytes
    RMAN> crosscheck archivelog all;
    using target database control file instead of recovery catalog
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: SID=18 device type=DISK
    specification does not match any archived log in the repository
    RMAN>
    A perfectly normal crosscheck at the mount stage

  • How do I change the location of the coldfusion-out.log and coldfusion-error.log files in CF10

    When I change the log location in ColdFusion Administrator it changes the location of most but not all the log files.  I have a requirement from my customer to place all log files on a separate partition on the server.  For ColdFusion 9 I was able to modify the registry settings to change StandardOut and StandardErr for the ColdFusion Jrun service.  This does not appear to the case for ColdFusion 10 which now uses Tomcat 7.
    I tried modifying log4j.properties file and was able to relocate the hibernatesql.log, axis2.log, and esapiconfig.log but not the coldfusion-out.log.
    I am running ColdFusion 10 Enterprise Edition on a 64-bit Windows 2008 Server.

    The location of the rest of the ColdFusion logs can be changed in the ColdFusion Administrator.  Go to the Debugging and Logging section, Logging Settings.  There is a form at the top of the page where you can change the log storage location.
    -Carl V.

  • Changing the location of the Flash Recovery Area

    My flash recovery area is currently on the same disk as the database. The recovery area also has all out backups for the past month. What's steps should I take to change location of the flash recovery area? Do I have to do anything besides changing db_recovery_file_dest? Would I have to update the control files, spfile and so on?
    Thanks in advance,

    you can make the change at pfile or spfile level and stop and restart the database. this should work.

  • How do I stop GoLive from changing the location of my CSScriptLib.js file?

    How do I stop GoLive from changing the location of my CSScriptLib.js file?
    I am making rollovers and want my CSScriptLib.js to be in the same folder as my HTML files.
    Every time I edit the rollovers GoLIve recreates the path of the CSScriptLib.js to file:///Users/xxx/Library/Preferences/Adobe/GoLive/Settings8/JScripts/GlobalScripts/CSScr iptLib.js so it won't work when uploaded. I always need to edit my HTML before uploading. All I want it to say is src="CSScriptLib.js" as the default.

    The site file is a database that keeps track of all your assets (and much more), including the scriptLib file. As soon as the page is saved (when you use the site file and it's open) the link will be change to the correct path that will work on the server.
    If you're not using the site file you might as well use a text editor, since most of GL functionality is gone.

  • How do i stop my itunes from changing the location of my itunes media.  i have it saved on a external HD and it keeps changing back to my local drive with out being told

    how do i stop my itunes from changing the location of my itunes media.  i have it saved on a external HD and it keeps changing back to my local drive with out being told

    No, an external drive will not always be mounted. If the drive goes to sleep, it can unmount, or it may unmount for other reasons. As Chris said, confim that the drive is mounted and active before launching iTunes.
    Regards.

Maybe you are looking for