Flashback Table: Oracle PW

I find that I restore a table due to the error of the user, to return the data she had this morning - the loss of some data. Oracle 10Gex and then Apex 3.2.1 installation - I didn't know what was the password for database user 'Oracle '.

When the desktop of the server - running the SQLPlus tool - I can connect to the database with SYS (or SYSTEM) DBA - but those ID's have no rights on the schema - at least I can't see the tables in the schema PRD/tablespace. Yes - during the installation, I created a specific tablespace of the user for the applications and it's data.

I think that the 'oracle' user is that I need to connect to SQLPlus with to run the commands in flashback the table... but I could be wrong.

What are your suggestions?

Help!

Rich

Rich,

Sorry, I don't know what give advised based flashback.
Don't want to give the wrong information.

Ask this question in the forums of database - general or SQL and PL/SQL .
These forums are very active - in half an hour, you will know everything
you need about flashback or how to restore your data.

Kind regards
Lev

Tags: Database

Similar Questions

  • ORA-00439: feature not enabled: Flashback Table

    If someone could help because I do not know why I get the error at the end of the script.

    Thank you very much

    CODD> select * from v$version;
    
    
    BANNER
    --------------------------------------------------------------------------------
    Oracle Database 11g Express Edition Release 11.2.0.2.0 - Production
    PL/SQL Release 11.2.0.2.0 - Production
    CORE    11.2.0.2.0      Production
    TNS for 32-bit Windows: Version 11.2.0.2.0 - Production
    NLSRTL Version 11.2.0.2.0 - Production
    
    
    CODD> create table test (cola number) enable row movement;
    
    
    Table created.
    
    
    CODD> drop table test;
    
    
    Table dropped.
    
    
    CODD> select original_name, operation, ts_name, droptime from recyclebin;
    
    
    ORIGINAL_NAME                    OPERATION TS_NAME                        DROPTIME
    -------------------------------- --------- ------------------------------ -------------------
    TEST                             DROP      USERS                          2014-01-08:13:08:27
    
    
    CODD> flashback table test to before drop;
    
    
    Flashback complete.
    
    
    CODD> insert into test values(10);
    
    
    1 row created.
    
    
    CODD> insert into test values(20);
    
    
    1 row created.
    
    
    CODD> select current_timestamp from dual;
    
    
    CURRENT_TIMESTAMP
    ---------------------------------------------------------------------------
    08-JAN-14 13.10.50.330000 +00:00
    
    
    CODD> insert into test values(100);
    
    
    1 row created.
    
    
    CODD> flashback table test to timestamp timestamp '2014-01-08 13:10:50.00 +00:00';
    flashback table test to timestamp timestamp '2014-01-08 13:10:50.00 +00:00'
    *
    ERROR at line 1:
    ORA-00439: feature not enabled: Flashback Table
    
    
    
    
    CODD> commit;
    
    
    Commit complete.
    
    
    CODD> flashback table test to timestamp timestamp '2014-01-08 13:10:50.00 +00:00';
    flashback table test to timestamp timestamp '2014-01-08 13:10:50.00 +00:00'
    *
    ERROR at line 1:
    ORA-00439: feature not enabled: Flashback Table
    

    You use the Express edition. This includes no Flashback Table.

    Oracle® Database Express Edition

  • URGENT: Need to flashback table, how to find SNA for quite some time before the update that's happened?

    Hi all

    I have a new database 11G, I haven't used before flashback, but my retention time is a day... I have once the developer did a massive update to a table to corrupt.

    How can I find the RCS for this time so I can try this table of flashback?

    Thank you

    Cayenne

    Thank you.. I also found that it works:

    SQL > select timestamp_to_scn (to_timestamp('20140103152000','YYYYMMDDHH24MISS')) SNA double;

    SNA

    ----------

    98344246

    Although does NOT work all the time. But that's just what Oracle when you give him a timestamp to flashback to: it converts the timestamp of a SNA and then restores the data based on the SNA.

    See table of Flashback in the language SQL doc

    http://docs.Oracle.com/CD/B28359_01/server.111/b28286/statements_9012.htm

    TIMESTAMP CLAUSE

    Specify a value of timestamp corresponding to the point in time to which you want to return to the table. The expr must evaluate to a valid time stamp in the past. The table will flash back to a period of about 3 seconds to the specified timestamp.

    This precision "3 seconds" is because of this conversion to SNA - Oracle uses its internal table.

    YVERT is accurate, if you know, but you typically do not have.

    Read and consider these warnings in app dev guide advanced

    http://docs.Oracle.com/CD/B28359_01/AppDev.111/b28424/adfns_flashback.htm

    Guidelines for Oracle Flashback Query

    . . .

    General guidelines for Oracle Flashback Table

    . . .

    • For querying the latest data at a specific time, use a SNA. If you use a timestamp, questioned real time can be up to 3 seconds before the time you specify. Oracle database uses the SNA and assigns them to the timestamps to a granularity of 3 seconds.

    For example, suppose values SNA 1000 and 1005 are mapped on the timestamps 08:41 and 08:46, respectively. A query for a moment between 08:41 and 08:45:59 is mapped to the SCN 1000; an Oracle Flashback Query at 08:46 is mapped to the SNA 1005.

    By reason of this time-to-SNA map, if you specify a time slightly after a DDL (such as a table creation) Oracle database operation can use a SNA which is located just before the DDL operation, causing the error ORA-1466.

    . . .

  • doubt on FLASHBACK TABLE

    Dear members,
    I do FLASHBACK TABLE as the user sys. I know that the FLASHBACK TABLE cannot be used for the SYS user.
    always I have run this command with clouse to file and
    When I run this command with timestamp clouse, I get error.
    Can you get it someone please tell me why this is happening?
    ORACLE: 11 GR 2
    OS: FEDORA 14
    -----
    $ sqlplus / as sysdba
    SQL > insert into values t11 ('k');

    1 line of creation.

    SQL >! day;
    Sea 30 mai 15:45: 13 IST 2012

    SQL > insert into values t11 ('z');

    1 line of creation.

    SQL > drop table t11.

    Deleted table.

    SQL > select * from dba_recyclebin;

    OWNER OBJECT_NAME ORIGINAL_NAME OPERATION TYPE TS_NAME CREATETIME DROPTIME DROPSCN NOM_PARTITION RELATED BASE_OBJECT PURGE_OBJECT SPACE CANCAN
    ------------------------------ ------------------------------ -------------------------------- --------- ------------------------- ------------------------------ ------------------- ------------------- ---------- -------------------------------- --- --- ---------- ----------- ------------ ----------
    SYS, BIN$ wT5v1Gw96zbgQGSsOaoM4g == $0 T11 DROP TABLE NISHANT 2012-05 - 30:14:47:37 2012-05 - 30:15:45:36 17728226 YES YES 85115 85115 85115 8

    SQL > flashback table "BIN$ wT5v1Gw96zbgQGSsOaoM4g == $0 ' timestamp to_time (May 30, 2012 15:45:13 ',' dd/mm/yyyy hh24:mi:ss');
    flashback table "BIN$ wT5v1Gw96zbgQGSsOaoM4g == $0" to to_time timestamp (May 30, 2012 15:45:13 ',' dd/mm/yyyy hh24:mi:ss')
    *
    ERROR on line 1:
    ORA-08185: Flashback not supported for user SYS


    SQL > flashback table "BIN$ wT5v1Gw96zbgQGSsOaoM4g == $0" before dropping.

    Flashback complete.

    before drop between recyclebin area (* flashback drop option *)

    trying to flashback with data undo timestamp (* flashback table option *), is not supported for sys.

    and the table created in the non-system tablespace

    ----------
    SYS, BIN$ wT5v1Gw96zbgQGSsOaoM4g == $0 T11 DROP TABLE NISHANT 2012-05 - 30:14:47:37 2012-05 - 30:15:45:36 17728226 YES YES 85115 85115 85115 8

    independent system LMT TBS will support recyclebin functionality

    Published by: rash on May 30, 2012 18:07

  • Flashback table

    Hello
    I want to know if ALLOW the MOVEMENT of the LINE is required on all tables to support the return of flame?

    Let's take an example

    Create table emp (identification number, name varchar2 (10));
    drop table emp;

    Flashback table emp to before drop;

    would this work? I have not activated the movement line on table above. I have 10g Express edition, so I'm not able to verify the check it.please he answer me with a terse response

    Thanks in advance

    http://download.Oracle.com/docs/CD/E11882_01/server.112/e17118/statements_9012.htm#SQLRF01802
    http://download.Oracle.com/docs/CD/B19306_01/server.102/b14200/statements_9012.htm#SQLRF01802

    Concerning

    Etbin

    Edited by: Etbin on 31.8.2011 21:18
    10g added link

  • Prerequisite to FLASHBACK TABLE

    Version: 10.2, 11.2

    I will say I've accidentally updated a table without specifying the WHERE clause. Can I use FLASHBACK TABLE command to restore it to the former State.

    Question1
    I have to run the FLASHBACK TABLE before UNDO_RETENTION period. That is to say. If my UNDO_RETENTION is set to 900 (15 minutes), I have to run the less command FLASHBACK TABLE 15 minutes of the error to the user. Right?


    Question2
    My current UNDO_RETENTION is 900 and UNDO_TBS size is 2.5 GB. If I want to increase UNDO_RETENTION 7200 (2 hours), I should increase the UNDO_TBS as well. Right? But, how to estimate this?

    Hello

    Question1
    I should execute the FLASHBACK TABLE command before UNDO_RETENTION time expires. ie. If my UNDO_RETENTION is set to 900(15 minutes) , i must execute the FLASHBACK TABLE command withing 15 minutes of the user error. Right?
    

    UNDO_RETENTION initialization parameter must be set to a value that is large enough to cover the period specified in the FLASHBACK TABLE statement.
    doc: http://www.stanford.edu/dept/itss/docs/oracle/10g/server.101/b10739/undo.htm#i1008150

    Question2
    My current UNDO_RETENTION is 900 and UNDO_TBS size is 2.5 gb. If i want to increase UNDO_RETENTION to 7200 (2 hours), i should increase the UNDO_TBS as well. Right ? But , how will i estimate this ?
    

    May not be necessary to increase the cancellation SCT size, maybe check and estimate the size of the cancellation of queries undo_stats

    CONSERVATION OPTIMAL UNDO = UNDO FULL SIZE / (DB_BLOCK_SIZE * UNDO_BLOCK_PER_SEC)

    SELECT MAX (undoblks/((end_time-begin_time) * 3600 * 24))
    'UNDO_BLOCK_PER_SEC '.
    V $ undostat;

    HTH

    -Pavan Kumar N

  • Flashback table does not work in 10.2?

    I thought that you can cancel a water drop and retrieve any table with FLASHBACK TABLE feature that comes with default 10.2 (i.e. no special set-up is required). But I get this error when I try to do.

    ORA-00439: feature not enabled: Flashback Table

    I've used FLASHBACK TABLE < table name > before dropping.

    Ahmer Mansoor says:
    Dear David,

    Please make sure the recyclebin parameter is on, if it is not, then follow these steps.

    SQL > ALTER SYSTEM SET RECYCLEBIN = SCOPE = BOTH;

    Well, you should check before posting a statement that if its working or not. Your answer will not actually in any way. First, the parameter is a static parameter and cannot be changed by the option TOGETHER. It must be spfile and will ask for a restart of the db. Please see below,

    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    
    SQL> alter system set recyclebin=off;
    alter system set recyclebin=off
                                  *
    ERROR at line 1:
    ORA-02096: specified initialization parameter is not modifiable with this
    option
    
    SQL> alter system set recyclebin=off scope=both;
    alter system set recyclebin=off scope=both
                                    *
    ERROR at line 1:
    ORA-02096: specified initialization parameter is not modifiable with this
    option
    
    SQL> alter system set recyclebin=off scope=spfile;
    
    System altered.
    
    SQL> startup force
    ORACLE instance started.
    
    Total System Global Area  263639040 bytes
    Fixed Size                  1373964 bytes
    Variable Size             205523188 bytes
    Database Buffers           50331648 bytes
    Redo Buffers                6410240 bytes
    Database mounted.
    Database opened.
    
    SQL> show parameter recyclebin
    
    NAME                                 TYPE        VALUE
    ------------------------------------ ----------- -----------------------------
    recyclebin                           string      OFF
    SQL>
    

    Secondly, there is no relationship between the value of the start parameter and the message that receives the OP. If the parameter is set to OFF, it would be the message,

    SQL> conn aman/aman
    Connected.
    SQL> create table test_tab(a number);
    
    Table created.
    
    SQL> drop table test_tab;
    
    Table dropped.
    
    SQL> flashback table test_tab to before drop;
    flashback table test_tab to before drop
    *
    ERROR at line 1:
    ORA-38305: object not in RECYCLE BIN
    
    SQL> show parameter recyclebin
    
    NAME                                 TYPE        VALUE
    ------------------------------------ ----------- --------------------------
    recyclebin                           string      OFF
    SQL> select * from V$version;
    
    BANNER
    ---------------------------------------------------------------------------
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
    PL/SQL Release 11.2.0.1.0 - Production
    CORE    11.2.0.1.0      Production
    TNS for 32-bit Windows: Version 11.2.0.1.0 - Production
    NLSRTL Version 11.2.0.1.0 - Production
    
    SQL>
    

    HTH
    Aman...

  • flashback table does not

    Hello

    I use oracle 10g R2 on linux X 86. I got reminiscence are the true value. one of my table was accidentally truncated.
    now I want what he back.other tables are reduced thanks to the flashback technology.

    but this error that "the definition of table has been changed" I not made any changes to the table definition.

    What could be the problem? even if I have backup, but would still like to know and retrieve it using flashback.

    return of flame retention objective has been set at 900. and table was droped well before that.

    Help, please

    Thanks and greetings
    VD

    Well it's okay and it isn't a mistake. Flashback table does NOT work with the DDL changes that you did on your table to Truncate. If you want to return to the table with Flashback, you need to use Flashback Database technology or traditional backup and restore techniques are the only station.
    HTH
    Aman...

  • Keep the reason - stored in which table - Oracle Apps R12 release

    Hi friends,

    Every time that we let go of prey in Oracle applications, we give a 'Reaason' for this.

    could you please help me, in which table its stored.

    and once more, we give the reason and click 'Apply', event that would raise.

    Help, please

    Hello world. I found the answer...

    Select release_reason_code, OE_HOLD_RELEASES a release_comment

  • table Oracle in a delimited text file

    Hi all

    How you export data from an oracle table to a delimited text file?, I think the answer should be used the exp tool and specify the delimiter in the control file. Please correct me of you to be sick. Thank you


    Search for:

    UTL_FILE

    https://asktom.Oracle.com/pls/asktom/f?p=100:11:0:no:P11_QUESTION_ID:88212348059

    See you soon,.

    Manik.

  • What is better/more quick method to create a table (Oracle 11 g 2 dB)?

    Assuming that there are no statistics for the source tables - tables are deleted and recreated every day

    My paintings have a few million lines

    I'm trying to create a filled with data as quickly as possible via

    1 createtable_name as SELECT * from emp;

    2. create table_name

    Parallel degree 4

    in SELECT * from EMP ;


    I have 1 case I had some time 34 Sec

    In case 2, the table was created in 15 Sec


    In oracle other possibilities to create a much faster with this DEC?


    Or it will be faster when I create a table using create table_name

    (

    column1datatype [NULL |] NOT NULL],

    column2datatype [NULL |] NOT NULL],

    ...

    column_ndatatype [NULL |] NOT NULL]

    );

    or maybe I should use this method

    INSERT /*+ APPEND */ INTO empSELECT * FROM all_objects;

    INSERT /*+ APPEND_VALUES */ INTO emp SELECT * FROM all_objects;

    or it is better to simply creating a table

    and to use the FORALL in BULK IN THE COLLECTION instruction

    combination of Pentecost of the

    INSERT / * + APPEND * / INTO emp;


    I encourage you to test different options - as you did for the first two variants: personally, I think that it is much easier to remember these things if I did the tests myself - instead of trusting in the results of others. IE I don't think that there is something more fast parallelized ETG (perhaps with a clause (*)) additional nologging by using path direct inserts (although that INSERT APPEND select should do the same). I expect the operations in PL/SQL block to be slower.

    (*), but you should consider the consequences of NOLOGGING for your backup strategies + recovery

  • Primary keys in Tables Oracle EBS Standard

    Hello! I was checking a few standard EBS tables and I just found it odd that there is no primary keys in the columns which (I think) should be the primary key:

    an exaple:

    AP_INVOICE_LINES_ALL DESC;

    Column nameIDPKNull value?Data typeBy defaultHistogram
    INVOICE_ID1NNUMBER (15)Yes
    LINE_NUMBER2NNUMBERYes
    LINE_TYPE_LOOKUP_CODE3NVARCHAR2 (25 bytes)Yes
    REQUESTER_ID4THERENUMBER (15)Yes
    DESCRIPTION5THEREVARCHAR2 (240 bytes)Yes
    LINE_SOURCE6THEREVARCHAR2 (30 bytes)Yes
    ORG_ID7THERENUMBER (15)NULL VALUEYes
    LINE_GROUP_NUMBER8THERENUMBERYes
    INVENTORY_ITEM_ID9THERENUMBERYes
    ITEM_DESCRIPTION10THEREVARCHAR2 (240 bytes)Yes
    SERIAL_NUMBER11THEREVARCHAR2 (35 bytes)Yes
    MANUFACTURER12THEREVARCHAR2 (30 bytes)Yes

    GL_CODE_COMBINATIONS DESC;

    Column nameIDPKNull value?Data typeBy defaultHistogram
    CODE_COMBINATION_ID1NNUMBER (15)Yes
    LAST_UPDATE_DATE2NDATEYes
    LAST_UPDATED_BY3NNUMBERYes
    CHART_OF_ACCOUNTS_ID4NNUMBER (15)Yes
    DETAIL_POSTING_ALLOWED_FLAG5NVARCHAR2 (1 byte)Yes
    DETAIL_BUDGETING_ALLOWED_FLAG6NVARCHAR2 (1 byte)Yes
    ACCOUNT_TYPE7NVARCHAR2 (1 byte)Yes
    ENABLED_FLAG8NVARCHAR2 (1 byte)Yes

    I checked 11i and R12 versions of our Tables to EBS, but both contain primary keys.

    Is this normal or just tell set primary keys?

    Please notify.

    Thank you!

    PS.* I'm trying to settle our scripts and he is still running a full table scan, because it doesn't have a primary key.

    Hello

    This is the standard installation done by oracle at time of installation of EBS in your organization therefore does not necessarily create a new primary key or an index

    on the table.

    The key primary is a combination of unique key constraint not null, and if you look at the script or the definition of the table, you will get the already

    Ed configuration not null not forced and a unique index on some of the columns required by oracle.

  • External table Oracle via the Tables API

    Hello world

    I did experiment with the Oracle NoSQL database recently and I became a bit stuck with the new API of Tables. I have so far successfully of the external tables on the data entered using storage techniques 'vanilla' KV and avro (using generic and specific links) scheme, but create API Tables seems to be another matter entirely.

    My question arises in the trainer interface, which has a KeyValueVersion and a KVStore. I can't translate a KeyValueVersion created with the API of Tables in a primary key for recovery (since I don't know what the key generated by the API actually looks like to!) or map it on an avro scheme. The problem seems to be that the Tables API writes data in some format that can be easily translated into a string or an integer (releases from external table lines due to unknown characters if I am trying to retrieve all the values in the database to see what it looks like to), and try to map it to an AVRO map results in the error message 'the data are not as AVRO'.

    Scenario:

    I created a very simple table in the administration tool KV, which consists of a column personId (integer) that is PK, firstName, lastName, emailAddr (all channels) and enter 5 rows with success. What I want to do is to create an external table called person that returns just those 5 values (and brand new I add to the table of course). This means that I have to first understand what the parentKey value must be defined in the .dat file and how to take this key and it becomes a primary key for the recovery of the line.

    Faithful old Google could not find information on how to do this (he was only a thread similar to this with the answer "we'll add it soon"), so I hope that someone here managed to do!

    Thank you

    Richard

    Hi Richard

    I understand the issue you are facing. In the current version (12.1.3.0.9) the external tables feature only works with records of K/V not with the Table model, however, in the next version (which us will very soon be GA) we will support integration of external tables with the data of Table model as well. Please make sure that you have signed up for the announcement of release so that we can inform you of the release. I apologize for the inconvenience, he did to you.

    Best

    Anuj

    Sign up for announcements of NoSQL database , so we can warn you versions futures and other updates from the product of NoSQL database

  • Follow-up table Oracle I/O

    Hello

    12 c, I ran, as they say here:

    Oracle, followed of table I/O catio.sql sample_io io_per_object

    $ORACLE_HOME/rdbms/admin/catio.sql, then:

    SQL > SELECT * from io_per_object;

    no selected line

    What's wrong? Why no I/O statistics?

    Thank you.

    Catio.SQL is very 20th century. You can not get information better v$ segment_statistics?

  • Clarification from dependency table Oracle required

    Hello team,

    I have a temp table

    create table temp (identification number, name varchar2 (100));

    There are procedures, views, subsidies and public synonyms are dependednt on this table.

    Please tell me if I drop and re-create the table with the same structure and constraints I also scripts for the procedure, the views, the synonymn compilation?

    When I dropped and recreated the table with the same structure, including constraints. I found all the procedures,

    views, synonymns are in an AUTHENTICATED State only. Script to grant the exception... I must issue again.

    Please confirm

    Thank you

    S

    If you deposit and create a table again with the same structure, including constraints, oracle will automatically manage all dependent objects.

Maybe you are looking for