10g flashback database limitations

When are you not able to Flashback Database?
· Media failure, corruption or datafile deletion.
· The control file has been restored or recreated
· A tablespace has been dropped
· A data file has been shrunk
· A RESETLOGS operation is required.
If you dropped a schema and want it back, you can use flashback database to get it back. But if you dropped both schema and tablespace, it is not possible to get the schema back with flashback database.
Is there any other scenarios to use flashback database?
jzc

I am trying to evaluate the benefit to turn on this feature. Please drop few lines of your opinion to help me.

Similar Messages

  • Flashback database steps

    SQL> select name from v$datafile;
    NAME
    E:\ORACLE\PRODUCT\10.2.0\ORADATA\AGILE2\SYSTEM01.DBF
    E:\ORACLE\PRODUCT\10.2.0\ORADATA\AGILE2\UNDOTBS01.DBF
    E:\ORACLE\PRODUCT\10.2.0\ORADATA\AGILE2\SYSAUX01.DBF
    E:\ORACLE\PRODUCT\10.2.0\ORADATA\AGILE2\USERS01.DBF
    E:\ORACLE\PRODUCT\10.2.0\ORADATA\AGILE2\EXAMPLE01.DBF
    E:\ORACLE\PRODUCT\10.2.0\ORADATA\AGILE2\TEST.DBF
    E:\ORACLE\PRODUCT\10.2.0\ORADATA\AGILE2\SVSS.DBF
    E:\ORACLE\PRODUCT\10.2.0\ORADATA\AGILE2\SVSS01.DBF
    E:\ORACLE\PRODUCT\10.2.0\ORADATA\AGILE2\RMAN.DBF
    E:\ORACLE\PRODUCT\10.2.0\ORADATA\AGILE2\FLASH.DBF
    10 rows selected.
    SQL> create tablespace prod datafile 'e:\oracle\product\10.2.0\oradata\agile2\prod.dbf' size 50 m;
    Tablespace created.
    SQL> alter user flash1 default tablespace prod;
    User altered.
    SQL> connect flash1
    Enter password: ******
    Connected.
    SQL> select * from tab;
    no rows selected
    SQL> create table flash(id number(23));
    Table created.
    SQL> insert into flash values(32);
    1 row created.
    SQL> commit
    2 ;
    Commit complete.
    SQL> set time on;
    14:20:54 SQL> connect /as sysdba
    Connected.
    14:21:03 SQL> select name from v$datafile;
    14:21:11 SQL> drop tablespace prod including contents;
    Tablespace dropped.
    14:21:47 SQL> shu immediate;
    Database closed.
    Database dismounted.
    ORACLE instance shut down.
    14:22:22 SQL> startup mount
    ORACLE instance started.
    Total System Global Area 293601280 bytes
    Fixed Size 1296332 bytes
    Variable Size 104859700 bytes
    Database Buffers 180355072 bytes
    Redo Buffers 7090176 bytes
    Database mounted.
    14:23:29 SQL> flashback database to timestamp to_timestamp('2012-05-16 14:21:11','yyyy-mm-dd hh24:mi:ss');
    flashback database to timestamp to_timestamp('2012-05-16 14:21:11','yyyy-mm-dd hh24:mi:ss')
    ERROR at line 1:
    ORA-38795: warning: FLASHBACK succeeded but OPEN RESETLOGS would get error
    below
    ORA-01245: offline file 11 will be lost if RESETLOGS is done
    ORA-01111: name for data file 11 is unknown - rename to correct file
    ORA-01110: data file 11: 'E:\ORACLE\PRODUCT\10.2.0\DB_1\DATABASE\UNNAMED00011'
    14:23:47 SQL> alter database rename file 'E:\ORACLE\PRODUCT\10.2.0\DB_1\DATABASE\UNNAMED00011' to 'e:\oracle\product\10.2.0\oradata\agile2\prod.dbf';
    Database altered.
    14:24:40 SQL> flashback database to timestamp to_timestamp('2012-05-16 14:21:11','yyyy-mm-dd hh24:mi:ss');
    flashback database to timestamp to_timestamp('2012-05-16 14:21:11','yyyy-mm-dd hh24:mi:ss')
    ERROR at line 1:
    ORA-38795: warning: FLASHBACK succeeded but OPEN RESETLOGS would get error
    below
    ORA-01245: offline file 11 will be lost if RESETLOGS is done
    ORA-01110: data file 11: 'E:\ORACLE\PRODUCT\10.2.0\ORADATA\AGILE2\PROD.DBF'
    14:25:05 SQL>
    iam not able to recover the dropped tablespace using flashback database,,,iam tried this many times some time iam able to recover ,most of time iam getting above error only.
    anyone help me,,
    pl share ideas.
    Thanks in advance;

    See flashback limitation
    You cannot use Flashback Database alone to retrieve a dropped data file. If you flash back a database to a time when a dropped data file existed in the database, only the data file entry is added to the control file. You can only recover the dropped data file by using RMAN to fully restore and recover the data file.
    so after dropping tablespace,you can't perform flashback.
    http://docs.oracle.com/cd/E11882_01/backup.112/e10642/flashdb.htm#CFHFIBGH
    What Do All 10g Flashback Features Rely on and what are their Limitations ? [ID 435998.1]
    Edited by: Kuljeet Pal Singh on May 16, 2012 2:57 PM

  • 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

  • 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

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

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

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

  • What is the simplest  way to get a xml-file from 10g R2 -database ?

    Hi,
    I'm new in xml, there are so many tools to work with xml:
    what is the simplest way to get a xml-file from 10g R2 -database ?
    I have : 10g R2 and a xsd.file to describe the xml-structure
    thank you
    Norbert

    There is no automatic way to generate XML documents from an arbitary set of relational tables using the information contained in an XML Schema. Typically the easiest way to generate XML from relational data is to use the SQL/XML operators (XMLElement, XMLAGG, XMLAttribtues, XMLForest). There are many examples of using these operators in the forums You can validate the generated XML against the XML Schema by registering the XML Schema with XML DB and then using the XMLType.SchemaValidate() method

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

  • Export / import problem in apex 3.0.1 using 10g xe database

    I developed an application on my pc using apex 3.0.1 and 10g XE database. I tried to export the application and saved it as .sql file. I want to import and install this application on my work development environment, which uses the 10g XE database and apex 3.0.1. The install was successful but when I run the application I see the login screen messed up and not functional, seems like it's missing the images and the javascript files. Can any one tell me what I am missing here, where are those files. Is there any configuration has to be done on the workspace for importing applications from a different workspace?
    Thank you for your help.
    Sofia.

    Look at the Application Definition page and see if the Image Prefix attribute is correct for the "work" development environment. It's usually /i/ but maybe it's different in the new environment (check existing applications there to confirm). Also, were there any application- or workspace-specific images used by the application in your "pc" environment?
    Scott

  • Does Form 10g support database 8.1.7..? what version it support? Thanks.

    Does Form 10g support database 8.1.7..? what version it support? Thanks.

    I've never heard, that forms 10g not runs on 8.1.7.
    The list of certified combinations can be found on metalink.oracle.com

  • NIC ROUTER requirement for 10g RAC database

    I need to know what hardware to order in setting up an 10g RAC database without a single-point-of-failure. My question centers on the networks. If each server has one NIC for the public interface and one NIC for the private interconnect, aren't the routers these NICs are attached to a single point of failure? If each server has two NICs bonded together for the public interface and two NICs bonded together for the private interconnect, does each NIC attach to a different router?

    sayantan chakraborty wrote:
    is RDMA and infiband ar same??Infiniband is a switched fabric layer for high speed communication. RDMA is a protocol for "+remote direct memory access+".
    Infiniband supports the Internet Protocol suite over Infiniband, or IPoIB. It also supports RDMA over Infiniband.
    so do we need only infiband SDR / QDR switch to set infiband OR what else??You need an Infiniband switch - Cisco and Voltaire are two companies that supply this type of hardware. The latter is used by Oracle in its Exadata database machines. Unsure about Cisco's commitment to Infiniband switches as they have discontinued their Infiniband switches with integrated fibre channel gateways. A sore point with us after we bought into this technology about 2 years ago, in part on their very own recommendations - and now own very expensive, somewhat buggy and totally unsupported hardware. Seems like the new Cisco California servers are GigE and not Infiniband, which perhaps explain this (flawed) decision of theirs...
    For each cluster node, you need an Infiniband PCI card (typically has 2 ports). If you are going to use bonding, you will need a pair of Infiniband cables per server. Also remember to get spares - both PCI cards and cables.
    If you want redundancy at the switch, you need to get yourself 2 Infiniband switches.
    But if you're planning to invest this into a RAC cluster, then surely you should also invest money in RAC licensing and support - and with that gain access to very useful documentation like the RAC Starter Kit and so on.

  • Number of available records in Oracle 10g express database

    Hi,
    I am facing problems in getting the number of available records in Oracle 10g express database with the following query.
    string filename = dbObject.FILENAME;
    string vendorID = dbObject.VENDOR_ID;
    OracleCommand myCommand = _connection.CreateCommand();
    myCommand.CommandText = "SELECT COUNT(*) FROM ASSET_PROCESSING_OUTPUT WHERE *FILENAME = :filename AND VENDOR_ID = :vendorID*";
    myCommand.CommandType = CommandType.Text;
    myCommand.Parameters.AddWithValue("filename", filename);
    myCommand.Parameters.AddWithValue("vendorID", vendorID);
    OracleDataReader reader = myCommand.ExecuteReader();
    Using this command how can I get if the record exists in the database with the given value.
    Thanks in advance.
    punit

    It appears you're only executing the statement. You need to fetch the result to see the value returned by the SELECT statement.

  • Oracle 10g/11g database use on UEK versus Red Hat kernel? How widely used?

    Greetings
    is there any official or semi-official information regarding how widely used is Oracle UEK to run Oracle 10g/11g database (RAC or single-node) versus running Oracle database on Red Hat Linux or on Oracle Linux with Red Hat kernel ?
    I am asking because at my customer site there is a perception that Red Hat (or Oracle Linux with Red Hat kernel) is much more widely used in production to run Oracle 10g/11g database and therefore it will provide better stability even if the performance may be somewhat reduced compared to Oracle UEK option.
    So I need some sort of approximate percentage numbers of how well is UEK used in Linux Oracle community to run Oracle 10g/11g databases.
    Many thanks.
    Yuri B

    The problem with the world is that the intelligent people are full of doubts, while the stupid ones are full of confidence. Well, in my opinion, a higher market share does not reflect the quality or reliability of a product. Take MS Windows for example. Unfortunately, the reason for success is often not due to knowledge and experience, but rather due to fear and sheep effect or herd behavior.
    Perhaps you can use other arguments or questions to help you to make a decision, eg.:
    Oracle has a better understanding of what Oracle products require than Red Hat.
    Oracle takes full responsibility for the OS and Database, no finger pointing.
    Oracle tries to provide a better product than the RHEL kernel.
    The Oracle UEK kernel contains Oracle driver software, not available for RHEL 6 or later.
    Oracle updates are free of charge, RHEL requires a subscription.
    Oracle as a company is about 20 times bigger than Red Hat.
    There can be reasons that require the use of the original RHEL kernel, for instance if the vendor of a specific driver for your hardware demands it. But otherwise...

Maybe you are looking for

  • How do you set the color

    if I declare a class variable as a type of Color - how do I go about setting it's value? I attempted to do the following... "circleColor = new Color ( col1, col2, col3 );" where col1 = 0, col2 = 255, col3 = 255 but after this code I place some System

  • [solved] Best Practice for SSDs with crypto on it regarding TRIM

    Hi, I was doing some research on this matter but did not find too much information on that that's more useful than confusing. The setup is the following: I have an SSD (Crucial, Marvell-Controller) with two partitions: a small one for /boot and a big

  • Have error in my program!

    WHEN I COMPILE THE PROGRAM HAVE THIS MESSAGE: NOTE: Grab.java uses or overrides a deprecated API. Note: Recompile with-depreaction for details. AND I COMPILE AGAIN WITH -depreaction THEN have this message: Grab.java :44 : warning: readLine() in java.

  • Value-Request/Drop-Down like ABAP - F4

    Hello all, I want to implement some transactions within WAS Java. Many of my input-fields should only allow input of certain values. Of course I can define these input values within Java Dictionary. But for almost all of them there exists a customizi

  • Java Bean Property Inspector

    I have two questions to the property inspector: First, is it possible to group the properties of a bean and how can I do this? Can I define the order of the properties myself or are they always in alphabetical order? Thank you for answering my questi