Deleting the flashback recovery area and the files (Oracle 10g on Solaris 8

Hi,
We have a dev. db which is small about 3 gb in all (crd files). for this I had enabled flashback and also put it in archivelog mode. then the db_recovery_file_dest_size grew to 3 gb. since space is an issue, I turned off the flashback feature. (by the command: ALTER DATABASE FLASHBACK OFF;)
Tomorrow I will also make it into noarchivelog mode. My question is: it is having lots of archived logs (may be 3 gb or more) in the flashback recovey area. What is the correct syntax to delete them? There is a warning in alert log which says that use RMAN delete command but I am not aware of exact syntax.
Thanks
Nirav

You can use variations of delete. (As you say there are many files, incude noprompt)
Once the database goes into noarchivelog mode, the archived redo logs are essentially worthless. They would be useful/necessary if you wanted to restore the database to a point in time prior to going noarchive, but if you don't need that, the two ways you are looking at deleting (depending how you go about it) are at the OS level and within the database (what Oracle knows or remembers about the archived redo logs and where they were sent to via the arch process). The RMAN approach is cleaner, assuming you were using that.
http://download.oracle.com/docs/cd/B19306_01/backup.102/b14192/maint009.htm#sthref776
Delete unnecessary files from the flash recovery area using the RMAN DELETE command. (Note that if you use host operating system commands to delete files, then the database will not be aware of the resulting free space. You can run the RMAN CROSSCHECK command to have RMAN re-check the contents of the flash recovery area and identify expired files, and then use the DELETE EXPIRED command to remove missing files from the RMAN repository.)

Similar Messages

  • LRM -00109:could not open parameter file Oracle 10g in Solaris 10

    Hallo! I have just installed Oracle 10g in Solaris 10.When I logged into sqlplus / as sysdba if found that I was connected to an idle instance. When I tried to startup open the db, the following error appeared
    Connected to an idle instance.
    SQL> startup open;
    ORA-01078: failure in processing system parameters
    LRM-00109: could not open parameter file '/export/home/oracle/product/10.2.0/db_1/dbs/initsolaris.ora'
    My pfile has the name init.ora and not initsolaris.ora.How can I change the settings to make the Oracle database start via pfile init.ora.
    Eventually,I would like the db to read the spfile spfileorcl.ora during the startup.How can I achieve this?
    Thanks

    4joey1 wrote:
    Hallo! I have just installed Oracle 10g in Solaris 10.When I logged into sqlplus / as sysdba if found that I was connected to an idle instance. When I tried to startup open the db, the following error appeared
    Connected to an idle instance.
    SQL> startup open;
    ORA-01078: failure in processing system parameters
    LRM-00109: could not open parameter file '/export/home/oracle/product/10.2.0/db_1/dbs/initsolaris.ora'
    My pfile has the name init.ora and not initsolaris.ora.How can I change the settings to make the Oracle database start via pfile init.ora.
    By default, oracle will look first for a spfile named "spfile<ORACLE_SID>.ora". Lacking that, it will try to find "init<ORACLE_SID>).ora.
    Eventually,I would like the db to read the spfile spfileorcl.ora during the startup.How can I achieve this?
    Once you have started the db (I believe a startup nomount will be sufficient) you can issue CREATE SPFILE ... Details are in the fine SQL Reference manual found at tahiti.oracle.com
    BTW, "open" is the default behavior of "startup", so no need to specify it. A simple "startup" does the same thing.
    Thanks

  • After installing the safari 5.1.7 update when Im on aol and I go to ebay or certain web sites the sign in area and password area is blacked out? Has any one else had this issue and how to you correct it.

    On May 12th 2012 I updated Safari to 5.1.7 on my imac desktop. I also have snow leopard installed.After doing this update when I am on aol and I go to ebay, amazon and a few other sites the sign in area and the password area are blackened out. You could type in the area but not see what you are doing. Has any one else had this problem? Is there a fix?? I spoke to apple support last week and they dont have a clue on how to fix the issue nor does aol.Please help? Thanks.

    Hi..
    From your Safari menu bar click Safari > Preferences then select the Privacy tab.
    Click:  Remove All Website Data
    Now back to the menu bar, click Safari > Empty Cache
    Quit then relaunch Safari.
    Try one of the sites you had trouble accessing...

  • Flashback Recovery area Full in Oracle 10g

    Before the flashback recovery area is full our
    Archive destination is USE_DB_RECOVERY_FILE_DEST
    Our DB_RECOVERY_FILE_DEST =/S01/app/oracle/flash_recovery_area/
    We got the Error:- ORA-00257
    Inorder to resolve the error we changed the log_archive_dest_1='/S01/app/oracle/db/archive'
    now the archive destination is changed to /S01/app/oracle/db/archive
    Archive logs getting generated in the above directory from now onwards.
    In the mean time i moved all the files from /S01/app/oracle/flash_recovery_area/
    to diff directory.
    But the below query gives still the space used is 3935.27 MB, where physically there are no files in /S01/app/oracle/flash_recovery_area/
    When will these values in the query update. Is there anything i have to do to reclaim the space 3935.27 MB (in the query below). Now after reclaiming the space, i want to use the Flash Back Recovery area (/S01/app/oracle/flash_recovery_area/) for the archive logs, like a switchback to where we are initially. How to reclaim the space ? How to switch back archive logs to Flash Back Recovery Area (/S01/app/oracle/flash_recovery_area/).
    Please the below report for the above conversation.
    Sat May 20 page 1
    Flash Recovery Area Status
    Space Space Reclm
    Limit Used Space
    File Name (MB) (MB) (MB) Files
    /S01/app/oracle/flash_recovery_a 4000.00 3935.27 3935.27 90
    rea
    Experts share your experience. Appreciate your reply in this regard..........
    Thanks

    In UNIX style environments you often don't see reclaimed space until the database is restarted. Backup the database and archivelogs and the flashback area shoudl take care of itself in future. If not, you can always delete obsolete archivelogs manually by using the DELETE command in RMAN.
    To cleanup now, first you must tell RMAN that the files you've moved are no longer available:
    crosscheck archivelog all;
    You can then delete the obsolete archivelogs using the following RMAN command:
    delete obsolete;
    I'm assuming you use RMAN for all your backups :)
    Cheers
    Tim...

  • When I delete com.apple.audio.SystemSettings.plist my audio/sound problems are solved. However when the file is replaced with another file, the sound is crappy and the quality is reduced. Can you please help me?

    When I delete com.apple.audio.SystemSettings.plist my audio/sound problems are solved. However when the file is replaced with another file, the sound is crappy and the quality is reduced. Can anyone please help me?
    Sincerely,
    Eric

    Run this when you have the problem and post the results here.
    EtreCheck
    This will tell us what is loaded

  • I somehow erased everything (all important dates) off my ical on my mac and I'm afraid that if I connect my iphone that it will do the same there.  Will my iphone sync the dates that are on the phone and add them to the ical?  Or will it delete everything

    I somehow erased everything (all important dates) off my ical on my mac and I'm afraid that if I connect my iphone that it will do the same there.  Will my iphone sync the dates that are on the phone and add them to the ical?  Or will it delete everything

    Contacts are designed to be synced to a supported application on the computer or a cloud service.
    Pictures taken with the device are designed to regularly be copied off the device to a computer as would be done with any digital camera.
    If you have failed to use the device as designed it may be too late to recovery anything.
    Is the device regularly backed up to a computer via iTunes?  If so, the most recent backup (when restored to a replacement iOS device) should contain all contacts and pictures as of when the backup was created.

  • Hi I shoot on a canon 5d mk11 and I record my audio on an external device yet when I open up my footage in final cut pro x I can't find my external audio files only the ones attached to the clip which are off the camera mic

    I shoot on a canon 5d mk11 and I record my audio on an external device yet when I open up my footage in final cut pro x I can't find my external audio files only the ones attached to the clip which are off the camera mic

    What device?
    What format?
    How are you importing it?
    Can you find the external audio with Finder?
    Where is your destination file when you import it?
    Andy

  • I purchased the Cars and Cars 2 bundle using my iPad.  When I loged in with iTunes, the movies started to download to my laptop but somehow, I deleted Cars but Cars 2 and the iTunes extras for both are still there.  How do I get Cars to download again?

    I purchased the Cars and Cars 2 bundle using my iPad 2.  When I loged in with iTunes, the movies started to download to my laptop but somehow, I deleted Cars but Cars 2 and the iTunes extras for both are still there.  How do I get Cars to download again?  Thank you for your help.

    By the way, I just purchased this movie last night.  I somehow deleted Cars while the other parts of the bundle were still downloading.  I tried looking into iClod but I was unable to find a link to download the movie again.

  • Retention policy for archivelogs in the flash recovery area

    I am using the flash recovery area for all my backup files (archive logs, data and control files). I want to use the redundancy retention policy because it is easy to calculate the space requirement. However, I am not clear how the retention policy applies to archive logs.
    Say I set the retention policy to be "keeping 3 backups". How does it affect the archive logs? Will archive logs in the flash recovery area be deleted automatically or I need to do it manually. If they are deleted automatically just like dataset files, what is the "retention policy" for them? I do not have a tape device so all archive logs are going to be stay in disk.
    Thanks.

    I am using the flash recovery area for all my backup
    files (archive logs, data and control files). I want
    to use the redundancy retention policy because it is
    easy to calculate the space requirement. However, I
    am not clear how the retention policy applies to
    archive logs.
    RMAN> show retention policy
    2> ;
    RMAN configuration parameters are:
    CONFIGURE RETENTION POLICY TO REDUNDANCY 2;
    RMAN> report obsolete
    2> ;
    RMAN retention policy will be applied to the command
    RMAN retention policy is set to redundancy 2
    no obsolete backups found
    RMAN> list backup
    2> ;
    RMAN>AS documentation says
    "Besides affecting datafile and control file backups, the retention policy affects archived logs and archived log backups.
    First, RMAN decides which datafile and control file backups are obsolete. Then, RMAN considers as obsolete all archived
    log backups that are older than the oldest datafile or control file backup that must be retained."
    Now i connect to SQL and create two big table for filling the redo log file and then get it archived.Please
    consider it here that i am getting archived before any taking backup i.e backup database in order to make
    archive older then the oldest datafile.
    SQL> show parameter control_file_record_keep_time
    NAME                                 TYPE        VALUE
    control_file_record_keep_time        integer     7
    SQL> create table a1 as select * from all_objects
      2  /
    Table created.
    SQL> create table a2 as select * from all_objects
      2  /
    Table created.
    C:\>dir C:\oracle\product\10.1.0\flash_recovery_area\ORCL\ARCHIVELOG\2008_03_17
    Volume in drive C is khurram
    Volume Serial Number is F49D-FF2B
    Directory of C:\oracle\product\10.1.0\flash_recovery_area\ORCL\ARCHIVELOG\2008_03_17
    03/17/2008  03:44 PM    <DIR>          .
    03/17/2008  03:44 PM    <DIR>          ..
    03/17/2008  03:44 PM         9,750,528 O1_MF_1_15_3XWLVK6T_.ARC
                   1 File(s)      9,750,528 bytes
                   2 Dir(s)  62,714,875,904 bytes free
    Now i take backup
    RMAN> backup database
    2> ;
    Starting backup at 17-MAR-08
    using channel ORA_DISK_1
    RMAN> report obsolete
    2> ;
    RMAN retention policy will be applied to the command
    RMAN retention policy is set to redundancy 2
    no obsolete backups found
    RMAN> backup database
    2> ;
    Starting backup at 17-MAR-08
    using channel ORA_DISK_1
    RMAN> report obsolete
    2> ;
    RMAN retention policy will be applied to the command
    RMAN retention policy is set to redundancy 2
    Report of obsolete backups and copies
    Type                 Key    Completion Time    Filename/Handle
    Archive Log          402    17-MAR-08          C:\ORACLE\PRODUCT\10.1.0\FLASH_RE
    COVERY_AREA\ORCL\ARCHIVELOG\2008_03_17\O1_MF_1_15_3XWLVK6T_.ARCYou can see the obsolete archived files which is the older then the oldest file which has been obsolete.It also
    does'nt make sense to keep the archived log files which is older then the oldest file cause it will no longer
    be useful for recovery process.
    now back to pavillion
    RMAN> delete obsolete
    2> ;
    RMAN retention policy will be applied to the command
    RMAN retention policy is set to redundancy 2
    using channel ORA_DISK_1
    Deleting the following obsolete backups and copies:
    Type                 Key    Completion Time    Filename/Handle
    Archive Log          402    17-MAR-08          C:\ORACLE\PRODUCT\10.1.0\FLASH_RE
    COVERY_AREA\ORCL\ARCHIVELOG\2008_03_17\O1_MF_1_15_3XWLVK6T_.ARC
    Do you really want to delete the above objects (enter YES or NO)? yes
    deleted archive log
    archive log filename=C:\ORACLE\PRODUCT\10.1.0\FLASH_RECOVERY_AREA\ORCL\ARCHIVELO
    G\2008_03_17\O1_MF_1_15_3XWLVK6T_.ARC recid=402 stamp=649611842
    Deleted 1 objects
    RMAN> delete backup
    2> ;
    using channel ORA_DISK_1
    RMAN> list backup
    2> ;
    C:\>dir C:\oracle\product\10.1.0\flash_recovery_area\ORCL\ARCHIVELOG\2008_03_17
    Volume in drive C is khurram
    Volume Serial Number is F49D-FF2B
    Directory of C:\oracle\product\10.1.0\flash_recovery_area\ORCL\ARCHIVELOG\2008_
    03_17
    03/17/2008  03:59 PM    <DIR>          .
    03/17/2008  03:59 PM    <DIR>          ..
                   0 File(s)              0 bytes
                   2 Dir(s)  62,724,440,064 bytes freenow this time what i did i created the archived log files after first backup in order to not to make it older
    then the oldest datafile backup.
    RMAN> backup database
    2> ;
    Starting backup at 17-MAR-08
    using channel ORA_DISK_1
    RMAN> report obsolete
    2> ;
    RMAN retention policy will be applied to the command
    RMAN retention policy is set to redundancy 2
    no obsolete backups foundnow i come to at SQL and make redo log file filled by creating 2 big tables in order to get it archived
    SQL> create table a3 as select * from all_objects
      2  /
    Table created.
    SQL> create table a4 as select * from all_objects
      2  /
    Table created.
    C:\>dir C:\oracle\product\10.1.0\flash_recovery_area\ORCL\ARCHIVELOG\2008_03_17
    Volume in drive C is khurram
    Volume Serial Number is F49D-FF2B
    Directory of C:\oracle\product\10.1.0\flash_recovery_area\ORCL\ARCHIVELOG\2008_
    03_17
    03/17/2008  04:09 PM    <DIR>          .
    03/17/2008  04:09 PM    <DIR>          ..
    03/17/2008  04:09 PM         9,751,552 O1_MF_1_16_3XWNCGRS_.ARC
                   1 File(s)      9,751,552 bytes
                   2 Dir(s)  62,563,205,120 bytes free
    RMAN> backup database
    2> ;
    Starting backup at 17-MAR-08
    using channel ORA_DISK_1
    channel ORA_DISK_1: starting compressed full datafile backupset
    channel ORA_DISK_1: specifying datafile(s) in backupset
    RMAN> report obsolete
    2> ;
    RMAN retention policy will be applied to the command
    RMAN retention policy is set to redundancy 2
    no obsolete backups foundYou can see no archived logs get obsolete yet cause the archivelog O1_MF_1_16_3XWNCGRS_.ARC
    is not older then oldest datafile backup.
    But this archivelog file will get obsolete if its beyond the retention policy,lest see how ,just take one more
    backup ,as i have already taken two time backup and the moment i go to take third backup it will cross ours
    retetnion policy from the period of 2.
    RMAN> backup database
    2> ;
    RMAN> report obsolete
    2> ;
    RMAN retention policy will be applied to the command
    RMAN retention policy is set to redundancy 2
    Report of obsolete backups and copies
    Type                 Key    Completion Time    Filename/Handle
    Backup Set           240    17-MAR-08
      Backup Piece       231    17-MAR-08          C:\ORACLE\PRODUCT\10.1.0\FLASH_RE
    COVERY_AREA\ORCL\BACKUPSET\2008_03_17\O1_MF_NNNDF_TAG20080317T160604_3XWN4WTB_.B
    KP
    Backup Set           241    17-MAR-08
      Backup Piece       232    17-MAR-08          C:\ORACLE\PRODUCT\10.1.0\FLASH_RE
    COVERY_AREA\ORCL\BACKUPSET\2008_03_17\O1_MF_NCSNF_TAG20080317T160604_3XWN6Z95_.B
    KP
    Archive Log          403    17-MAR-08          C:\ORACLE\PRODUCT\10.1.0\FLASH_RE
    COVERY_AREA\ORCL\ARCHIVELOG\2008_03_17\O1_MF_1_16_3XWNCGRS_.ARCKhurram

  • 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.

  • I am trying to download a variety of files and when it is finished, the Mac freezes up and the task bar continues to blink on and off. I have to go into Firefox and actually quit the application to continue. Any help is very much appreciated

    I am trying to download a variety of files and when it is finished, the Mac freezes up and the task bar continue to blink on and off.
    I have to go into Firefox and actually quit the application to continue. Any help is very much appreciated.

    are you backing up files, or doing a Time machine backup, either way, the Time machine will STOP when finished and show "last backup at XXXXXX"  meaning its done...... OR if when transferring files, it will show a progress bar on your desktop and vanish when files are copied.
    Open up the Hitachi drive (your G drive is made by Hitachi, and the best made by the way).....and see if the files are there.
    a MORE VISUAL way is to open the hard drive file, and drag and drop files INTO the Gdrive and you can see them visually be copied there as you do it.
    To see your HD on your desktop GOTO  FINDER......PREFERENCES....then GENERAL TAB.........check the box marked HARD DRIVES.........then your Gdrive will appear on your desktop........open it from there,  and DRAG and drop files from anywhere INTO the Gdrive....... easy visual way to see the files being copied into the Gdrive.

  • My iPhone will not turn on, when I plug it into my computer and load up iTunes its in recovery mode and the only option is to restore my device to factory settings. I have no back up of my phone I've also tried the home/sleep button thing but nothing

    My iPhone 4 will not turn on, when I plug it into my computer and load up iTunes its in recovery mode and the only option is to restore my device to factory settings, I have no back up of my phone I've also tried the home/sleep button thing but nothing, I have literally done every method I was told, I checked for water damage and that's fine. I don't want to restore my phone or buy a new one or pay for repairs because that's wasting money when it could be a simple way to fix it. And yes, I've also tried charging it and turning it in. I really need some help with my phone

    That does happen.  It depends on how hard the server is being hit, as well as the connection speed of your system.  If you are on a windows system, you will want to disable any antivirus or firewall software during the download.

  • I'm on a windows laptop using iTunes sharing through the family to connect with Apple TV. After choosing the folder of photos to be shared and displayed on the appletv and when I choose to show on screen, they are not shown in the order they are in the or

    I'm on a windows laptop using iTunes sharing through the family to connect with Apple TV.
    After choosing the folder of photos to be shared and displayed on the appletv and when I choose to show on screen, they are not shown in the order they are in the original folder.
    How to pair show in a certain order, for example, sorted by name.
    grateful
    Julio Cesar

    Not that I'm aware of. You just export JPEG copies to a folder that you can point iTunes to. For instance, I have created a folder in my Pictures folder called Apple TV. And within that folder I have other folders of pictures that I can choose from in iTunes to share with Apple TV. But there doesn't seem to be any way to share a Lightroom slideshow. If you have laid to create a video file that would probably work. Apple TV is a little clunky in my opinion. Some things are a little more difficult to do now than they were a while back. I probably haven't provided you with much help, but just keep experimenting and I think you will figure it out.

  • I am unable to delete music from my iPhone5 either directly or via PC.  On the iPhone the tracks disappear but the phone remains full and the data is still visible on the PC.  I am unable to manipulate the data in any way on the PC.

    I am unable to delete music from my iPhone5 either directly or via PC.  On the iPhone the tracks disappear when swiping left and deleting but the phone remains full and the data is still visible on the PC. The music was installed on the phone from the backup of a previous model but with the addition of new tracks I am now unable to add more or update to the next operating system as the phone is full.  On my PC the music is still there and but the neither the delete function or any form of sorting/management on the music files is functional. Other Apple products work OK including previous phone, ipad.ipods etc Any advice/help available to get past this would be appreciated.

    I think it is 7.1.1 - there was another update today which I've uploaded but it didn't make any difference. It's just the music libary on the 5 that's causing me problems.

  • TS1702 On my iPad 2 the mail app opens and the page icons are there but no mail. I can access my mail in other ways so I know mail is being received.

    On my iPad2 the mail app opens and the page icons are there but no messages are shown. I know mail is being sent as I can access it in other ways plus the envelope icon on my homepage continues to show the number of messages received.
    I have rebooted twice now but cannot think of anything else to do
    Help please

    Go to Settings>Mail the account and turn the account off and then back on
    Next delete the account from the iPad and reenter the settings.

Maybe you are looking for

  • Data is not loading to cube from DSO

    Hi experts, I loaded data to DSO. But, the problem is when i am trying to load the same to cube by using DTP there is no added records. All records from DSO are transferred but 0 added records. The mapping in the transformation is direct mapping no r

  • HT4884 java for 10.6.8 is not working

    my iMac says all software is up to date but websites that need java still say that i need to update to the latest version of java.

  • Time Machine couldn't complete

    Hi, I have recently bought a 2TB Seagate HDD. It appears on my desktop fine, I have Formated it to Mac OS Extended (Journaled). I Click on Use as Time Machine Backup Disk it starts cleaning the disk and then after while I get an error Pop-Up "Time Ma

  • Memory Issue ---STORAGE_PARAMETERS_WRONG_SET

    Hi, I have an Internal table with 63683 records and when do the below operation   LOOP AT <table_data> ASSIGNING <table_line_data>.     CLEAR <data_line>.     MOVE-CORRESPONDING <table_line_data> TO <data_line>.     APPEND <data_line> TO <data>.   EN

  • Calendar sync version 1.1.4 w/ Itunes 7.7

    I upgraded to the new iTunes but have not upgraded my iPhone to version 2.0. I keep getting an error when syncing my calendar to Outlook that says "cannot sync calendar iTunes encountered an error when merging records". It gives me no opportunity to