Need to restore a table which is del by mistake my archive log is on

Hi Guru's
i took full backup through RMAN. My archive log in ON.
After taking backup one of table is deleted by mistake ,how can i restore it ?
Thanks

Hello,
The solution depends on your Oracle Release and if you enabled RECYCLE BIN and/or FLASHBACK LOG.
If the Table was dropped and you are in Oracle *9.2* or earlier release, you need to Restore/Recover the Database (from the RMAN BACKUP) to a time before the Table was dropped, somewhere else (another server,...). Then from this Database you may export the Table and import it to the original Database.
If the rows of the Table were just Deleted (so the Table still exists), you may (in 9.2) use FLASHBACK QUERY to get back the deleted rows.
If you are in *10.1* or later release, then if the Table was dropped you may use FLASHBACK DROP to get it back (see the previous post from Kamran). If the rows were just deleted (so the Table still exists) you may use FLASHBACK QUERY or more efficiently FLASHBACK TABLE:
http://www.oracle-developer.net/display.php?id=313
About FLASHBACK QUERY, it depends on the Undo Retention time (it should be large enough), and the table shouldn't have Column of specific Datatype like LONG or LOB:
http://www.orafaq.com/node/50
Hope this help.
Best regards,
Jean-Valentin

Similar Messages

  • How can i retrive a table which is dropped by mistake

    hi
    how can i retrive a table which is dropped by mistake?
    Ragards Josh

    Please mention your database version?
    Suppose that a table as follows is dropped;
    SQL> drop table hr.departments cascade constraints;
    Table dropped.We can recover as follows;
    SQL> flashback table hr.departments to before drop;
    Flashback complete.Now we check that the dropped table has been retrieved;
    SQL> select object_name, object_type from dba_objects
    2     where owner='HR';
    OBJECT_NAME
    OBJECT_TYPE
    DEPARTMENTS
    TABLEFLASHBACK TABLE
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14200/statements_9012.htm#sthref8923
    Overview of Oracle Flashback Table
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14220/backrec.htm#i1015145
    When to Use Oracle Flashback
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14220/backrec.htm#sthref2426
    Extracted from the link above
    Flashback Table is a push button solution to restore the contents of a table to a given point in time.
    Using Flashback Drop and Managing the Recycle Bin
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14231/tables.htm#sthref2381
    Adith

  • Estimation of time needed to restore a table.

    Hello,
    We need to perform a test of how fast our DC responds to an urgent request to restore a table.
    Can you please provide a list of what information we should request in order to beb able to estimate the time to restore an eg. 1GB table?
    HW (Tape maker (I/O), HDD, etc...)
    SW (Backup S/W used, configuration of the S/W, etc...)
    DBs are 9i & 10g
    I know this is a very general question, but I would appreciate a list of the basic things I should know.
    Thank you !

    >
    We need to perform a test of how fast our DC responds to an urgent request to restore a table.
    >
    So, first thing: You need to perform a test. You seem to forget that further on:
    >
    Can you please provide a list of what information we should request in order to be able to estimate the time to restore an eg. 1GB table?
    >
    What is your role in this? Are you the customer requesting the restore, or the support guy who has to do it (or is responsible for getting it done)? That matters a lot.
    Assuming you're in that second role:
    What you need to ask, from the person requesting the restore/test, are (from a functional perspective) sample scenarios of what could have happened and what kind of solution is needed. All the other questions you mention (hardware versions, tape software, database size, export dumps available yes or no) are things that you know or are fixed for that scenario, you know your database environment, what kind of backups you take, etc. Together with your customer, translate the functional scenarios into technical scenarios (which depend on your environmt, ofcourse), ranging from best case (which could be, for example, using flashback query to repair some data accidentally deleted by a user) to worst-case (for example, restoring multi-terabyte tablespaces from tape to set up a temporary database, export data, import it into production). When you have defined several of these scenarios, play them out, and see how much time and effort each takes. Within a scenario, you can try to intra-, or extrapolate for varying data sizes. But the most important thing is to actually TEST.

  • I need to display a Report which contain -- del QTY  and  INV QTY   in one

    Hi ALL,
    I need to display a Report which contain
    <b>Customer  , Material , Order No, Delivery No, Billing No , Order Qty , Dev Qty, Bill Qty , Invoiced Qty  and There Values  in One Line  .</b>
    How can I Display, When I am executing the report against the Delivery Number Bill Qty and Invoiced Qty is showing Hash ( # ).
    Do I need to right any Routines for this, if I am correct,  where I have to write that code and what is the code ,
    What are the Consolidation  routines ?????
    I am working on BI 7.
    Regards ,
    Shaik
    Message was edited by:
            shaik

    Frst check in backend, which all cubes have got data for each of three..
    Corresponding you can go ahead with Multi/Infoset..
    Look for reference no in all three cubes and pick one order and track tht by reference no in all cubes,
    Hope it helps..
    Thanks for points assigned

  • HT201210 i was updating my iphone 4  after 45 mins I got message that software is updated and phone is in recovery mode.It states that I need to restore my phone which will delete all info on the phone.  will I the be able to recover all apps, photos, dat

    I was updating my iphone 4 on computer on itunes.  After 45 mins or so, I got message that software was updated.  But my iphone needed to be restored as it is in recovery mode.  it staes that all data will be deleted!!  Will I be able to recover data, apps, photos, etc?  My phone will not even allow me to use it....it just has picture of itunes with connector on screen.  HELP!

    If your phone is in recovery mode, you've already lost ALL of the data on the phone. Your only choice now is to restore it from your most recent backup. You follow this by syncing your content back to your phone. Any data, on your phone, not backed up or in supported applications on your computer, is gone. iTunes content you can re-download for free.

  • Need to restore FND_USER table.

    Hi,
    Due to some reason i lost entire data from FND_USER table in my test instance. i do not have FND_USER table backup. TEST instance was refreshed almost 1 month back. can i use FND_USER TABLE FROM PROD instance, if yes, how to restore?
    Thanks in-advance.
    dba...

    Can you not refresh TEST again from prod?
    Normally, I would not do this but since you have dropped the table and there is no data, it may be worth trying.
    (This comes with a big disclaimer)
    You can export fnd_user from prod and then import it into test (using exp/imp) commands.
    Keep in mind that you will have to update current value of some sequences such as FND_USER_S, FND_ORACLE_USERID_S if those sequences have a higher value in prod.
    For new users created in production in the last 1 month, you will have problems in TEST because those users may not have the right roles/employee records etc. in TEST.
    Also, any new users created in TEST in the last 1 month will have to be recreated.
    Sandeep Gandhi
    The best option is to refresh again from Prod.

  • How to create a table which contains relational data and Document data

    hai all
    i need to create a table which contains relational data(i mean coulumns whose data types are type NUMBER,VARCHAR) and documents(like xml file/html file/image)using iFS.
    when i store the document data(xml data/html data) in the iFS ,it will be stored as Document Object.so how do i relate this document object belongs to a particular row in a table.
    do guide me
    thanks

    Please see reply at http://technet.oracle.com:89/ubb/Forum36/HTML/000778.html

  • How To Restore Deleted Table With It's Data To Specified Time Using 10g

    Hello Everybody
    I would like to gain from your experience in the Felid of DBA so now i am not trying to restore the full database, but i have a stupid user dropped accedintaly a single table from the database. i want to restore this table after being deleted but also i have big problem i dont have any backup for this table so if you please send to me any solution to restore this deleted table
    Notes : I have (Flash backup On , Archive Log Is On)
    it is not that the database is corrupted or anything
    Ramez S. Swires

    Hey N. Gasparotto
    Thank you for replying me. in the first thread you told me
    ( Without any flashback availability, you haven't any other choice than PITR (Point In Time Recovery)).
    i already checked i found that flashback is working and archive log are working and both are working normally and working before dropping the table and also i cant restore the table which is dropped.
    So what can i do?
    Do you have any other idea?
    Ramez S. Sawires

  • Table which gives Cost Elements allocated to Activity Types

    Hii Experts,
    I need to know the table which gives the Activity types along with the respective GL/Cost Elements attached to them.
    Can anyone help me where to look at the table.
    I see i can get the Activity types with Cost Centers, Cost Centers with Cost Elements but i could not see any table which gives Activity types with Cost Elements.
    Thanks in advance

    Hi,
    table CSLA to see the activity type and the assigned cost element.
    Best regards, Christian

  • Create a table which has columns from another table in other schema

    Hi All
    I need to create a table which is table driven i.e., the columns of that table need to be inserted from another table in a different schema...Can any one help me with this??

    create table newtab (--column spec here--) as
    Select --columns here-- from otherschema.tablename;max

  • Restoring archive log after cold backup

    Hello forums users,
    I read many thing on this topic but I didn't find the good answer.
    I performed a cold backup each sunday.
    My database is in ARCHIVE LOG mode.
    Is it possible to restore ARCHIVE LOG files after restoring COLD backup?
    Sunday : cold backup
    Monday : new archive log have been created since cold backup
    Tuesday : same as Monday
    Wednesday : I would like to restore to Monday 22:00 for example
    Can I restore cold backup + apply archive log until Monday 22:00 ?
    Regards,
    Guillaume

    recover database using backup controlfile until cancel|time|logseq|scn
    will do this and prompt you for the archivelogs.
    Known as 'incomplete recovery'
    Hth
    Sybrand Bakker
    Senior Oracle DBA

  • Need to make a copy/clone of a table which has sdo_geometry data type

    Folks,
    We are running Oracle 11gr1 on Suse Linux platform.
    We have a requirement, where we need to make a copy of a table, in the same database but in a difference schema, the source table has about 130 millions rows and also has the sdo_getometry data type.
    I tried materialized view, but MV does not support sdo_geometry data type.
    According to one of my DBAs, doing it via data pump , will take few days, which is not acceptable.
    Is there a way, we can make a copy of this table in the same db ?
    Thanks
    Ashish

    Siva,
    This is not for backup purpose.
    Here is the background information on this requirement.
    I need to have a static copy of a table, which has spatial column, sdo_geometry in it.
    So we can run another application against this table, just read-only, since we need static data, data in the source table changes quite often.
    One of my DBA suggested to have another instance/database, to keep the copy of the source table, I thought idea of having another database just to keep a copy of a table is an over kill.
    That is why I had asked this question and you had provided a viable solution.
    Then we need to refresh this table , with the data (changes) from the source table, maybe once in 2- 3 weeks.
    I tried creating a Materialized view, but it does not support Spatial columns.
    So now I am trying to figure out, the most efficient way to refresh the clone table from the source table.
    Regards,
    Ashish

  • My iphone 3gs says I need to restore my phone with itunes.  when i connect the phone it says i need to unlock the phone which i cannont due because of the caution saying i need to restore.  does anyone have any idea how to fix this problem

    My iphone 3gs says I need to restore my phone with itunes.  when i connect the phone it says i need to unlock the phone which i cannont due because of the caution on the phone.  How do i fix this?

    Hold down the power button and home button at the same time until the phone powers on, shuts back off, powers on again and continue to hold it until it shows the itunes logo to plug in to itunes. This should allow you to restore without unlocking it.

  • I need to restore my iphone 4 with just ios 5, but it only lets me restore it with the latest version which is ios 5.0.1. What can I do??

    I need to restore my iphone 4 with just ios 5, but it only lets me restore it with the latest version which is ios 5.0.1. What can I do??

    Restore it using the computer it normally syncs with, this should not require an iOS update.

  • After a crash of my HD, i need to restore my Itune Library which is in an external HD. how can I do that, Thanks

    After a crash of my HD, i need to restore my Itune Library which is in an external HD. how can I do that, Thanks

    I still don't know if the drive that crashed was the external drive, or if it was the internal drive, and if it was the external drive if that was the only copy of the library.
    Downloading (using iOS or computer) past purchases from the App Store, iBookstore, and iTunes Store - http://support.apple.com/kb/ht2519 - enabled with iTunes 10.3 and newer; not available in all countries; apps, books (not audiobooks), music, t.v. shows, and movies (some - not all studios have permitted this). Movies currently available in the USA only. Downloading previously purchased movies and TV shows requires iTunes 10.6 or later.  Discontinued items not available. For items not included in the iCloud list (e.g., ringtones), or locations or computer systems where iCloud is not (yet?) available, you only get one download per fee paid.  Apple notes it is your responsibility to back up your purchases.
    Select the store on the left side of iTunes.
    Click on Purchased on the right side under Quick Links.
    You can re-download your available previous purchases.

Maybe you are looking for

  • BADI, User Exit before FI document is posted during GR posting in MIGO

    Hi Gurus, In transaction MIGO, whenever a goods receipt is posted, a corresponding FI document is then created. I am in need of a BADI, User Exit, or other forms of enhancements that is triggered before this FI document gets posted because I have to

  • Supported Browsers for Captivate 4

    Can someone please list the supported browsers for version 4 of Captivate?  I've scoured the web site and am coming up dry.  They are really pushing version 5 now.  I even called support, who later transferred me to sales, and neither could tell me w

  • Add segments to an idoc already in the database?

    Hi All, I have a requirement to add segments to idocs that are already in the database.  I had hoped to use Function Group EDI1 to do so, but the FM EDI_SEGMENTS_ADD_BLOCK only works for creating idocs from scratch.  There is a FM EDI_CHANGE_DATA_SEG

  • TS4088 What happens if problems persist after I install the patch?

    I've installed the software patch a few times and find that for a few days to a few weeks the intermittent loss of video seems fixed, and then it will come back with several blackouts in a short span of time, which prompts me to install the patch aga

  • Best way to export from Photo-To-Movie  to  iDVD?

    I'm trying to create a playable DVD that will be shown on flat-widescreen televisions of a slide show that was made in Photo To Movie. In exporting that slideshow, P2M gives you a lot of choices.  I've been experimenting a little and it seems that fo