Remove the flashback logs in EBS envoirnment.

Hi,
In my production database(primary) machine flashback is ON.
So, logs are creating in following directory:
/d01/silprod/SILP/db/apps_st/data/archives/SILP01_SER/flashback
In my physical standby database flashback is OFF.
So, My question is that:
Can I remove the flashback logs from production safely?
Thanks.

Hi,
How to identified that which archive logs no longer needed and can delete, and how to reclaim the archive space?
Is below steps are correct?
Archive location: /d01/silprod/SILP/db/apps_st/data/archives/SILP01_SER/archivelog
Archive files name like: o1_mf_1_894_5jpkly8k_.arc -------------> Sequence#=894
Archive Size occupied:
> du -sh archivelog/ ------------> 2.7G archivelog/
STEP#1:
SQL> SELECT THREAD#, SEQUENCE# FROM V$LOG WHERE STATUS='CURRENT'; -----------> RESULT: THREAD#=1 AND SEQ$= 894
SQL> ALTER SYSTEM ARCHIVE LOG CURRENT;---------------->DONE
SQL> SELECT THREAD#, SEQUENCE# FROM V$LOG WHERE STATUS='CURRENT'; -----------> RESULT: THREAD#=1 AND SEQ$= 895
Confirm the current file have been applied to the standby database with the below query
SQL> SELECT MAX(SEQUENCE#) FROM V$LOG_HISTORY; -----------------> RESULT: THREAD#=1 AND SEQ$= 894
Step#2:(Memory)
> delete unwanted archive log files from disk (rm, del commands)---------> all archives files deleted expected of PROD_1_894.arc
RMAN> crosscheck archivelog all; - marks the controlfile that the archives have been deleted
RMAN> delete expired archivelog all; - deletes the log entries identified above.
But, How to identified that which flashback files no longer needed and can delete, and how to reclaim the flashback space?
Flashback location: /d01/silprod/SILP/db/apps_st/data/archives/SILP01_SER/flashback
Flashback files name like: o1_mf_5jlc8gb0_.flb, o1_mf_5jlcb2bv_.flb etc ------------> how to identified which file(File Name has no sequence#) should I delete?
Flashback Size occupied:
> du -sh flashback/ ------------> 3.5G flashback/

Similar Messages

  • Why the flashback log'size smaller than the archived log ?

    hi, all . why the flashback log'size smaller than the archived log ?

    Lonion wrote:
    hi, all . why the flashback log'size smaller than the archived log ?Both are different.
    Flash logs size depends on parameter DB_FLASHBACK_RETENTION_TARGET , how much you want to keep.
    Archive log files is dumped file of Online redo log files, It can be either size of Online redo log file size or less depending on online redo size when switch occurred.
    Some more information:-
    Flashback log files can be created only under the Flash Recovery Area (that must be configured before enabling the Flashback Database functionality). RVWR creates flashback log files into a directory named “FLASHBACK” under FRA. The size of every generated flashback log file is again under Oracle’s control. According to current Oracle environment – during normal database activity flashback log files have size of 8200192 bytes. It is very close value to the current redo log buffer size. The size of a generated flashback log file can differs during shutdown and startup database activities. Flashback log file sizes can differ during high intensive write activity as well.
    Source:- http://dba-blog.blogspot.in/2006/05/flashback-database-feature.html
    Edited by: CKPT on Jun 14, 2012 7:34 PM

  • Is there anyway i can find and remove the flashback virus because i find the manual instructions too complicated HELP!!!!

    HELP is there anyway i can find and remove the flashback virus because i find the manual instructions too complicated HELP!!!! common the manual instructions are far too complicated for the average user. I just downloaded the SOPHOS anti-virus will that find and remove it

    How deal with FLASHBACK trojan?

  • Does the latest osx update remove the flashback malware

    Does the latest osx update remove the flashback malware?

    From Thomas A. Reed's post:
    There is malware (called Flashback) that has been actively taking advantage of Java vulnerabilities on Macs, installing as a drive-by download with no user interaction required when visiting a malicious web site.  Apple's latest Java update patches these vulnerabilities, though it's still possible for that malware to use social exploits to trick you into installing it.  You would do best to turn off Java in your web browser...  you probably won't miss it at all.
    See:
    http://www.reedcorner.net/news.php?tag=flashback

  • Is it safe to remove the diskutility.log?

    Is just a simple question. My disk utility log has grown to several megabytes so I was wondering if its safe to delete the diskutility.log file? It is found in ~/Library/Logs/...
    Also does this log has an importance after repairing the harddrive permissions?
    Thanks!

    Thanks! I deleted the log and so far so good. Thanks Kappy... Wonder why theres' no correct answer button anyways thanks for your correct answer...

  • How can I remove the crash logs?  There's so many, no more room to write new ones.

    From the system log
    Feb 19, 2012 7:42:21 PM - ReportCrash [255] (Error): Failed to save memory report to /Library/Logs/CrashReporter/LowMemory-2012-02-19-194221.plist using uid: 0 gid: 0, euid: 0 egid: 0. 100 logs already present.
    You eee, every day my ipad ios 5.01 crashes multiple times.  Usually in safari.  But now even atomic browser is starting with the same thing.  What ever happened to apple?

    I always shut down apps. Usually only have safari and settings.  I clear data and history. Hard reboot   Turned off all use of icloud  Etc etc. nothing works.
    I should simply accept this buggy OS?  Wow. Okay. Sure. Youre right. No choice but to.  That seems to be apples intention.  After all, the next big thing is... Next couple weeks right?  
    Whatever happened to apple?

  • Remove the Error log from Order screen

    Hi,
    We are getting error below while order creation from webshop (B2C implementation)
    "No Connection could be made to IPC" This error comes when IPC down. And cleared the error also to IPC stop/start and done the price calculation successfully to using "Update" technique.
    But, still that error log is there in CRMD_ORDER screen in error logs area (red color button). How to clear/remove this error from this screen?
    Please any one help me out on this...
    Thnx,
    Suriya.

    Hi Suriya
    Prakash is right, if you want to delete the error message from the existing doc, please follow waht he said.
    But there is a possibility that you get run-time errors when you edit the same again. The document with error was created with a config in place. Now if you change the config, this will not change the existing docs but will change the documents from now
    As Prakash suggested do the error deletion process in test mode or Sandbox, then see if you get any Runtime errors, otherwise
    I would suggest
    try deleting the one the inputs like item and other stuff on the document. this should take the error off. Please let me if this works,
    Dont forget points

  • I have an iMac running OS 10.4.11. How can I check to see if I have the Flashback Trojan (and remove it, if I have it)? IMy Safari is also crashing frequently. Any suggestions?

    I have an iMac running OS 10.4.11. How can I check to see if I have the Flashback Trojan (and remove it, if I have it)? IMy Safari is also crashing frequently. Any suggestions?

    Hi Barry, is this an Intel iMac, or a PPC iMac?
    Disable Java in your Browser settings, not JavaScript.
    http://support.apple.com/kb/HT5241?viewlocale=en_US
    http://support.google.com/chrome/bin/answer.py?hl=en-GB&answer=142064
    http://support.mozilla.org/en-US/kb/How%20to%20turn%20off%20Java%20applets
    Flashback - Detect and remove the uprising Mac OS X Trojan...
    http://www.mac-and-i.net/2012/04/flashback-detect-and-remove-uprising.html
    In order to avoid detection, the installer will first look for the presence of some antivirus tools and other utilities that might be present on a power user's system, which according to F-Secure include the following:
    /Library/Little Snitch
    /Developer/Applications/Xcode.app/Contents/MacOS/Xcode
    /Applications/VirusBarrier X6.app
    /Applications/iAntiVirus/iAntiVirus.app
    /Applications/avast!.app
    /Applications/ClamXav.app
    /Applications/HTTPScoop.app
    /Applications/Packet Peeper.app
    If these tools are found, then the malware deletes itself in an attempt to prevent detection by those who have the means and capability to do so. Many malware programs use this behavior, as was seen in others such as the Tsunami malware bot.
    http://reviews.cnet.com/8301-13727_7-57410096-263/how-to-remove-the-flashback-ma lware-from-os-x/
    http://x704.net/bbs/viewtopic.php?f=8&t=5844&p=70660#p70660
    The most current flashback removal instructions are F-Secure's Trojan-Downloader:OSX/Flashback.K.
    https://www.securelist.com/en/blog/208193454/Flashfake_Removal_Tool_and_online_c hecking_site
    More bad news...
    https://www.securelist.com/en/blog/208193467/SabPub_Mac_OS_X_Backdoor_Java_Explo its_Targeted_Attacks_and_Possible_APT_link
    Removal for 10.5...
    http://support.apple.com/kb/DL1534

  • DR server flashback error : Unable to allocate flashback log

    Hi,
    I have a Standby Database and the DR log synchronization with Primary Database was interrupted due to below errors:
    Unable to allocate flashback log of 1946 blocks from
    current recovery area of size 2147483648 bytes.
    Recovery Writer (RVWR) is stuck until more space is
    available in the recovery area.
    Unable to write Flashback database log data because the
    recovery area is full, presence of a guaranteed
    restore point and no reusable flashback logs.
    Use ALTER SYSTEM SET db_recovery_file_dest_size command
    to add space. DO NOT manually remove flashback log files
    to create space.
    --> On DR server
    SQL> SELECT DATABASE_ROLE, DB_UNIQUE_NAME INSTANCE, OPEN_MODE PROTECTION_MODE, PROTECTION_LEVEL, SWITCHOVER_STATUS FROM V$DATABASE;
    DATABASE_ROLE INSTANCE PROTECTION PROTECTION_LEVEL
    SWITCHOVER_STATUS
    PHYSICAL STANDBY A80 MOUNTED MAXIMUM PERFORMANCE
    SESSIONS ACTIVE
    SQL> select process, status, thread#, sequence#, block#, blocks from v$managed_standby;
    PROCESS STATUS THREAD# SEQUENCE# BLOCK# BLOCKS
    ARCH CONNECTED 0 0 0 0
    ARCH CONNECTED 0 0 0 0
    MRP0 APPLYING_LOG 1 29118 125049 186723
    RFS IDLE 0 0 0 0
    RFS IDLE 0 0 0 0
    RFS IDLE 0 0 0 0
    6 rows selected.
    --> Alert log
    Sat Mar 17 04:51:00 2012
    RFS[606]: Archived Log: 'L:\ORACLE\A80\ORAARCH\A80ARCH\ARC29222_0681431456.001'
    Primary database is in MAXIMUM PERFORMANCE mode
    Sat Mar 17 05:51:07 2012
    RFS[606]: Archived Log: 'L:\ORACLE\A80\ORAARCH\A80ARCH\ARC29223_0681431456.001'
    Primary database is in MAXIMUM PERFORMANCE mode
    Sat Mar 17 06:51:04 2012
    RFS[606]: Archived Log: 'L:\ORACLE\A80\ORAARCH\A80ARCH\ARC29224_0681431456.001'
    Primary database is in MAXIMUM PERFORMANCE mode
    Sat Mar 17 08:50:40 2012
    RFS[606]: Archived Log: 'L:\ORACLE\A80\ORAARCH\A80ARCH\ARC29225_0681431456.001'
    Sat Mar 17 12:28:30 2012
    ALTER DATABASE RECOVER MANAGED STANDBY DATABASE CANCEL
    I did a "ALTER DATABASE RECOVER MANAGED STANDBY DATABASE CANCEL" to stop the log shipping on DR server but the command is hanging.
    I also tried freeing up the disk space in my flashback drive but I think it won't help as indicated in the error message:
    "DO NOT manually remove flashback log files to create space".
    What is the best way to set the DR server back to normal operation?
    I do not need the flashback logs and will disable the flashback once this is rectified.
    This is Oracle 10.2.0.4 Physical Standby using Oracle Dataguard.
    Thanks a lot!

    <smacking forehead on the table>
    Bloody hell! How the heck I missed that darn "B" ? I guess, time to get some sleep and after that some coffee.Please don't do ;-)
    When knowledge is in extreme level, there is possibilities to miss small and small things some time.
    @OP,
    Here some practice
    sys@ORCL> show parameter db_reco
    NAME                                 TYPE        VALUE
    db_recovery_file_dest                string      C:\Oracle\flash_recovery_area
    db_recovery_file_dest_size           big integer 3852M
    sys@ORCL> alter system set db_recovery_file_dest_size=3900mb scope=both;
    alter system set db_recovery_file_dest_size=3900mb scope=both
    ERROR at line 1:
    ORA-02065: illegal option for ALTER SYSTEM
    sys@ORCL> alter system set db_recovery_file_dest_size=4gb scope=both;
    alter system set db_recovery_file_dest_size=4gb scope=both
    ERROR at line 1:
    ORA-02065: illegal option for ALTER SYSTEM
    sys@ORCL>  alter system set db_recovery_file_dest_size=3900m scope=both;
    System altered.
    sys@ORCL> alter system set db_recovery_file_dest_size=4g scope=both;
    System altered.
    sys@ORCL> show parameter db_reco
    NAME                                 TYPE        VALUE
    db_recovery_file_dest                string      C:\Oracle\flash_recovery_area
    db_recovery_file_dest_size           big integer 4G
    sys@ORCL>

  • How to delete the archive logs.

    Hi,
    I need to delete the archive logs in standby database which has been generated after created the restore point.
    SEQUENCE# APPLIED
    17 YES
    18 YES
    1 NO
    2 NO
    19 YES
    18 YES
    21 YES
    22 YES
    20 YES
    23 YES
    24 YES
    sequence 1,2 has been generated after created the restore point,how can i remove sequence# 1 and 2 from the v$archived_log;
    ways i have tried
    1.dropped the restore point during that time only the flashback logs has been deleted not the archive log
    2.manually tried from rman ,but i was not working.
    please help me out....
    ***points are waiting for you guys****

    Hi,
    I need to delete the archive logs in standby database which has been generated after created the restore point.
    SEQUENCE# APPLIED
    17 YES
    18 YES
    1 NO
    2 NO
    19 YES
    18 YES
    21 YES
    22 YES
    20 YES
    23 YES
    24 YES
    sequence 1,2 has been generated after created the restore point,how can i remove sequence# 1 and 2 from the v$archived_log;
    ways i have tried
    1.dropped the restore point during that time only the flashback logs has been deleted not the archive log
    2.manually tried from rman ,but i was not working.
    please help me out....
    ***points are waiting for you guys****

  • Problem with deleting Flashback logs

    Hi all,
    I configured flashback database on my Oracle10g R2 DB that sits on Win 2003 server.
    When I issued the command to delete the flashback logs I see that the logs are not deleted.
    Please what could be the problem here?
    Regards,
    Creems

    Sorry, I should be clearer.
    My flashback retention target is 1 day - 1440 ... but that doesnt get deleted automatically, ERROR from Oracle so I hear.
    So, I tried to do it manually by putting the DB in mount state and issuing:
    ALTER DATABASE FLASHBACK OFF;
    Yet never get deleted.
    What could the problem be?
    Thanks.
    Creems

  • Is it possible to remove an action log entry from a ticket?

    Hello.
    Is it possible to remove an actoin log entry from a ticket.  We may run into a situation when confidential data has been pasted into the action log.
    Thank you,
    Richard

    Yes, but not through the UI. the easiest way to do this would be with
    SMLets.
    Import-Module SMLets
    $IRClass = Get-scsmclass Workitem.Incident$
    $SRClass = Get-SCSMClass Workitem.ServiceRequest$
    $ActLogRelationshipClass = get-scsmrelationshipclass System.WorkItem.TroubleTicketHasActionLog
    $IR = Get-SCSMObject -Class $IRClass -Filter "Name -eq 'IR21'"
    $ActionLogs = Get-SCSMRelatedObject -SMObject $IR -Relationship $ActLogRelationshipClass
    Foreach ($ActionLog in $ActionLogs) {
    if ( $ActionLog.Description -match "TEST") {
    Remove-SCSMObject $ActionLog -Force -WhatIf
    It should be noted that this will not remove the action log form the data warehouse. there isn't a supported method to edit data in the DW, so you're kinda on your own if you need to remove this data from the historical records

  • Oracle not using space occupied by flashback logs

    Hi,
    oracle 10g R2 10.2.0.1 on RHEL 4 64-bits.
    my db_flashback_retention_target is set to 1440 and my db_recover_file_dest_size is set to 40G.
    flashback logs are occupying about 36G so whenever rman tries to backup the database, it breaks saying it cannot reclaim enough space from the 40G limit.
    when checking the flashback logs,i saw that the DB is keeping 3 day old logs. should it not reclaim the space occupied by these logs and delete them?

    Others have reported similar issues: http://www.wayneadamsconsulting.com/
    >
    One thing that I have not seen the database do, however, is delete reclaimable flashback logs in order to make room for a backup. If there is not enough free space in you FRA for a backup but there is plenty of space used by relcaimable flashback logs, RMAN and the database will not delete flashback logs to free up room in the FRA for the backup. This seems like a fairly large gap in the flashback log functionality, but hopefully Oracle will handle it in a future release.
    >
    See MOS note: Space issue in Flash Recovery Area( FRA ) [ID 829755.1] .
    Note also that 10.2.0.1 is a old 10.2 release and that you could consider upgrading to 10.2.0.4.

  • Is the CALL LOG feature GONE???!?!?!?!?!?

    Someone PLEASE, PLEASE, PLEASE tell me that BB did not remove the CALL LOG feature (that was on the Torch)!  This is HORRIBLE!!!  If I wanted a phone that did not allow me to be productive, I would have activated my iPhone!!! PLEASE BRING THE CALL LOG FEATURE BACK!!!  I might officially HATE the Q10!  

    I wasn't specific enough.  
    On previous BBs there was a call log feature which enabled users to access call logs and forward the call details including whether it was outgoing or incoming call, the telephone number called or calling in, the time of the call, and the duration of the call.   Users were able to add call notes directly into the history of the call (including during the call) and email it or save it.  Unfortunately, it appears that BB has gotten rid of this feature. Why they would do  that is beyond me.     That feature was one of the BEST features for people like myself who need to maintain a written record of calls and contacts.    he proposed workaround that I have found is the Call Notes App which is virtually useless.    
    I'm going back to the BB Torch.  This Q10 is the PITS!.  

  • Reduce flashback log - disable flashback for a table

    Hi,
    We have a table which we use only for logging. This information is not essential but there is a lot (given our scale of data :p ) of data (5.000.000 by day)
    So we have put the table in nologging (reduce redo => archived),
    the insert are /*+ append*/ (reduce undo)
    Now, we want to reduce the flashback logs?
    Is there a way to disable flashback for a given table ?
    thanks
    Nicolas

    Hi,
    first i would use:
    alter table tablename nologging;
    So you won't generate a lot of redo.
    http://download-uk.oracle.com/docs/cd/B19306_01/server.102/b14200/statements_3001.htm#CJAHHIBI
    I'm not sure you can disable flashback at table level.
    You can do that on tbs level.
    Hope this helped..
    Bye
    Acr

Maybe you are looking for

  • HELP! Illustrator CC Stained Glass effect issue

    Hello. I'm relatively new to Illustrator. I'm designing a pair of shorts and have come across a problem. I'm using the stained glass effect to give the shorts a reptile look over a gradient green to black 90 degrees. When I select the stained glass e

  • Standby or Idle application

    I've noticed that on the Motorola ROKR Phone it has iTunes and the way it loads is completely different to any other java application. Does anyone know how to get the java app to load once and then go into standby or idle status until re launched or

  • Use PS 5 can't use on 3 newer pcs. What's equilivant with same layers & photo manipulations as 5.

    I have photoshop 5. I took classes at a local collage over 10 years ago on how to use it, I learned so much. My classmates had a more generic version.  I had the more expensive, high end version compared to the class. I really don't want to lose the

  • My HDR & Photomerge are broken!

    My HDR & Photomerge are broken! Recently the functions for moving multiple images into HDR & Photomerge via Tools and Automate is not working. When I try I get dialog boxs that are incorrect and the software will not allow it. I've update, removed ad

  • Is there available a good BSP tutorial in PDF format?.

    Is there available a good BSP tutorial in PDF format?. I have the Advanced BSP Programming book but am missing a general introduction/tutorial. On another subject, I have to add further details to one of the views in the Interaction center. The view