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

Similar Messages

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

  • 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

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

  • 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

  • After Flashback database can I use my backups?

    I performed a flashback database and then opened the database with
    alter database open resetlogs;
    Now when I try the following command in rman I get this message:
    RMAN> list backup
    2> ;
    new incarnation of database registered in recovery catalog
    starting full resync of recovery catalog
    full resync complete
    List of Backup Sets
    ===================
    BS Key Type LV Size Device Type Elapsed Time Completion Time
    435 Incr 1 9.36M DISK 00:00:11 30-AUG-09
    BP Key: 440 Status: AVAILABLE Compressed: NO Tag: TAG20090830T170015
    All the backups are still there but it tells me a new incarnation of the database has been registered in the recovery catalog.
    My question is: Do I need to do anything different from now on? Also can my existing backups still be used if needed?
    thanks in advance,
    Richard

    For u question ist take a rman backup.
    RMAN> backup database;
    Starting backup at 31-AUG-09
    using target database control file instead of recovery catalog
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: sid=140 devtype=DISK
    channel ORA_DISK_1: starting full datafile backupset
    channel ORA_DISK_1: specifying datafile(s) in backupset
    input datafile fno=00001 name=F:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\SYSTEM01.DBF
    input datafile fno=00003 name=F:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\SYSAUX01.DBF
    input datafile fno=00005 name=F:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\EXAMPLE01.DBF
    input datafile fno=00002 name=F:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\UNDOTBS01.DBF
    input datafile fno=00004 name=F:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\USERS01.DBF
    channel ORA_DISK_1: starting piece 1 at 31-AUG-09
    channel ORA_DISK_1: finished piece 1 at 31-AUG-09
    piece handle=F:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\ORCL\BACKUPSET\2009_08_31\O1_MF_NNNDF_TAG20090831T131520_59PY48QX_.BKP tag=TAG20090831T131520 comment=
    channel ORA_DISK_1: backup set complete, elapsed time: 00:00:45
    channel ORA_DISK_1: starting full datafile backupset
    channel ORA_DISK_1: specifying datafile(s) in backupset
    including current control file in backupset
    including current SPFILE in backupset
    channel ORA_DISK_1: starting piece 1 at 31-AUG-09
    channel ORA_DISK_1: finished piece 1 at 31-AUG-09
    piece handle=F:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\ORCL\BACKUPSET\2009_08_31\O1_MF_NCSNF_TAG20090831T131520_59PY5R4D_.BKP tag=TAG20090831T131520 comment=
    channel ORA_DISK_1: backup set complete, elapsed time: 00:00:04
    Finished backup at 31-AUG-09
    After that …..
    SQL> create table y (id number);
    Table created.
    SQL> select to_char(sysdate,'dd-mm-yy hh24:mi:ss') from dual;
    TO_CHAR(SYSDATE,'
    31-08-09 13:23:03
    SQL> drop table y
    2 ;
    Table dropped.
    SQL> shutdown abort
    ORACLE instance shut down.
    SQL> startup mount
    ORACLE instance started.
    Total System Global Area 612368384 bytes
    Fixed Size 1250428 bytes
    Variable Size 226495364 bytes
    Database Buffers 377487360 bytes
    Redo Buffers 7135232 bytes
    Database mounted.
    SQL> flashback database to timestamp to_timestamp('31-08-09 13:23:03','dd-mm-yy hh24:mi:ss');
    Flashback complete.
    SQL> alter database open resetlogs;
    Database altered.
    SQL> desc y
    Name Null? Type
    ID NUMBER
    SQL> shutdown immediate
    Database closed.
    Database dismounted.
    ORACLE instance shut down.
    SQL> startup mount
    ORACLE instance started.
    Total System Global Area 612368384 bytes
    Fixed Size 1250428 bytes
    Variable Size 226495364 bytes
    Database Buffers 377487360 bytes
    Redo Buffers 7135232 bytes
    Database mounted.
    SQL> select name from v$datafile;
    NAME
    F:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\SYSTEM01.DBF
    F:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\UNDOTBS01.DBF
    F:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\SYSAUX01.DBF
    F:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\USERS01.DBF
    F:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\EXAMPLE01.DBF
    SQL> host del F:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\USERS01.DBF
    SQL> alter database open;
    alter database open
    ERROR at line 1:
    ORA-01157: cannot identify/lock data file 4 - see DBWR trace file
    ORA-01110: data file 4: 'F:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\USERS01.DBF'
    Then I restore old backup from rman
    RMAN> restore database;
    Starting restore at 31-AUG-09
    using target database control file instead of recovery catalog
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: sid=154 devtype=DISK
    channel ORA_DISK_1: starting datafile backupset restore
    channel ORA_DISK_1: specifying datafile(s) to restore from backup set
    restoring datafile 00001 to F:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\SYSTEM01.DBF
    restoring datafile 00002 to F:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\UNDOTBS01.DBF
    restoring datafile 00003 to F:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\SYSAUX01.DBF
    restoring datafile 00004 to F:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\USERS01.DBF
    restoring datafile 00005 to F:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\EXAMPLE01.DBF
    channel ORA_DISK_1: reading from backup piece F:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\ORCL\BACKUPSET\2009_08_31\O1_MF_NNNDF_TAG20090831T131520_59PY48QX_.BK
    channel ORA_DISK_1: restored backup piece 1
    piece handle=F:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\ORCL\BACKUPSET\2009_08_31\O1_MF_NNNDF_TAG20090831T131520_59PY48QX_.BKP tag=TAG20090831T131520
    channel ORA_DISK_1: restore complete, elapsed time: 00:00:46
    Finished restore at 31-AUG-09
    RMAN> recover database;
    Starting recover at 31-AUG-09
    using channel ORA_DISK_1
    starting media recovery
    archive log thread 1 sequence 22 is already on disk as file F:\ORACLE\PRODUCT\10.2.0\ARC\ARC00022_0693947048.001
    archive log thread 1 sequence 23 is already on disk as file F:\ORACLE\PRODUCT\10.2.0\ARC\ARC00023_0693947048.001
    archive log filename=F:\ORACLE\PRODUCT\10.2.0\ARC\ARC00022_0693947048.001 thread=1 sequence=22
    archive log filename=F:\ORACLE\PRODUCT\10.2.0\ARC\ARC00023_0693947048.001 thread=1 sequence=23
    media recovery complete, elapsed time: 00:00:06
    Finished recover at 31-AUG-09
    Then I back sqlplus
    SQL> alter database open;
    Database altered.
    SQL> desc y
    Name Null? Type
    ID NUMBER
    So answer your question is , YES you can restore from you old backup , not need to do anything else.
    Regards
    Liakat hossain

  • Boyum External Launcher Passing Database Information w/Multiple Parametes

    I have a Boyum button which calls a .NET application passing multiple parameters.  However, I need to add an additional parameter that passes the database name.  Can someone show me the correct syntax to do so?
    Thanks in advance.

    FYI:  Here's the syntax for calling a .NET application and pass multiple arguments (In the "Arguments" field of the "Buttons - Configuration"):
    "C:\ExecutableLocation\Program.exe" | "Value1" "Value2"
    If you'd like to pass values from the form in which the button resides you can do the following:
    "C:\ExecutableLocation\Program.exe" | "$[$8.0.1\]" "$[$16.0.1\]"
    Edited by: David Miller on Oct 7, 2011 4:03 PM

  • How to add a dynamic parameter with VB 6?

    I'm building a simply application that will open crystal 11 reports and add a single parameter. I've been able to get this working however I don't know how to set the parameter as dynamic and add to the list of values?

    Hi Jason,
    Please search Forums before posting a question. There are others doing the same whcih include samples on how to. Here's one of them: Loading a prompt list dynamically on an ASP.NET page in Crystal 11
    I assume you are using the RDC ( craxdrt.dll ). The RDC has been deprecated since version 9 meaning there have been no updated or new fucntionality added to it. Since Cascading Parameters were introduced in CR 11 the RDC has no API available and nor does the .NET components. Check the posting above for more info.
    Also the RDC is not supported in .NET so you should upgrade CR and move to .NET Suite.
    Thank you
    Don

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

Maybe you are looking for