Home » RDBMS Server » Server Administration » error in identifying datafile (8.1.7,win 2003 server)
error in identifying datafile [message #462846] Mon, 28 June 2010 02:57 Go to next message
ultgnp
Messages: 106
Registered: May 2010
Location: Germany
Senior Member
Hi,

I have a database of branch A whose files are located in E:\ Drive. I want to download it in branch B.I placed all the files of Branch A in D:\ Drive of Branch B. When i start the database i was getting controlfle error. I made required corrections in initorcl.ora. Now when i start the Database,its mounted, but I am getting ORA-01157: Cannot identify datafile 1. I tried to rename the file, but the "alter database rename file1 to file2;" option is not working


(Since this file was originally in different location).Please guide

Best Regards,
Re: error in identifying datafile [message #462853 is a reply to message #462846] Mon, 28 June 2010 04:01 Go to previous messageGo to next message
Michel Cadot
Messages: 68653
Registered: March 2007
Location: Nanterre, France, http://...
Senior Member
Account Moderator
ALTER DATABASE RENAME DATAFILE.

And don't play with your files, Oracle is not a game, you have to read the documentation and learn before administering it.

Regards
Michel
Re: error in identifying datafile [message #464022 is a reply to message #462853] Mon, 05 July 2010 22:31 Go to previous messageGo to next message
suntrupth
Messages: 13
Registered: July 2010
Junior Member
Hi,

First step would be to start the database with the valid path. You could change the directory as required when you open the database successfully.

Backup the controlfile.
Go ahead and recreate the Controlfile.

Thanks,
Suntrupth
Re: error in identifying datafile [message #464047 is a reply to message #464022] Tue, 06 July 2010 01:01 Go to previous message
Michel Cadot
Messages: 68653
Registered: March 2007
Location: Nanterre, France, http://...
Senior Member
Account Moderator
Quote:
First step would be to start the database with the valid path.

No, it is necessary only for control file, then you can start the database in (no)mount mode to change the path in controlf file(s).

http://download.oracle.com/docs/cd/B19306_01/server.102/b14200/statements_1004.htm#i2078824

and you don't need to recreate the control file.

Regards
Michel

[Updated on: Tue, 06 July 2010 01:02]

Report message to a moderator

Previous Topic: need help with estimating size of database/datafiles
Next Topic: DBMS_Scheduler Modify Time zone
Goto Forum:
  


Current Time: Sun May 19 20:32:52 CDT 2024