Lost datafile Problem

My database is in noarchivelog mode
I had a tablespace with 3 datafiles and 1 datafile is deleted accidently.
I know i cant recover the datafile as the database is in noarchivelog mode.
my DB is only a test database.
Now what i have to do inorder to run my database with out any errors.I dont care about recovering the data.
I am getting error ORA-01116: error in opening database file string
Thankx...

Hi Taj,
Ok I will do as what u suggested.But is there any minimum possiblity that i can recover the lost datafile.
i have the backup of the of lost datafile on production database.can i copy that datafile to the test database and add this datafile to the tablespace.

Similar Messages

  • Can I Select from table skipping extents linked with lost datafiles?

    Hi~,
    I need your help to recover my database.
    I'm using oracle 9.2.0.8 at Fedora 3 with no-archive mode.
    and I don't have any backup.
    Last night, I experenced hard disk failure.
    I tried OS-level recovery, but I lost some datafiles of tablespace.
    anyway, I wanted to recover my database without data of lost datafiles.
    so, I issued "alter database datafile offline drop" and
    start oracle instance.
    But, datafiles were not removed from dba_data_files view and
    extents linked with lost datafiles were not removed from dba_extents view!
    Selecting query of some table containing extents linked with lost data files,
    I got "ORA-00376: file xxx cannot be read at this time" message.
    So, my question is that..
    HOW CAN I SELECT FROM THAT TABLE WITHOUT SCANNING EXTENTS LINKED WITH LOST DATA FILES?
    Thanks.

    Hi,
    Without being in archivelog and without backup, one can't do any sort of recovery. That's why backups and archivelog are so so important.
    The offline data file command never does actually drop the datafile. It merely indicates to the control file that now the said tablespace will also be dropped. This won't update any view that the files are not supposed to be used or shown to you anymore.
    This is what documentation says about the recovery of the database in the NoARch mode,
    http://download.oracle.com/docs/cd/B19306_01/backup.102/b14191/osrecov.htm#i1007937
    You do need a backup in order to get those tables being read. Oracle doesn't have any feature which can offline/skip the missing extents for you and let you read the data without them.
    HTH
    Aman....

  • Recovery of a lost datafile without backup

    Its the demo for recovery of a lost datafile without backup,but you should have database in archivelog
    in order to make complete recovery,otherwise in noarchivelog mode you may lose some data.Every steps is
    self explainatory so i feel need'nt to add some textual description during demo
    If any findings can be elaborate more please do comments.
    SQL*Plus: Release 10.1.0.2.0 - Production on Fri Feb 8 10:35:24 2008
    Copyright (c) 1982, 2004, Oracle.  All rights reserved.
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.1.0.2.0 - Production
    With the Partitioning, OLAP and Data Mining options
    SQL> select name from v$database
      2  /
    NAME
    ORCL
    SQL> create tablespace my_tablespace datafile 'C:\oracle\product\10.1.0\oradata\orcl\my_datafile.dbf' size 500M
      2  /
    Tablespace created.
    SQL> set linesize 1000
    SQL> select * from v$tablespace
      2  /
           TS# NAME                           INC BIG FLA
             0 SYSTEM                         YES NO  YES
             1 UNDOTBS1                       YES NO  YES
             2 SYSAUX                         YES NO  YES
             4 USERS                          YES NO  YES
             3 TEMP                           YES NO  YES
             6 EXAMPLE                        YES NO  YES
             9 MY_TABLESPACE                  YES NO  YES
    7 rows selected.
    SQL> alter user scott default tablespace my_tablespace
      2  /
    User altered.
    SQL> conn scott/tiger@orcl
    Connected.
    SQL> create table my_table as select * from all_objects
      2  /
    Table created.
    SQL> desc my_table
    Name                                                                                                                                                                          
    OWNER                                                                                                                                                                         
    OBJECT_NAME                                                                                                                                                                   
    SUBOBJECT_NAME                                                                                                                                                                
    OBJECT_ID                                                                                                                                                                     
    DATA_OBJECT_ID                                                                                                                                                                
    OBJECT_TYPE                                                                                                                                                                   
    CREATED                                                                                                                                                                       
    LAST_DDL_TIME                                                                                                                                                                 
    TIMESTAMP                                                                                                                                                                     
    STATUS                                                                                                                                                                        
    TEMPORARY                                                                                                                                                                     
    GENERATED                                                                                                                                                                     
    SECONDARY                                                                                                                                                                     
    SQL> conn sys/sys@orcl as sysdba
    Connected.
    SQL> shutdown immediate
    Database closed.
    Database dismounted.
    ORACLE instance shut down.
    Microsoft Windows XP [Version 5.1.2600]
    (C) Copyright 1985-2001 Microsoft Corp.
    C:\>cd C:\oracle\product\10.1.0\oradata\orcl
    C:\oracle\product\10.1.0\oradata\orcl>dir *.dbf
    Volume in drive C has no label.
    Volume Serial Number is F49D-FF2B
    Directory of C:\oracle\product\10.1.0\oradata\orcl
    02/08/2008  10:41 AM       157,294,592 EXAMPLE01.DBF
    02/08/2008  10:41 AM       524,296,192 MY_DATAFILE.DBF
    02/08/2008  10:41 AM       283,123,712 SYSAUX01.DBF
    02/08/2008  10:41 AM       482,353,152 SYSTEM01.DBF
    02/07/2008  11:43 PM       104,865,792 TEMP01.DBF
    02/08/2008  10:41 AM        31,465,472 UNDOTBS01.DBF
    02/08/2008  10:41 AM        56,369,152 USERS01.DBF
                   7 File(s)  1,639,768,064 bytes
                   0 Dir(s)  63,114,174,464 bytes free
    C:\oracle\product\10.1.0\oradata\orcl>del my_datafile.dbf
    C:\oracle\product\10.1.0\oradata\orcl>dir *.dbf
    Volume in drive C has no label.
    Volume Serial Number is F49D-FF2B
    Directory of C:\oracle\product\10.1.0\oradata\orcl
    02/08/2008  10:41 AM       157,294,592 EXAMPLE01.DBF
    02/08/2008  10:41 AM       283,123,712 SYSAUX01.DBF
    02/08/2008  10:41 AM       482,353,152 SYSTEM01.DBF
    02/07/2008  11:43 PM       104,865,792 TEMP01.DBF
    02/08/2008  10:41 AM        31,465,472 UNDOTBS01.DBF
    02/08/2008  10:41 AM        56,369,152 USERS01.DBF
                   6 File(s)  1,115,471,872 bytes
                   0 Dir(s)  63,638,204,416 bytes free
    C:\oracle\product\10.1.0\oradata\orcl>
    SQL> startup
    ORACLE instance started.
    Total System Global Area  171966464 bytes
    Fixed Size                   787988 bytes
    Variable Size             145488364 bytes
    Database Buffers           25165824 bytes
    Redo Buffers                 524288 bytes
    Database mounted.
    ORA-01157: cannot identify/lock data file 6 - see DBWR trace file
    ORA-01110: data file 6: 'C:\ORACLE\PRODUCT\10.1.0\ORADATA\ORCL\MY_DATAFILE.DBF'
    SQL> select * from v$recover_file
      2  /
         FILE# ONLINE  ONLINE_ ERROR                                                                CHANGE# TIME
             6 ONLINE  ONLINE  FILE NOT FOUND                                                             0
    SQL> alter database create datafile 'C:\ORACLE\PRODUCT\10.1.0\ORADATA\ORCL\MY_DATAFILE.DBF'
      2  as 'C:\ORACLE\PRODUCT\10.1.0\ORADATA\ORCL\MY_DATAFILE01.DBF'
      3  /
    Database altered.
    C:\oracle\product\10.1.0\oradata\orcl>dir my_*.dbf
    Volume in drive C has no label.
    Volume Serial Number is F49D-FF2B
    Directory of C:\oracle\product\10.1.0\oradata\orcl
    02/08/2008  10:53 AM       524,296,192 MY_DATAFILE01.DBF
                   1 File(s)    524,296,192 bytes
                   0 Dir(s)  63,110,365,184 bytes free
    C:\oracle\product\10.1.0\oradata\orcl>
    SQL> recover tablespace my_tablespace
    Media recovery complete.
    SQL> alter database open
      2  /
    Database altered.
    SQL> conn scott/tiger@orcl
    Connected.
    SQL> desc my_table
    Name                                      Null?    Type
    OWNER                                              VARCHAR2(30)
    OBJECT_NAME                                        VARCHAR2(30)
    SUBOBJECT_NAME                                     VARCHAR2(30)
    OBJECT_ID                                          NUMBER
    DATA_OBJECT_ID                                     NUMBER
    OBJECT_TYPE                                        VARCHAR2(19)
    CREATED                                            DATE
    LAST_DDL_TIME                                      DATE
    TIMESTAMP                                          VARCHAR2(19)
    STATUS                                             VARCHAR2(7)
    TEMPORARY                                          VARCHAR2(1)
    GENERATED                                          VARCHAR2(1)
    SECONDARY                                          VARCHAR2(1)
    SQL> Khurram
    http://oraware.blogspot.com/

    When the create tablespace information is in the current control file and database is in archive log mode,
    SQL>recover datafile 6;
    won't help??

  • Demonstrating lost update problem

    Hi
    I would like to know if it's possible to demonstrate the 'lost update' problem in oracle without using simulation. If so how would I go about doing this? I assume I will need to establish multiple sessions within a single transaction in order to have independent transactions to demonstrate this properly.
    Thanks.

    The type of behaviour that leads to a lost update can be demonstrated with something like this.
    In session 1 run a pl/sql block like:
    BEGIN
       FOR r IN (SELECT * FROM t ) LOOP
          IF r.id = 5 THEN
             DBMS_OUTPUT.Put_Line ('ID is '||r.id||' and descr is '||r.descr);
             DBMS_LOCK.Sleep(30);
             UPDATE t SET descr = 'SLEEPY' WHERE id = r.id;
          END IF;
       END LOOP;
       COMMIT;
    END;The Sleep simulates user thinking time, or perhaps some delay in the proce for complex calculations and lookups.
    While session 1 is busy, in session 2 do
    SQL2> UPDATE t SET descr = 'AWAKE' WHERE id = 5;
    1 row updated.
    SQL2> COMMIT;
    Commit complete.
    SQL2> SELECT * FROM t WHERE id = 5;
            ID DESCR
             5 AWAKEThen, when the block in session 1 is finished, you will see:
    ID is 5 and descr is ALL_CATALOG
    PL/SQL procedure successfully completed.
    Then do
    SQL1> SELECT * FROM t WHERE id = 5;
            ID DESCR
             5 SLEEPYThe update by session2 was lost.
    There are two ways to handle the situation. First, define the cursor as FOR UPDATE. In this case, session 2 would receive an error. The other way, optimistic locking, is to use something like the following as an update statement in the pl/sql block:
    UPDATE t SET descr = 'SLEEPY'
    WHERE id = r.id and
          descr = r.descr;Then check for the success of the update.
    TTFN
    John

  • Locking datafile problem using oracle agent

    Hi All
    we are facing locking datafile problems when we are taking backups using oracle agent
    in veritas we have selected the option not to lock files when taking backups
    is there any other settng which we have missed so that it doe s not lock files
    regards
    kedar

    If you use a version locking policy, you should use a version field, not reuse your primary key for that. If you map the version field (you don't have to), you need to map it as read only. This makes sense: you don't want the application to change this version field, only TopLink should change it. This is where your exception comes from.
    If you want to use existing database fields for optimistic locking, you should use a field locking policy. It does not make sense to use the primary key for that: it never changes, so you never know when the object has been changed by another user.
    So you can do two things now to fix your code:
    create a version column in your database and use a version policy (preferably numeric) or use a field locking policy and use job and salary, or all fields)
    There is a pretty good description of locking policies in the TopLink guide:
    http://www.oracle.com/technology/products/ias/toplink/doc/10131/main/_html/descun008.htm#CIHCFEIB
    Hope this helps,
    Lonneke

  • Lost datafile on Standby Oracle 10g

    Hi all.
    i have lost one datafile on my standby ,how to recover it ,this file is created when primary database is in noarchive mode (before i set up the data guard) ,so i can't use alter database create datafile statement bocz i dont have all the archive log to recover it ,
    plz help me out to solve this ..

    969752 wrote:
    Hi all.
    i have lost one datafile on my standby ,how to recover it ,this file is created when primary database is in noarchive mode (before i set up the data guard) ,so i can't use alter database create datafile statement bocz i dont have all the archive log to recover it ,
    plz help me out to solve this ..What is the version you are using?
    Even though your primary database is in noarchive log mode before configuring data guard, still its not a problem. Follow high level steps as below
    1) Take missing datafile on primary using RMAN (or) you can use tablespace backup with traditional method
    2) copy that datafile from primary to standby system
    3) Ensure you have properly set for DB_FILE_NAME_CONVERT(bounce required), and set standby_file_management to manual
    4) take the dummy file and rename with the new file(step 2) by using alter database create command
    5) later change standby_file_managment to auto & start MRP

  • Recover datafile problem

    Hi, I am using Oracle 7.3.4 on NT 4.
    I am having problem with one of my rollback segments call HISTORY which contain two datafiles in e:\rollback\history.ora and f:\rollback\history.ora
    This rollback segment was used for transfer old data to HISTORY datafile in
    f:\HISTORY\HISTORY.ora
    (the sql look like this -
    set transaction use rollback segment history;
    insert into history.bk_tableA
    where ..... )
    Recently the HISTORY rollback was droped by mistake. Since then I lost access to history tables( in HISTORY datafile). When I open the storage manager
    it shows these 3 files are in recover status.
    What is the relationship between the History rollback seqment and History datafile?
    The list below were the errors I got when trying to recover a datafile
    First attemp:
    SVRMGR>
    recover datafile 'f:\history\history.ora';
    ORA-00279: Change 525082216 generated at 12/08/99 16:24:02 needed for thread 1
    ORA-00289: Suggestion : d:\ORANT\RDBMS73\%ORACLE_SID%25290.001
    ORA-00280: Change 525082216 for thread 1 is in sequence #252904
    Specify log: {=suggested | filename | AUTO | CANCEL}
    ORA-00310: archived log contains sequence 252909; sequence 252904 required
    ORA-00334: archived log: 'D:\ORANT\RDBMS73\ORCL25290.001'
    I try auto, and even the suggested log file orcl25290.001 and still could not recover the datafile. It seems the recover program
    cannot find the specific sequence # in the log file! Any suggestion?
    Second attemp:
    I try the incomplete, change base recovery -
    SVRMGR>recover until chang 525082215
    it shows Media recovery complete. Then, I open the database with
    'alter database open noresetlogs'
    But I still cannot access to that data file.
    svrmgr>select count(*) from history.bk_sn_err;
    count(*)
    ora-00376: file 5 cannot be read at this time
    ora-01110: data file 5: 'f:\history\history.ora'
    From the storage manager the file is still in recover status.
    Does the file been recovered at all?
    Is it possible that I could drop the damaged
    rollback segment and recreate a new one.
    Should I be able to gain access to the f:\history\HISTORY.ora datafile?
    [email protected]
    null

    Hi Micheal,
    when you said you had dropped the history, did you drop the rollback segment or did you delete the history.ora file from the NT or did you drop the file from Oracle by doing an
    alter database adatfile '...history...'offline drop?
    also is your database running in archivelog mode?
    depending on the above, you will have to use different methods to recover.
    from the error messages you seem to be running with no archivelog mode so you have to offline drop the datafile.
    If you do an offline drop on the datafile, then you will have to drop tha tablespace and recreate it.
    Thanks,
    Mandar
    null

  • Can we use online redo log to recover lost datafile in NOARCHIVE mode?

    I am working on OCA exam and confued about these 2 sample questions. (similar questions with totally different answer)
    Please give me hint about the different between these 2 questions.
    ** If the database is in NOARCHIVELOG mode, and one of the datafile for tablespace USERS is lost, what kind of recovery is possible? (answer: B)
    A. All transactions except those in the USERS tablespace are recoverable up to the loss of the datafile.
    B. Recovery is possible only up to the point in time of the last full database backup.
    C. The USERS tablespace is recoverable from the online redo log file as long as none of the redo log files have been reused since the last backup.
    D. Tablespace point in time recovery is available as long as a full backup of the USERS tablespace exists.
    ** The database of your company is running in the NOARCHIVELOG mode. You perform a complete backup of the database every night. On Monday morning, you lose the USER1.dbf file belonging to the USERS tablespace. Your database has four redo log groups, and there have been two log switches since Sunday night's backup.
    Which is true (answer: B)
    A. The database cannot be recovered.
    B. The database can be recovered up to the last commit.
    C. The database can be recovered only up to the last completed backup.
    D. The database can be recovered by performing an incomplete recovery.
    E. The database can be recovered by restoring only the USER!.dbf datafile from the most recent backup.

    I think Gaurav is correct, you can recover to the last commit even in NOARCHIVELOG, as long as all the changes in the redo logs have not been overwritten. So answer should be B for question 2.
    Here is my test:
    SQL> select log_mode from v$database;
    LOG_MODE
    NOARCHIVELOG
    SQL> select tablespace_name, file_name from dba_data_files;
    TABLESPACE_NAME
    FILE_NAME
    USERS
    C:\ORACLE\PRODUCT\10.2.0\ORADATA\ORA101RC\USERS01.DBF
    SYSAUX
    C:\ORACLE\PRODUCT\10.2.0\ORADATA\ORA101RC\SYSAUX01.DBF
    UNDOTBS1
    C:\ORACLE\PRODUCT\10.2.0\ORADATA\ORA101RC\UNDOTBS01.DBF
    SYSTEM
    C:\ORACLE\PRODUCT\10.2.0\ORADATA\ORA101RC\SYSTEM01.DBF
    DATA
    C:\ORACLE\PRODUCT\10.2.0\ORADATA\ORA101RC\DATA01.DBF
    SQL> create table names
    2 ( name varchar(16))
    3 tablespace users;
    Table created.
    so this segment 'names' is created in the datafile users01.
    At this point I shut down and mount the DB, then:
    RMAN> backup database;
    channel ORA_DISK_1: backup set complete, elapsed time: 00:00:29
    Finished backup at 06-OCT-07
    SQL>alter database open
    SQL> insert into names values ('pippo');
    1 row created.
    SQL> commit;
    Commit complete.
    SQL>shutdown immediate;
    Database closed.
    Database dismounted.
    ORACLE instance shut down.
    At this point I delete datafile users01 and restart:
    SQL> startup
    ORACLE instance started.
    Total System Global Area 167772160 bytes
    Fixed Size 1247900 bytes
    Variable Size 67110244 bytes
    Database Buffers 96468992 bytes
    Redo Buffers 2945024 bytes
    Database mounted.
    ORA-01157: cannot identify/lock data file 4 - see DBWR trace file
    ORA-01110: data file 4: 'C:\ORACLE\PRODUCT\10.2.0\ORADATA\ORA101RC\USERS01.DBF'
    restoring the backup taken before inserting the value 'pippo' in table names:
    RMAN> restore database;
    Starting restore at 06-OCT-07
    using channel ORA_DISK_1
    channel ORA_DISK_1: starting datafile backupset restore
    channel ORA_DISK_1: specifying datafile(s) to restore from backup set
    restoring datafile 00001 to C:\ORACLE\PRODUCT\10.2.0\ORADATA\ORA101RC\SYSTEM01.D
    BF
    restoring datafile 00002 to C:\ORACLE\PRODUCT\10.2.0\ORADATA\ORA101RC\UNDOTBS01.
    DBF
    restoring datafile 00003 to C:\ORACLE\PRODUCT\10.2.0\ORADATA\ORA101RC\SYSAUX01.D
    BF
    restoring datafile 00004 to C:\ORACLE\PRODUCT\10.2.0\ORADATA\ORA101RC\USERS01.DB
    F
    restoring datafile 00005 to C:\ORACLE\PRODUCT\10.2.0\ORADATA\ORA101RC\DATA01.DBF
    channel ORA_DISK_1: reading from backup piece C:\ORACLE\PRODUCT\10.2.0\DB_1\DATA
    BASE\0AITR52K_1_1
    channel ORA_DISK_1: restored backup piece 1
    piece handle=C:\ORACLE\PRODUCT\10.2.0\DB_1\DATABASE\0AITR52K_1_1 tag=TAG20071006
    T181337
    channel ORA_DISK_1: restore complete, elapsed time: 00:02:07
    Finished restore at 06-OCT-07
    RMAN> recover database;
    Starting recover at 06-OCT-07
    using channel ORA_DISK_1
    starting media recovery
    media recovery complete, elapsed time: 00:00:05
    Finished recover at 06-OCT-07
    SQL> alter database open;
    Database altered.
    SQL> select * from names;
    NAME
    pippo
    SQL>
    enrico

  • Recovering lost datafile

    My database 10.1 is running in noarchivelog mode and
    and there was no rman backup
    My datafile was lost and I want to restore a copy of the lost file but i have the following error when restarting the database
    ORA-01203:, wrong incarnation of this file - wrong creation SCN
    Any help?
    Regards

    In this case jus copy the datafile back to its original directory
    startup mount
    make the corrup[ted datafile offline
    alter datafile '/.dbf' offline; 
    open the database
    alter database open;
    make the tablespace of the datafile offline
    alter tablespace <tablespacename of the datafile> offline;
    recover the resored datafile
    recover datafile 'filename'
    make the tablespace onlien
    alter tablespace <tablespacename of the datafile> online;
    This will work but
    Let us wait from our experts
    Message was edited by:
            Maran.E
    Message was edited by:
            Maran.E                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • NOARCHIVELOG - lost datafile

    We have a situation here. We lost the datafile associated with UNDOTBS and we are in NOARCHIVELOG mode.
    The option seems to be to use .....OFFLINE DROP and then drop the tablespace.
    Accordingly, dropped the tablespace and attempting to open the database, the database is still looking for the datafile:
    ORA-376 datafile xxxx cannot be read at this time.
    how can I open the database....
    My thought was to drop offline, open and then recreate the tablespace. It appears that I will not be needing any undo segments though.
    Appreciate your help and thoughts.
    BTW, this is DEV - therefore in NOARCHIVELOG mode.

    Hello,
    So, if I well understood you set the following parameters:
    undo_management = AUTO
    undo_tablespace = ''
    And you still have the ORA-376 error.
    So, I think, you may have an offline datafile.
    May you execute the following statement ?
    select status, enabled from v$datafile;You could check if you have an offline datafile or a datafile to RECOVER.
    Hope it can help,
    Best regards,
    Jean-Valentin
    Edited by: Lubiez Jean-Valentin on Nov 18, 2009 11:46 PM

  • Datafile problem

    Hi Gurus,
    I have two different environments A and B(diff hardware) where two identical oracle user exists.
    My problem is in one environment which is currently live(env A) has the data file size 8G whereas in the other one(env B) I have to resized the data file to 40G. The count of table and there data are same for both these two users.
    I have to resize the datafile as when I am running the following query it is giving 0% for the tablespace:
    SELECT b.tablespace_name,
    c.size_kb,
    b.free_kb,
    Trunc((b.free_kb/c.size_kb) * 100) percent_free
    FROM (SELECT tablespace_name,
    Trunc(Sum(bytes)/1024) free_kb
    FROM dba_free_space
    GROUP BY tablespace_name) b,
    (SELECT tablespace_name,
    Trunc(Sum(bytes)/1024) size_kb
    FROM dba_data_files
    GROUP BY tablespace_name) c
    WHERE b.tablespace_name = c.tablespace_name
    AND Round((b.free_kb/c.size_kb) * 100,2) < 10;
    I used to run the above query to check the tablespace dosent get out of space.
    Can anyone tell me where is problem I can look into?
    //saby

    Why are you resizing them manually?
    select file_name, autoextensible from dba_data_files;And what do you mean by "The count of table and there data are same for both these two users."
    No user should ever do anything in either of these two tablespaces.

  • 2540 Lost Communication problem

    Hi,
    I came across a strange problem with two of Storagetek 2540s that we are using. When I check their status on CAM, it shows OK. But after a while, their status turns to "Lost Communication" all of a sudden. Once the network cables are unplugged and plugged back in, their status turns back to OK. I am using CAM 6.6.0.11, firmware is 07.35.55.
    Has anybody encountered with this problem ? If did, please advise.
    Thanks.

    Hi,
    Are you printing via AirPrint? AirPrint is the native print functionality within the ipad. There are no test pages as such with the mobile device setup.
    When both the mobile device and printer are connected to the same wifi network (or connected via wireless direct), the formatting etc. should be fine, provided the printer & print cartridge are in good health.
    "Although I work for HP, I'm speaking for myself and not on behalf of HP"
    "Say "Thanks" by clicking the Kudos Star in the post that helped you.
    --Please mark the post that solves your problem as "Accepted Solution"

  • Step By step guide to recover lost datafiles from RMAN

    Hi All
    I am new to RMAN recovery.
    I tried searching internet but I cannot find the detail steps for "How to restore datafile using RMAN when we have backup on tape and How to then apply archive logs" .
    Can anyone please explain the steps .
    I will really appreciate that.
    Thanks

    Thanks All I really appreciate your help :)
    So as far as I understand here is my scenario and here are the steps I will follow please correct me if I am wrong.
    I have last night backup of all datafiles and archivelog files on tape.
    I lost one of datafile in morning.
    Here are the steps I will perform to recover datafile
    Restore the backup(including archive files) from tape to OS directory.
    Mount the database
    RMAN> run{
    restore datafile 6;
    RMAN > recover datafile 6;
    RMAN> alter database open;
    The RMAN will apply all the archivelog file and datafile will be available again.
    I also have some additional question:
    1) do I have to take datafile offline?
    2) are these steps same for tablespace restore ? Do i have to take tablespace offline?
    3) How will I confirm if all the archivelogs were applied to data file and data is upto date?
    Thanks

  • Lost boot problem os x lion 10.7.5

    i suddenly lost my OS X lion 10.7.5 on my hard drive, my macbook cannot boot again but my data is still on my hard drive question : please can someone give me a clue how do i fixed my boot problem.. thx^^

    Try starting up your Mac while holding down the Command + R keys so you can access the built in utilities in OS X Recovery to repair the startup disk if necessary or restore OS X.
    You can restore from a backup using Time Machine in OS X Recovery.

  • Lost Connection problem

    Hi all, new here
    Anyway have had BT Broadband for a couple of years now, had no real issues until Thursday, when we lost connection, I have a HH2 and all the Blue lights were fine, but none of the PC's in the hosue would connect to the hub all of a sudden 1 x desktop, 2 laptops and a netbook, although the net book did connect off and on for about 10 - 15 mins, but only at about 150 to 200k (not 2MB)
    spoke to the helpline, went through all the usual tests, and they said in the end the HH was naff, and would order another, thus been without internet since Thursday (This one is at work !)
    I did find an old HH v1 (white) on Sunday, plugged that in... same result no connection from any of the pc's, well not for more than about 10 mins max, this make me think it may not have been the hub?  if not does nayone have any ideas??
    Have changed the filters, and the phone line itself seems clear, BT tested it and said it's all OK

    Hi Swills,
    Welcome to the forum and thanks for the post. 
    It seems odd that you are having the same problem with a different router, seems to me that it may not be the router at fault at all.  I cant be sure until I run a few checks. 
    Can you please drop me an email to [email protected], include your BT account details and link to this thread.  I will see what I can do.
    Cheers
    Sean
    BTCare Community Manager
    If we have asked you to email us with your details, please make sure you are logged in to the forum, otherwise you will not be able to see our ‘Contact Us’ link within our profiles.
    We are sorry that we are unable to deal with service/account queries via the private message(PM) function so please don't PM your account info, we need to deal with this via our email account :-)

Maybe you are looking for