Enable flashback database

Could anyone explain me what is archive mode, and how to do it?
I tried to enable the Flashback Database in oracle 10g, or maybe you all can guide me how to enable flashback oracle.

user10316225 wrote:
Let oracle docs be your friend,
http://download.oracle.com/docs/cd/E11882_01/server.112/e10595/archredo003.htm#i1106237
guess this link is for 11g. still there shouldnt be any change in the procedure i guess.No that's deliberately given for 11g as OP didn't mention any db version in the first line. For 2nd line, because 10g was mentioned that's why I gave 10g specific doc. You are correct though that the procedure is exactly same for both 10/11g to put a database in archivelog and in general as well that what is Archive log mode.
Aman....

Similar Messages

  • A new question on how to Enable Flashback Database on the standby database?

    Best Practice document said:
    Enable Flashback Database on the standby database to minimize downtime for logical corruptions.
    I would like to know where to find document or anybody already had experience for this topic?
    Also I would like to know what is the best practice for backup/recovery of the Physcial standby database?
    Thanks in advance.

    Hello;
    Just an opinion but I like the book "Oracle Data Guard 11g Handbook" as both the document and the answers to the second question.
    Chapter 12 covers the A to Z of RMAN with Data Guard.
    This book sold me on Flashback since Flashback allows a former Primary database to be reinstated after a failover operation with being restored ( provided sufficient flashback logs are available)
    My own experience is I tried a failover test without it and trash my test Primary.
    I did a simple failover test a few weeks ago, here are my notes.
    http://www.visi.com/~mseberg/Data_Guard_Failover_Test_using_SQL.pdf
    Best Regards
    mseberg

  • Cannot enable flashback database??

    I am using 10gR2 10.2.0.1
    Under EM Home: it shows under " High Availability ":
    Last Backup Apr 14, 2007 8:03:33 PM
    Usable Flash Recovery Area (%) 92.35
    Flashback Logging Disabled
    When I get to the "recovery settings", I have make sure I have turned on Archivelogmode, however, the "enable flashback database" section was missing.
    What's wrong about my database settings?
    I have tried to explicitly do the standard code and have got the following errors:
    SQL> SHUTDOWN IMMEDIATE;
    SQL>STARTUP MOUNT EXCLUSIVE;
    //report: obsolete/deprecated parameter specified"
    SQL> ALTER SYSTEM SET DB_FLASHBACK_RETENTION_TARGET=2800 SCOPE=BOTH;
    //no error
    SQL>ALTER DATABASE FLASHBACK ON;
    //error: ORA-00439: feature not enabled, flashback database
    Message was edited by:
    gilbert.lai

    Dear Satish,
    The results of v$version:
    BANNER
    Oracle Database 10g Release 10.2.0.1.0 - Production
    PL/SQL Release 10.2.0.1.0 - Production
    CORE 10.2.0.1.0 Production
    TNS for 32-bit Windows: Version 10.2.0.1.0 - Production
    NLSRTL Version 10.2.0.1.0 - Production
    The results of v$option:
    PARAMETER VALUE
    Partitioning FALSE
    Objects TRUE
    Real Application Clusters FALSE
    Advanced replication FALSE
    Bit-mapped indexes FALSE
    Connection multiplexing TRUE
    Connection pooling TRUE
    Database queuing TRUE
    Incremental backup and recovery TRUE
    Instead-of triggers TRUE
    Parallel backup and recovery FALSE
    Parallel execution FALSE
    Parallel load TRUE
    Point-in-time tablespace recovery FALSE
    Fine-grained access control FALSE
    Proxy authentication/authorization TRUE
    Change Data Capture FALSE
    Plan Stability TRUE
    Online Index Build FALSE
    Coalesce Index FALSE
    Managed Standby FALSE
    Materialized view rewrite FALSE
    Materialized view warehouse refresh FALSE
    Database resource manager FALSE
    Spatial FALSE
    Visual Information Retrieval FALSE
    Export transportable tablespaces FALSE
    Transparent Application Failover TRUE
    Fast-Start Fault Recovery FALSE
    Sample Scan TRUE
    Duplexed backups FALSE
    Java TRUE
    OLAP Window Functions TRUE
    Block Media Recovery FALSE
    Fine-grained Auditing FALSE
    Application Role FALSE
    Enterprise User Security FALSE
    Oracle Data Guard FALSE
    Oracle Label Security FALSE
    OLAP FALSE
    Table compression FALSE
    Join index FALSE
    Trial Recovery FALSE
    Data Mining FALSE
    Online Redefinition FALSE
    Streams Capture FALSE
    File Mapping FALSE
    Block Change Tracking FALSE
    Flashback Table FALSE
    Flashback Database FALSE
    Data Mining Scoring Engine FALSE
    Transparent Data Encryption FALSE
    Backup Encryption FALSE
    Unused Block Compression FALSE
    The strange thing is that whenever I issued
    startup force;
    or
    startup mount exclusive;
    with SYSDBA privileges, it reports: "obsolete / deprecate parameters specified ", is there sth wrong with the init parameters?

  • Enabling flashback database adds unsupported spfile parameter

    After enabling the flashback database I saw a new policy violation upon restart.
    awrflush_threshold_metrics was set to true and added to the spfile. When I look that up, I get various dire warnings about using it.
    If it's not supported, why does Oracle do this by default upon enabling the flashback database? And, is it necessary for the flashback database to work, or can I remove it?

    What's your OS and DB versions?
    Since 10g R2 this parameter Enables/Disables Flushing AWR Workload Metrics.
    You should not set this hidden parameter unless directed by Oracle Support. All parameters that start with underscore (_) are considered internal and unsupported, which means that only Oracle is authorized to set them.
    ~ Madrid

  • Trying to enable flashback database on 11g Linux platform database

    Hello,
    SQL> ALTER DATABASE FLASHBACK ON;
    ALTER DATABASE FLASHBACK ON
    ERROR at line 1:
    ORA-38759: Database must be mounted by only one instance and not open
    Can any one help understand why I am getting this error while I have only one instance open?
    Thanks
    Alain

    As Hemant asked, what's the status of the db, is it mounted or open? Issue,
    select status from V$instance This would show the status to you. If it's open , you must bring it to the mount stage with a clean shutdown and then retry.
    HTH
    Aman....

  • Using Flashback Database on 11g

    hi everyone,
    My 11g db is size 50 GB on a very strong Windows server.
    No performance problems whatsoever.
    If I enable Flashback Database logging am I likely to notice any performance degradation? The data is not really heaviily changed.
    What about disk space - does it use the existing redo/archive logs or does it create different logs for the flashback feature?
    Thanks for your opinions.
    John

    user629010 wrote:
    hi everyone,
    My 11g db is size 50 GB on a very strong Windows server.
    No performance problems whatsoever.
    If I enable Flashback Database logging am I likely to notice any performance degradation? The data is not really heaviily changed.Even if the data is not heavily changed, with the internal changes happening, there would be some activity always generating Redo/Undo. You would want to check the working of the RVWR process to see any possible waits over it. In addition to this, if the speed of the writing of RVWR is not good enough to write, you would see the contention on the Undo tablespace as it won't be freed as long as the corresponding writes are not saved by RVWR.
    >
    What about disk space - does it use the existing redo/archive logs or does it create different logs for the flashback feature?Flashback database uses *.flb* files which , if I remember correctly ,grow in 8mb of chunks. FLasback database does not uses the existing redo logs. Yes, it does uses the archived logs in addition to the FLB logs. So before you think to use this featuture, you do want to check the retention period of the logs , also the disk space required to manage that much retention period.
    HTH
    Aman....
    Thanks for your opinions.
    John

  • Unable to do flashback database!!

    Hi all,
    I have enabled flashback database and created a restore point with guaranteed flashback database so that i can do a flashback database. When i do a flashback database, its says it needs archivelogs to do recovery. The flashback log usually will have all modified data in a flashback log files to use it for flashbacking a database. why its asking for archivelogs when all the modified data is present in flashback log itself? kindly clarify me.
    Regards,
    Pradeep. V

    Hi,
    Flashback database required the Archive log files.
    "Flashback Database is similar to conventional point-in-time recovery in its effects. It enables you to return a database to its state at a time in the recent past. Flashback Database is much faster than point-in-time recovery because it does not require restoring datafiles from backup and requires applying fewer changes from the archived redo logs."
    "No file in the fast recovery area is eligible for deletion if it is required to satisfy a guaranteed restore point. However, archived redo logs required to satisfy a guaranteed restore point may be deleted after they are backed up to disk or tape. When you use the RMAN FLASHBACK DATABASE command, if the archived redo logs required to satisfy a specified guaranteed restore point are not available in the fast recovery area, then they are restored from the backups."
    Ref Doc:Using Flashback Database and Restore Points
    HTH

  • Flashback database check box isn't available

    Hi all, <br>
    I am using Oracle Database Control 10g R2 for Win 32-bit.<br>
    I tried to use the Recovery Settings lin on the Maintenance tabbed page to enable Flashback Database. As far as I know, I should see there a check box to enable the Flashback Database. Unluckily, I don't see it there.<br>
    I logged on as SYS and the ARCHIVEMODE is enabled.<br>
    Thanks in advance.<br>

    Thanks for your reply.<br>
    Just one note. How come it is stated in the Oracle Installer that Personal Edition is full compatible with Enterprise Edition?

  • Why Database should be in mount stage for enable Flashback

    Oracle 11.1.0.6.0
    Windows
    Why database should be in mount stage for enabling flashback feature but we can disable this feature even in Open mode?
    Kindly share your inputs .
    Thanks,
    Alok

    >
    As per doc this is prerequisites that database should be in mount mode to enable flashback but we can disable flashback even in open mode.
    I would like to know the concept behind this.
    >
    Only Oracle knows why and why, for 11g, you can now have the database open. Any 'guesses' would only be guesses.
    You can get some possible clues from the DBA guide section for 10g 'Starting Up and Shutting Down' the database.
    http://docs.oracle.com/cd/B19306_01/server.102/b14231/start.htm
    Traditionally MOUNT mode (database closed) is used for administrative activities by the DBA that need to be done either when there is no user activity that might conflict with them.
    >
    Starting Up an Instance
    •Start the instance and mount the database, but leave it closed. This state allows for certain DBA activities, but does not allow general access to the database.
    >
    Or this from the same doc a little later on
    >
    Starting an Instance and Mounting a Database
    You can start an instance and mount a database without opening it, allowing you to perform specific maintenance operations. For example, the database must be mounted but not open during the following tasks:
    •Enabling and disabling redo log archiving options. For more information, please refer to Chapter 7, "Managing Archived Redo Logs".
    •Performing full database recovery. For more information, please refer to Oracle Database Backup and Recovery Basics
    The following command starts an instance and mounts the database, but leaves the database closed:
    STARTUP MOUNT
    >
    Perhaps part of the flashback enable process required exclusive access to ALL tablespaces or datafiles; meaning you can't have users modifying them.
    Perhaps the enable process for 10g needed to perform simultaneous updates to all datafile headers, the controlfiles and undo or cache or data dictionary entries; meaning you can't have users getting in the way.
    Dont' know.

  • Enabling Flashback

    Hi,
    when I enable flashback using the following -
    define the FRA ( db_recovery_file_dest_size and db_recovery_file_dest )
    ensure the DB is in archive log mode
    set the flashback_rentention_target
    alter database flashback on;
    what exactly am I enabling ?
    Is it the underlying requirements for all the flashback tools ( eg flashback query, table, database ) ?
    What about flashback table drop ?
    I have a database that does not have the FRA defined and has not enabled flashback, yet I am able to issue
    flashback table <name> to before drop;
    why can I do this if flashback is not enabled ?

    I think you are enabling the flashback logs, which allow you to issue the 'flashback database' command. Flashback Drop uses the recycle bin. The other ones use UNDO data.
    Edited by: marcusrangel on Feb 10, 2012 2:37 PM

  • IF Auto Update Statistics ENABLED in Database Design, Why we need to Update Statistics as a maintenance plan

    Hi Experts,
    IF Auto Update Statistics ENABLED in Database Design, Why we need to Update Statistics as a maintenance plan for Daily/weekly??
    Vinai Kumar Gandla

    Hi Vikki,
    Many systems rely solely on SQL Server to update statistics automatically(AUTO UPDATE STATISTICS enabled), however, based on my research, large tables, tables with uneven data distributions, tables with ever-increasing keys and tables that have significant
    changes in distribution often require manual statistics updates as the following explanation.
    1.If a table is very big, then waiting for 20% of rows to change before SQL Server automatically updates the statistics could mean that millions of rows are modified, added or removed before it happens. Depending on the workload patterns and the data,
    this could mean the optimizer is choosing a substandard execution plans long before SQL Server reaches the threshold where it invalidates statistics for a table and starts to update them automatically. In such cases, you might consider updating statistics
    manually for those tables on a defined schedule (while leaving AUTO UPDATE STATISTICS enabled so that SQL Server continues to maintain statistics for other tables).
    2.In cases where you know data distribution in a column is "skewed", it may be necessary to update statistics manually with a full sample, or create a set of filtered statistics in order to generate query plans of good quality. Remember,
    however, that sampling with FULLSCAN can be costly for larger tables, and must be done so as not to affect production performance.
    3.It is quite common to see an ascending key, such as an IDENTITY or date/time data types, used as the leading column in an index. In such cases, the statistic for the key rarely matches the actual data, unless we update the Statistic manually after
    every insert.
    So in the case above, we could perform manual statistics updates by
    creating a maintenance plan that will run the UPDATE STATISTICS command, and update statistics on a regular schedule. For more information about the process, please refer to the article:
    https://www.simple-talk.com/sql/performance/managing-sql-server-statistics/
    Regards,
    Michelle Li

  • Use of Flashback Database in Data guard environments

    11.2.0.3/RHEL 5.8
    I've come across several docs which talk about configuring FLASHBACK DATABASE in dataguard environments. We have several
    Physical standby DBs (Single Instance & RAC) running in our shop.I would like to know two or three major(common) use of FLASHBACK DATABASE in data guard environments.
    I understood one use mentioned in the below URL ie. recovering from a logical mistake
    http://uhesse.com/2010/08/06/using-flashback-in-a-data-guard-environment/
    I would like to know what are the other major/common use of Flashback Database feauture in DataGuard environment

    A couple of other uses:
    1) You can use flashback to test your DR. So you can activate your standby. Test application/network connectivity and functionality on your DR site and when done revert this database back to a physical standby. You do however have to ensure that this is allowed in your environment. In some places I have worked this would be a big no no as there were zero data loss requirements. However some companies will allow this as long as the standby is back in place within a certain time period.
    2) In the case that you have to do a failover for whatever reason, but then what was the primary site becomes available, you can flashback what was your primary to make it the standby rather than re-instatiating the database from scratch.
    Eg. You have a power outage at your primary site so you perform a failover and your standby becomes the primary. Once what was your primary site is back online, you can convert your previous primary into a standby by doing a full back/restore (or whatever method you choose) to recreate your standby again. However you also have the option of using flashback on this database and then convert it into a standby as this would potentially be quicker than re-instantiating the standby.

  • Can I use flashback database to flashback a pluggable database?

    Hi All,
    I created a container database and then created a pluggable database.
    In the pluggable 12.1 datbase, I loaded the user data.
    I performed the below
    sqlplus / as sysdba;
    create restore point CLEAN_DB guarantee flashback database;
    And I performed the transactions on the pdb.
    Now my intention is to restore to the restore point CLEAN_DB as created from the above step.
    If I perform the below, will it restore my pdb to the initial state?
    flashback database to restore point CLEAN_DB;
    Regards,
    Kamal.

    Hi,
    You cannot use FLASHBACK DATABASE for pluggable database.
    Flashback query/versions queryis UNDO based and work in PDB’s
    Flashback transaction query/flashback transactionis UNDO and REDO based and work in PDB’s
    Flashback data archiveUNDO gernerated archives
    Flashback table
    before drop –> Rename segment name of recylebin, which is based on UNDO, work in PDB’s
    flashback table to –> is UNDO based, work in PDB’s
    Flashback databasedoesn’t work in PDB’s:
    RMAN> flashback pluggable database prmdb01 to time "to_date('23:00 20-11-2013','hh24:mi dd-mm-yyyy')";
    Starting flashback at 25-NOV-13
    using channel ORA_DISK_1
    using channel ORA_DISK_2
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of flashback command at 11/20/2013 23:00:00
    RMAN-05108: Command is not supported for pluggable database
    Regards
    Mahir M. Quluzade
    p.s. Command exists but not supporting, may be next release come support.

  • Can I use flashback database to recover it?-----QNo.115

    I have dropped a tablespace through RESETLOGS.
    Can I use flashback database to recover it?-----

    5.3.1 Limitations of Flashback Database
    http://download-east.oracle.com/docs/cd/B19306_01/backup.102/b14192/rpfbdb003.htm

  • Lync 2013 Enabling Cross-Database Access in SQL Server

    Hello,
    I want to know when Enabling Cross-Database Access in SQL Server will be enabled for Lync Server 2013.
    Will Lync Server enable it by default?
    Stmart

    DCOM Errors are awful.  Here's a few articles that I've read before that match your error. Some you've likely already seen...
    http://d1it.wordpress.com/2013/10/28/dcom-move-lync-user/
    http://blogs.technet.com/b/dodeitte/archive/2010/12/19/issue-when-moving-legacy-users-to-a-lync-server-2010-pool-using-hlb.aspx
    http://www.networksteve.com/windows/topic.php/Unable_to_Move_users_between_2_Lync_Pools/?TopicId=61736&Posts=2
    http://www.bibble-it.com/2011/03/22/unable-to-move-lync-user-dcom-error
    Using the -force command as Saleesh noted should work, but will kill your contacts.  If it's just a few users that are acting up, you can restore the contacts from backup for these users (export-csuserdata before you start).
    Is it all users, or just a handful?
    Please remember, if you see a post that helped you please click "Vote As Helpful" and if it answered your question please click "Mark As Answer".
    SWC Unified Communications

Maybe you are looking for