[b]Recover Droped table In 8i[/b]

I want to recover the droped table in 8i. Also I don't have any backup.
Irfan

I have the dump file but it is 12 hours old.
Now your suggested method is not full fill my need.
BCZ me have to lost the 12 hours working.r.- If your database is not in archivelog mode and being so you do not have the archives , the maximun you can do is to restore the data of that table with that dump file and you will lose data of working hours.
Joel Pérez
http://www.oracle.com/technology/experts

Similar Messages

  • Recover droped table

    Hi all
    one of my system table DBA_ROLE_PRIVS is droped from my client site
    how can i recover that "FLASHBACK TABLE DBA_ROLE_PRIVS TO BEFORE DROP" then message display object does not exist in recycle bin,
    please help me how can i recover this table.

    Technology wrote:
    Hi all
    one of my system table DBA_ROLE_PRIVS is droped from my client site
    how can i recover that "FLASHBACK TABLE DBA_ROLE_PRIVS TO BEFORE DROP" then message display object does not exist in recycle bin,
    please help me how can i recover this table.You can not use FLASHBACK TABLE feature for data dictionary tables.You have to restore and recover database.
    And DBA_ROLE_PRIVS is not a table that is data dictionary view.
    Edited by: Chinar on Jan 17, 2011 10:52 PM

  • Recover some tables with RMAN

    Hi all.
    I want to recover some tables to some point in time and I have a hot backup of my DB. I want to preserve them. I want to know if this is possible or there is a better method:
    1.-Duplicate the database.
    Question: Can I duplicate only the schema with the tables? Because the tablespace is quite big and I don't want to recover it completely, I don't have much disk space. I will skip the other tablespaces. I don't know if it's possible because as far as I know RMAN recover allways the entire tablespaces.
    2.-Export the tables.
    3.-Import them in another schema in target DB.
    Oracle: 10g
    Best regards.

    Export or Datapump is a good option.
    RMAN will not full fill the requirementBut I used RMAN for the backup. I have to use it to do the restore. I only want to know if I am doing the restore correctly and if I can do the restore only of the tables I need.
    Thanks.

  • Ask User confirmation before droping table

    Hi,
    I need to build a script that ask user a confirmation before that he execute the script that drop a table like "Do you check the log file before droping table Y/N"
    I start to do this but it's not working well, I'm new in sql and PLsql
    accept condition prompt "Do you check all log file (Y/N)"
    DECLARE
    V varchar2(1) := 'N';
    BEGIN
    if &condition=V then
    EXECUTE IMMEDIATE 'drop table t';
    else
    dbms_output.put_line ('please check your log file');
    end if;
    END;
    Regards,

    vittel wrote:
    Hi,
    I need to build a script that ask user a confirmation before that he execute the script that drop a table like "Do you check the log file before droping table Y/N"
    I start to do this but it's not working well, I'm new in sql and PLsql
    accept condition prompt "Do you check all log file (Y/N)"
    DECLARE
    V varchar2(1) := 'N';
    BEGIN
    if &condition=V then
    EXECUTE IMMEDIATE 'drop table t';
    else
    dbms_output.put_line ('please check your log file');
    end if;
    END;
    /if the value of &condition is the single character N, then
    if &condition=V thenwill be sent to the compiler as:
    if N=V thenWhich assumes there is a variable called N.
    I think what you meant was:
    if '&condition' = V thenwhich will be sent to the compiler as
    if 'N' = V thenNote that substitution variables (like &condition) are evaluated and replaced before the PL/SQL code is compiled, so you can use substitution variables in an anonymous block, like you're doing, but you can't use them in a stored procedure to get user input at run-time.

  • Recover Updated table

    Hi all
    I have updated a table, some information was deleted. How can I recover the table as it was before update.
    I have a backup tape with the information before update so I don't know how import it back.
    Best regards
    BJ Moloya

    If you have a exported backup of this table then use that.
    In 9i Undo tablespace features can be utilized to see what was the old data through the following steps. Example you want to see what was the data 10 minutes back i.e 10/1440 days then,
    conn system/pwd
    execute dbms_flashback.enable_at_time(sysdate-10/1440);
    select the records now and see 10 minutes old data
    execute dbms_flashback.disable;
    You cannot do any further update/delete/insert while in flashback mode. You can select only.
    To see more historical data then set the undo_retention time to high value.
    Sami Malik
    [email protected]

  • How to recover HTMLDB_APPLICATION_FILES table

    We accidently deleted some data in the HTMLDB_APPLICATION_FILES table using
    delete from HTMLDB_APPLICATION_FILES table
    where....
    And now we want to recover the deleted information.
    Since HTMLDB_APPLICATION_FILES is a virtual table name, we can not even find the real table in the DB. Is there any idea to recover only the HTMLDB_APPLICATION_FILES table to avoid recovering the whole DB.
    Any one can help on this?
    Thanks.

    Hi, sspadafo
    Do you mean the delete query? We used
    where id < *****
    and lost the 'id>****' part, so, most records are deleted :(
    Now, we are trying to locate the flows_files.wwv_flow_file_objects$ table. In SQL*Plus we run the query
    SELECT owner, table_name FROM ALL_TABLES ORDER BY owner, table_name;
    but flows_files.wwv_flow_file_objects$ is not in the list.

  • Cold Backup/Recovering A Table

    I am running 11r2 in a RAC environment. We have a primary plus two standby's (using Active Data Guard). Also, I am a new DBA, so bare with me. :)
    TableX in a certain database is corrupted. The corruption began a month ago due to a web developer's code change. The code change was fixed a week ago.
    Summary: the data in TableX is corrupted up until a week ago.
    Flashback doesn't extend that far into the past, so what I've been thinking of doing is, on our test server:
    1) Copy over relevant files from production to the test server
    2) Backup the original TableX on production
    3) Restore the system, sysaux, undo and the tablespace which contains TableX on test server
    4) Drop all other tablespaces in mount state (or not, if this step isn't necessary?)
    5) Recover the database till the time when the table was dropped or updated
    6) Take an export of TableX from database and import it into production, overwriting the current TableX
    7) Update the imported production TableX with the past week of "good" data from the backup in step 2
    I have 3 questions.
    Does this seem like a good strategy?
    Additionally, I am having difficulty determining what the "relevant files" are in step 1. What would I be copying over? Everything in the ArchiveLog folder? Or Everything in the db_recovery_file_dest folder? Or...?
    Lastly, in step 3, is there a way to perform the restore w/o overwriting preexisting data on the test server?
    Thank you

    Hemant K Chitale wrote:
    is there a way to perform the restore w/o overwriting preexisting data on the test serverYou would have to restore to a different folder and when you ALTER DATABASE MOUNT you ALTER DATABASE RENAME DATAFILE to specify the new locations of the datafiles.
    I think the MOUNT is the step that I was missing, though it seems so obvious now...
    1) Copy over relevant files from production to the test server
    2) Backup the original TableX on production
    *2.5) MOUNT the copied data files onto the test server*
    3) Restore the system, sysaux, undo and the tablespace which contains TableX on test server
    4) Drop all other tablespaces in mount state (or not, if this step isn't necessary?)
    5) Recover the database till the time when the table was dropped or updated
    6) Take an export of TableX from database and import it into production, overwriting the current TableX
    7) Update the imported production TableX with the past week of "good" data from the backup in step 2
    Last Question (I think): you both refer to "THE cold backup." We use a diff backup. I assume you mean "copy over all files since the last full backup prior to the date that data corruption began"?

  • How to recover a table from a coldback?

    Hi:
    I was asked in an interview. if a user deleted a table, how to recover it from a coldback? Please give me the steps.
    Thank you and regards.

    1. Take a cold backup of the current database.
    2. Restore the full old backup from tape/disk etc.
    3. Oracle Export the table that needs recovering.
    4. Shutdown the database.
    5. Restore the database from the first step.
    6. Start the database.
    7. Oracle Import the table from the third step.
    Hope this helps.
    Best regards,
    Mark.

  • Recovering dropped table without using pointing time recovery/

    Hi geeks,
    Noob here.I have a question*.I want to recover the dropped table with data with out using pointing time recovery.*
    for Ex:Use hasr dropped the table at 10:00 and realized that he dropped the table at 16:00hrs .So i want to fetch the data(DDL+DML) without using pointing time recovery.
    So please find answers for my question.
    Thank you,
    Rakesh M.

    Welcome to the forum!
    Whenever you post provide your 4 digit Oracle version (result of SELECT * FROM V$VERSION).
    >
    Noob here.I have a question*.I want to recover the dropped table with data with out using pointing time recovery.*
    for Ex:Use hasr dropped the table at 10:00 and realized that he dropped the table at 16:00hrs .So i want to fetch the data(DDL+DML) without using pointing time recovery.
    >
    FLASHBACK TABLE myTable TO BEFORE DROP;
    See the examples in the FLASHBACK TABLE section of the SQL Language doc
    http://docs.oracle.com/cd/B28359_01/server.111/b28286/statements_9012.htm
    >
    Retrieving a Dropped Table: Example If you accidentally drop the pm.print_media table and want to retrieve it, then issue the following statement:
    FLASHBACK TABLE print_media TO BEFORE DROP;
    If another print_media table has been created in the pm schema, then use the RENAME TO clause to rename the retrieved table:
    FLASHBACK TABLE print_media TO BEFORE DROP RENAME TO print_media_old;
    If you know that the employees table has been dropped multiple times, and you want to retrieve the oldest version, then query the USER_RECYLEBIN table to determine the system-generated name, and then use that name in the FLASHBACK TABLE statement. (System-generated names in your database will differ from those shown here.)
    SELECT object_name, droptime FROM user_recyclebin
    WHERE original_name = 'PRINT_MEDIA';
    OBJECT_NAME DROPTIME
    RB$$45703$TABLE$0 2003-06-03:15:26:39
    RB$$45704$TABLE$0 2003-06-12:12:27:27
    RB$$45705$TABLE$0 2003-07-08:09:28:01

  • Recovering a table from backup

    Hi,
    I have a full back up of rman back up / normal back up.
    I wanted to recover a particular table from the back up without disturbing the current activities on DB/User.
    DB:11.2.0.1.0
    OS Windows 2003 Server

    Tippu wrote:
    Hi,
    I have a full back up of rman back up / normal back up.
    I wanted to recover a particular table from the back up without disturbing the current activities on DB/User.
    DB:11.2.0.1.0
    OS Windows 2003 ServerYou can:
    1) Take/copy your rman backup to remote server
    2) Restore/recover database there
    3) Take the logical backup of table through EXPDP/EXP
    4) Scp that .dmp file to Target
    5) Import that .dmp file into target
    But flashback is on? and did you tried to recover from recycle bin? Hope above steps help

  • Recovering  a table data

    Hi,
    Oracle version:10.2
    Operating system : linux
    Can we flashback a table-data when the table was truncated.Is there any flashback option to get back the data.
    Here my database is in noarchive mode.
    Regards.
    Poorna

    Hi!
    Point-In-Time recovery is not possible for you because your database runs in NOARCHIVELOG mode. But I'll try to tell you what to do to get your data back. For this I assume that you have a full cold backup of your database. Otherwise there will be no chance to get your table back.
    1.) Copy your backup to another host with the same operating system as your production DB runs on.
    2.) Install the Oraclesoftware like you did on your production host.
    3.) Copy your SPFILE to $ORACLE_HOME/dbs
    4a.) If you have a RMAN backup restore and recover it like that:
    rman target /
    startup force nomount;
    CATALOG BACKUPPIECE '/path_to_your_backup/name_of_your_backuppiece';
    RESTORE controlfile;
    SQL 'ALTER DATABASE MOUNT';
    RESTORE database;
    RECOVER database NOREDO;
    SQL 'ALTER DATABASE OPEN RESETLOGS';
    exit4b.) If you have a user managed backup please restore it by your self as I do not know what kind of backup it is.
    5.) Export the truncated table from the recovered database. And please be sure to replace the string "truncated_table" with the correct name of the table you have truncated.
    expdp system/password DUMPFILE=trunc_table.dmp DIRECTORY=data_pump_dir TABLES=truncated_table6.) Copy the dumpfile to your production host.
    7.) Reimport the dump into your production DB.
    impdp system/password DUMPFILE=trunc_table.dmp DIRECTORY=data_pump_dir TABLES=truncated_table TABLE_EXISTS_ACTION=replaceI hope that this will help you a long with your problem.
    Good luck.
    Florian W.

  • How to recover dropped table

    Table is been dropped and i want o recover it.
    Database is running in archive log mode and i had valid full database rman backup too.
    flashback is disabled.
    database version -10g
    Please let me know the steps i can follow to recover the dropped table.

    Hello,
    If your RECYCLEBIN is activated you may Flashback Drop your Table.
    So you may check your RECYCLEBIN by using the following query:
    select object_name, original_name from user_recyclebin;If you can see your Table (original_name) so you may execute the statement below:
    flashback table <table_name> to before drop;Else, you'll need a Backup or a dump to restore your Table.
    For instance, by duplicating your database elsewhere and get back the Table by DataPump (expdp/impdp).
    Hope this help.
    Best regards,
    Jean-Valentin
    Edited by: Lubiez Jean-Valentin on Feb 3, 2010 10:13 PM

  • How to recover old table entries?

    I need to recover table entries in table T554G,
    is there any posibility?
    thanks & greetings
    Torsten

    Hi,
    Although your question is not clear but assuming that the entries are deleted from the table T554G and you want to recover them.
    Try to check the entries using tocde SM30 and view V_T554G in your server landscape (DEV or QAS). If you find them over there you can recreate them easily.
    Regards,
    Waqas Rashid

  • Problems Recovering Sysaux table space with missing archive log

    Dear All
    We have a 10G r2 database running on RHEL 4.2.
    Today when updating certain records in one of the databases. whe have started getting the following error:
    error occurred at recursive SQL level 2 ORA-00376: file 3 cannot be read at this time ORA-01110: data file 3: '/u02/oradata/EDM/datafile/o1_mf_sysaux_1wwwhpg5_.dbf'
    This appears to have occurred as a result of one ofthe users adding a large amount of data to a table in one of the other tablespaces. Checking the V$datafile view shows this file to have a status of RECOVER. However on trying to do a
    recover datafile 3;
    I'm told that a change number generated back in April 2006 is required, this being in an archive log we no longer have.
    My question is how do I recover the datafile to the point in time shown without causing all the other tablespaces to revert to that date.
    It seems the SYSAUX tablespace has been in RECOVER status for some time now with no effect on the operation of the database. As such I'm loathe to return all of the database back to 04/2006 and lose 18 months work. Is it possible to just fix the SYSAUX tablespace? If so what is the process? If I recover the TS to the point in time that the missing archive log occurs and then do a reset logs will that truncate all the other tablespaces.
    Many Thanks
    Paul

    Thanks for the reply
    WE have a table named mlm_papertrail which, having added about 2000 rows to it, now causes the error shown whenever someone tries to insert a new row into it. Ihave created a new table and pointed the application to it and the problem no longer occurs.
    However the SYSAUX tablespace is marked recover as is the datafile that forms it. I can only assume that adding the rows to the table has in turn caused sysaux to expand until it has hit a part of the disk that is damaged or corrupt.
    I've tried recovering both the tablespace and the datafile getting the request for the archivelog back in 04/06. Again I can only assume the sysaux file has been damaged at this point, but till now hasn't caused any problems.
    I don't want to roll the whole database back to 04/06 since in the main it works fine. But obviously the SYSAUX tablespace needs recovering.
    My question is how do I do that with as little pain as possible :-)
    Anyway, thanks for the advice. I'll try what you suggest.
    regards
    paul

  • Recover Delete Table

    Hi,
    We did by accident a delete on a table.
    It's a new installation and backup and archiving are not yet running.
    Is there a way to recover the contents of this table from the REDO logs?

    It's a new installation and backup and archiving are not yet running.
    I must say that you are not in a very good situation. As already suggested by Syed, try to find that do you have 10g or flashback atleast if you are on 9i?If that is there may be some things can come back.Otherwise time to look for OSS.But without having a backup , I really doubt what they also will be able to accomplish.Anyways all the best and good luck.You are going to need it.
    Aman....
    Message was edited by:
    Aman....

Maybe you are looking for