1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

corrupted DBF file - no longer open

Discussion in 'Windows - Software discussion' started by alexfogel, Oct 21, 2015.

Thread Status:
Not open for further replies.
  1. alexfogel

    alexfogel Newbie

    Joined:
    Oct 21, 2015
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    Situation: corrupted DBF file - no longer open and not writing table file. This file was just great from 1.4 MB it has turned into a 2.6 GB. Apparently corrupt header.
    Maybe someone had a similar situation ... please help - very necessary
     
  2. himister

    himister Newbie

    Joined:
    Oct 29, 2015
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    The information about database data files and online redo log files along with their paths is stored in the control file(s). The information about the control file path is stored in initialization parameter file (pfile) or in server parameter file (spfile).
    So if you moved your data files, online redo log files and/or control file(s) you should update the paths in the appropriate files to reflect the changes before you can mount and open the database.
    First, you alter you parameter file with new information after you successfully started the instance:
    http://www.dbf.viewertool.com/
    SQL> startup nomount;
    SQL> alter system set control_files = '/oracle/data/control.dbf';
    Then you mount the database so control file can be read and written:
    SQL> alter database mount;
    After database is mounted you can use RENAME FILE command to set the new pats to data files and online redo log files:
    http://www.geekstogo.com/forum/topic/352967-how-to-open-dbf-file/
    SQL> alter database rename file '/u01/data/sysaux.dbf'
    to '/oracle/data/sysaux.dbf';
     
Thread Status:
Not open for further replies.

Share This Page