Recover a single datafile

Hi,
i am new into this..so please help
here is the situation:
we have a 9i RAC env (production we dont have a dev env.). that holds alot of applications...today morning, one of the application with in 15 min lost a portion of the data (i dont really know how)...the database was running fine and no errors where generated....all other applications are running fine with no problem and nothing was lost(except for that one)...
i need to know how i can restore that portion...please note that i tried to use logmnr but i couldnt as to set the UTL_FILE_DIR parameter i need to bounce the database which is not acceptable(as it will affect the other application)...
so is there any other way???
i have a backup which i am tried to validate....if i need to use the recovery is there any suggested strategies...
please help
thanks in advance

What's your database version? 9i is only marketing tag.
Is it 9iR1 or 9iR2.
What's backup you have?
From what you described, it looks like an user error or logic error (someone or something accidently deleted data) . If you are on 9iR2 first try flashback query on damaged tables, otherwise look into Tablespace Point-in-Time Recovery
Tablespace Point-in-Time Recovery
http://download.oracle.com/docs/cd/B10501_01/server.920/a96566/rcmconc2.htm#459444

Similar Messages

  • Recover a single file in Content Services

    I've been asked to document how we would go about recovering a single file in Content Services. The Trash/Archive angle I'm clear on, but what about an extreme case. Lets say that someone created a file, trashed it, emptied the trash, and then it expired from the Archive before the user realized that they needed the file.
    Is it possible, and if so how would one go about getting the file back assuming that there is a full db backup once a day?
    Would enabling BFILE aging help? If so, how?
    On a related note: If archive is set to expire content after 1 month, but BFILE aging is turned off, when does deleted content get purged from the Archive? It's not 1 month, as I have deleted files in the Archive going back to January.

    Archive expiration and BFile aging are orthogonal. BFile pushes the LOBs of documents that are in the archive to bfile. Archive expiration deletes files from the archive after the configured time. If this is not the behaviour you are seeing please file a TAR and they can help check whether your system is configured correctly or if you are running into a bug.
    regards,
    -sancho

  • Recover a single table using RMAN

    Hi,
    I'm working on an Oracle Database 11g Release 11.1.0.6.0 - 64bit Production With the Real Application Clusters option.
    I did a bad update on a table.
    I have a full backup level 0 before the update
    Is it possibile to recover the single table in an instant before the update using RMAN?
    Thanks in advance.
    Samuel

    Hi Samuel,
    How long ago was the update committed? What's the value of undo_retention?
    If the undo has not yet expired, the easiest way to recovery is through flashback query. (Note that flashback database does not have to be enabled for flashback query to work.)
    See MOS Doc ID 238674.1.
    If that's not a possibility, and flashback database is not enabled, the only other option is to do an out-of-place restore, of SYSTEM, UNDO, and tablespace containing the table you want to recover, and recover to point in time before the update. Then, export table, drop the database, and import table into your primary database.
    Hope that helps,
    -Mark

  • How to recover a single file

    As far as we know there is no way to recover a single file out of a database (incremental or full) backup - full database recovery is no option.
    However, the recovery of single files used to be a common task of our user help desk.
    Any ideas how to achieve this with OCS?

    Oracle Files has a two level trash. When users delete a file it goes into their Trash folder - and they can recover such files themselves. If they empty their Trash folder the contents are moved to the Archive. The subscriber adminstrator can recover files from the Archive.
    The subscriber administrator can configure how long files stay in the Archive before they are deleted.
    hope that helps,
    -sancho

  • Several tables in a single datafile

    Hi,
    Is possible to load several different tables through a single datafile , then I can choose where to start and finish the load of each table independently or the correct way is to separate the datafile in several datafiles.
    So far i have not found the solution in sql loader.

    Thanks, but the demo example isn`t exactly my problem. I say that the datafile contains several tables and not one table as in the example,using only the WHEN keyword, i can´t or i don´t know solve it.
    Little sample of datafile:
    time received delivered deferred bounced rejected
    0000-0100 203 264 0 0 458
    0100-0200 99 141 0 0 552
    0200-0300 97 162 0 0 511
    0300-0400 204 449 0 1 541
    0400-0500 104 139 0 0 441
    0500-0600 164 198 0 0 546
    msg cnt bytes
    305 160522k
    206 89944k
    147 101234k

  • Using Recovery Storage Group to recover a single mailbox in Exchange 2007 CCR

    Hi, there:
    Our Environment: Exchange 2007(SP3) CCR
    Now we got a task to recover a mailbox which is still on Exchange 2007 now(but it is suspected the owner deleted many emails before he left and these deleted items is NOT recoveralble through dumpster). They want to recover this mailbox to a point
    of time where they believe these email items is not deleted at that time.
    By reserach below is the steps which can be porformed:
    1): Create a RSG and a mailbox database which is linked to the original mailbox database which host the single mailbox that we want to recover.
    2): restore the mailbox database backup to this mailbox DB under the RSG.
    3): Merge the recovered single mailbox to the existed one.
    My question is:
    When I create the RSG and the mailbox DB under this RSG using the tool on EMC, can I specify the path of "System folder path" and "mailbox DB file path" on  drive other than C:, the C: drive on Exchange CCR active node does
    NOT have enough disk space so it has to be created somewhere othan than C: drive?

    Hi, Andy:
    Thans for your post.
    I have a look at
    http://technet.microsoft.com/en-us/library/aa997694(v=exchg.80).aspx.
    One thing I have question is when you use cmdlet to create a RSG:
    new-storagegroup -Server <Server_Name> -LogFolderPath <path_to_Logfiles> -Name <RSG_Name> -SystemFolderPath  <Database_Path> -Recovery.
    What should be the <server_name>?
    we use CCR, if I want to use this cmdlet to create a recovery storage group on current active node of CCR, do I need to enter the actual name for this active node, or I juts need to enter the cluster name?

  • Backup incremental level 1 for recover of copy datafile (BLOCKING?)

    Hi,
    I recently added a datafile copy backup to the backup strategy. This is an extra backup to supplement compressed backupsets.
    The datafile copy incremental was set to run at 5 am. I noticed that a process that was set to run at the same time as the backup stalled. It normally takes a few minutes to run but it took over an hour. Enterprise Manager did not report any blocked sessions over this hour (EM is configured to do so). No notable CPU spike either during this time. this morning I have moved the datafile copy backup to
    a different time so as to avoid the 5 am job and sure enough that job completed in 6 minutes.
    Does backup incremental for recover block in some way?
    Thanks!

    The other job loads data via sql loader and PL/SQL
    Actually, no blocking was detected. I could not check the waits since the job was done by the time I was aware that there was a problem. Rescheduling the backup seems to have avoided the problem. It happened twice though. I am unaware that a backup might cause this behavior. I suspect that the "for recover" might be the source of the updates being suspended. I would not expect that though since the backup copy is being recovered (not the actual datafile)

  • Restore single datafile from source database to target database.

    Here's my issue:
    Database Release : 11.2.0.3 across both the source and targets. (ARCHIVELOG mode)
    O/S: RHEL 5 (Tikanga)
    Database Storage: Using ASM on a stand-alone server (NOT RAC)
    Using Oracle GG to replicate changes on the Source to the Targets.
    My scenario:
    We utilize sequences to keep the primary key in tact and these are replicated utilizing GG. All of my schema tables are located in one tablespace and datafile and all of my indexes are in seperate tablespace (nothing is being partitioned).
    In the event of media failure on the Target or my target schema being completely out of whack, is there a method where I can copy the datafile/tablespace from my source (which is intact) to my target?
    I know there are possibilites of
    1) restore/recover the tablespace to a SCN or timestamp in the past and then I could use GoldenGate to run the transactions in (but this could take time depending on how far back I need to recover the tablespace and how many transactions have processed with GG) (This is not fool-proof).
    2) Could use DataPump to move the data from the Source schema to the Target schema (but the sequences are usually out of order if they haven't fired on the source, get that 'sequence is defined for this session message'). I've tried this scenario.
    3) I could alter the sequences to get them to proper number using the start and increment by feature (again this could take time depending on how many sequences are out of order).
    I would think you could
    1) back up the datafile/tablespace on the source,
    2)then copy the datafile to the target.
    3) startup mount;
    4) Newname the new file copied from the source (this is ASM)
    5) Restore the datafile/tablespace
    6) Recover the datafile/tablespace
    7) alter database open;
    Question 1: Do I need to also copy the backup piece from the source when I execute the backup tablespace on the source as indicated in my step 1?
    Question 2: Do I need to include "plus archivelog" when I execute the backup tablespace on the source as indicated in my step 1?
    Question 3: Do I need to execute an 'alter system switch logfile' on the Target when the recover in step 6 is completed?
    My scenario sounds like a Cold Backup but running with Archivelog mode, so the source could be online while the database is running.
    Just looking for alternate methods of recovery.
    Thanks,
    Jason

    Let me take another stab at sticking a fork into this myth about separating tables and indexes.
    Let's assume you have a production Oracle database environment with multiple users making multiple requests and the exact same time. This assumption mirrors reality everywhere except in a classroom where a student is running a simple demo.
    Let's further assume that the system looks anything like a real Oracle database system where the operating system has caching, the SAN has caching, and the blocks you are trying to read are split between memory and disk.
    Now you want to do some simple piece of work and assume there is an index on the ename column...
    SELECT * FROM emp WHERE ename = 'KING';The myth is that Oracle is going to, in parallel, read the index and read the table segments better, faster, whatever, if they are in separate physical files mapped by separate logical tablespaces somehow to separate physical spindles.
    Apply some synapses to this myth and it falls apart.
    You issue your SQL statement and Oracle does what? It looks for those index blocks where? In memory. If it finds them it never goes to disk. If it does not it goes to disk.
    While all this is happening the hundreds or thousands of other users on the database are also making requests. Oracle is not going to stop doing work while it tries to find your index blocks.
    Now it finds the index block and decides to use the ROWID value to read the block containing the row with KING's data. Did it freeze the system? Did it lock out everyone else while it did this? Of course not. It puts your read request into the queue and, again, first checks memory to see if it needs to go to disk.
    Where in here is there anything that indicates an advantage to having separate physical files?
    And even if there was some theoretical reason why separate files might be better ... are they separate in the SAN's cache? No. Are they definitely located on separate stripes or separate physical disks? Of course not.
    Oracle uses logical mappings (tables and tablespaces) and SANS use logical mappings so you, the DBA or developer, have no clue as to where anything physically is located.
    PS: Ouija Boards don't work either.

  • How to recover database SYSTEM datafile get corrupt ?

    Database is in ARCHIVELOG mode, and the datafile belonging to SYSTEM tablespace gets corrupted. Up to what point can I recover the database ?
    A. Until last commit.
    B. Until the time you perform recovery.
    C. Until the time the datafile got corrupted.
    D. You cannot recover the SYSTEM tablespace and you must be re-create the database.
    and 1 more doubt :
    If redologfiles are not multiplexed and redolog blocks get corrupt in group 2, and archiving stops. All redolog files are filled and database activity is halted.
    DBWR has written everything to disk. What command can be used to proceed further ?
    A. recover logfile block group 2;
    B. alter database drop logfile group 2;
    C. alter database clear logfile group 2;
    D. alter database recover logfile group 2;
    E. alter database clear unarchived lofile group 2;
    Edited by: user642367 on Sep 18, 2008 8:45 PM

    1. A. Since the DB is in archivelog mode, so you can always restore and recover the whole DB including system tablespace datafile till last SCN generated provided the redo record is available in archive/online logfiles.
    2. E. Since only redolog is corrupted so archiver won't proceed and hence a db hang is obvious, So, in order to proceed further you need to clear online (un archived log file) and then db will work as usual. Care should be taken that you must take a full backkup of DB(cold backup wherever feasible) as soon as possible after issuing this command. As now you don't have redo info in archivelog files to recover the db in case of a crash.
    Please go through Oracle 10g DB Administrators guide (available on OTN) for more details.
    Thanks

  • Recover a single table from a complete rman

    Hi
    I need to restore a single table from a complete rman backup, but it seems like this backup is divided into datafiles and this table is allocated together with others.
    I use a library for make backups.
    Does anybody know how can I get this unique table's information from my rman backup?

    Hi
    Which version of Oracle are you using?
    If you are using 9i you must restore the database with another name and dann export/import the needed tables.
    If you are using10g you can try with the SQL-command: FLASHBACK TABLE
    Bye, Aron

  • Recover database with datafile and logfile

    Hi Export,
    we have one maxdb database. For some reasons, we have no backup and lost the programs binaries. Is it possble to recover the database with datafile and logfile? and how?
    thanks a lot.
    Rongfeng

    Hello Rongfeng,
    1. Please see document u201CHowTo - Creating a clone of a SAP MaxDB databaseu201D at
    http://wiki.sdn.sap.com/wiki/display/MaxDB/SAPMaxDBHowTo
    and review the section u201CCreating a clone manually via reusing volumes and parameters.u201D
    2. You wrote, that you u201Clost all dba passwords.u201D
    Please review the SAP note 25591. This note also has the brief description of the database user types.
    You are SAP customer, I recommend you to create the SAP message to the component u201CBC-DB-SDBu201D to clarify more details about the problem & find solution for you.
    Thank you and best regards, Natalia Khlopina

  • How to back and recover when loosing datafiles???

    Hi,
    Please provide me list of sites where can i find my recovery problems like
    1.if u loss ur datafile
    2. loss of redo
    3. loss of controlfile
    and many more recovery problem concepts.
    thatks for your nice support...

    You can find all that in Recovery handbook here in OTN. You can practice each one of those cases ? . I can help you to do it.
    Joel Pérez
    http://www.oracle.com/technology/experts

  • Single datafile

    Hi,
    I have built a server with Oracle 10G standard under WIndows 2003 ent.
    A DBA more in tune with MS SQL sent us a "cold backup" copy of USERS01.DBF, the only datafile from the USERS tablespace with an intruction to "attach" it. I'm not sure such a statement even makes sense in an Oracle environment, but I've been given adament instruction to "just right click in management studio and attach the damn data file". Is there any way at all of getting this data into a running database?

    Hi,
    I have built a server with Oracle 10G standard under
    WIndows 2003 ent.
    A DBA more in tune with MS SQL sent us a "cold
    backup" copy of USERS01.DBF, the only datafile from
    the USERS tablespace with an intruction to "attach"
    it. I'm not sure such a statement even makes sense in
    an Oracle environment, but I've been given adament
    instruction to "just right click in management studio
    and attach the damn data file". Is there any way at
    all of getting this data into a running database?You have half of a tranportable tablespace. You also need the export of the data dictionary.
    You might be able to explain it this way:
    - In SQL Server, the application database can be attached because it includes the information needed by the master database.
    - In Oracle you need to export of the relevant portion of the master database and ship that with the application database. This technique in Oracle is called 'transportable tablespace'.
    There are a number of preconditions to follow as well. Sadly it appears your PM is setting you up to fail.

  • How to recover a single DB within a good environment?

    Hello,
    after an unknown crash, I have now an unusable DB. But the environment is good and can be opened without any problem. It's only when i try to open that DB that I get an error : Invalid argument.
    Of course, before the crash, everything worked well.
    So, is there a way to recover that DB?
    Note : Up to now, I do not have any backups for disaster recovery but i am still in a development process.
    I have just tested something : I tried to open and read some data from that DB without using my environment and everything worked well. So, I'm able to open it without my environment but I can't if I try to open it within my environment?
    Why and how may I solve this situation?
    Thank you
    Edited by: user606302 on Oct 1, 2008 12:07 PM

    Hello,
    Normal recovery which you are doing, examines the content
    of the environment's log files and uses this information
    to ensure that your database files are consistent relative
    to the information contained in the log files. Normal recovery
    starts with any logs used by any transactions active at the
    time of the last checkpoint, and examines all logs from then
    to the current logs. Normal recovery also recreates your
    environment's region files. This has the desired effect of
    clearing any unreleased locks that your application may have
    held at the time of an unclean application shutdown.
    You can turn on verbose error messaging as that should
    provide additional information on what is causing the
    Invalid argument error.
    For that take a look at:
    DB_ENV->set_errfile
    http://www.oracle.com/technology/documentation/berkeley-db/db/api_c/env_set_errfile.html
    Please post any additional messaging from that.
    It that sheds no light on the problem, please post a
    small, stand-alone test case which reproduces the problem
    and I can take a further look.
    Thanks,
    Sandra

  • Is it possible to recover a single event in iPhoto with Time Machine?

    I was looking back through the events in iPhoto (300+), nd found one missing.  Not sure why; probably accidentally deleted.

    There is a way, but it may well be extremely tedious. If you know the filename of the photo, you can try searching for that either
    1. in Spotlight (if Time Machine has not been added as an exclusion in  > System Preferences > Spotlight > Privacy),
    or
    2 manually through the finder tree:
    Backups.backupsdb > .......  > Pictures > iPhoto Library
    You'll need to choose a backup that you're fairly certain would have been before the time you think it might have been deleted in order to narrow down the search.
    In any case follow the path to an 'iPhoto Library' file on your TM disk. Click once on iPhoto Library to select it, hold down the control key, and click again. Choose 'Show Package Contents' from the menu that appears.
    This will open up the package like an ordinary folder. Look for a folder called 'Originals'. From here you can browse through your indivudal pictures for that backup date, but there'll be a lot and it'll probably take you a while.
    Using either of the methods above, when you finally find the file on your Time Machine disk, click on it once, press 'Command-C' to copy it, then go back to your normal desktop and press 'Command-V' to paste it.
    Open iPhoto as usual and import the photo from your desktop.

Maybe you are looking for

  • FRM - 41219 CANNOT FIND REPORT INVALID ID  - CALLING REPORT FROM FORM

    I am using Developer Suite 10g (forms 9i, reports 9i) . windows XP. I am using the following code in WHEN-BUTTON-PRESSED-PRESSED trigger in form to call report. DECLARE repid REPORT_OBJECT; v_rep VARCHAR2(100); rep_status varchar2(20); BEGIN repid :=

  • Field Symbols Assign Type Conflict

    Hi,     I am working on a BAdi Implementation and have the following code. <b>method IF_EX_DPR_ATTRIBUTES~SET_DEFAULTS_UPON_CREATION .   FIELD-SYMBOLS:     <ls_attributes> TYPE dpr_ts_project_ext.   ASSIGN cs_attributes TO <ls_attributes>  .   CASE f

  • Nomad jukebox zen xtra - cannot create file w message when trying totransfer fi

    My 30G nomad jukebox zen xtra was working great until recently. Now when I power my player up after a day of no use, it takes 0-5 minutes to rebuild the library. When I begin to transfer files using Media source after a few transfers I get the "unabl

  • Windows 2008 R2 activation

    Hello, I'm trying to activate Windows 2008 R2 Standard on my computer and I get an error. I want to do the phone activation, but I do not get the phone numbers list (only a link to the help file), and I do not get the phone activation screen (with th

  • Start up with external Drive connected and switched on

    When starting up with my external USB2 drive connected, it takes ages, I usually resort to switching it off and then back on when my Mac has started. Has anyone got any tips on how to speed up the start up process? Cheers