Unfortunately i'm accidentally delete one datafile (not the system datafile) and when i want to shutdown the database i get this error code
ORA-01157: cannot identify/lock data file 121 - see DBWR trace file
ORA-01110: data file 121: '/ora_data/ORADATA/USAGE_INDEX23_01.dbf'
to solve just do this simple step:
1.Shutdown abort your database to force shutdown
sqlplus > shutdown abort
2.Startup mount database
sqlplus > startup mount
3.After that issue this following command
sqlplus > ALTER DATABASE DATAFILE ‘
4.Then open the database
sqlplus > alter database open
5.Drop the tablespace by issue this following command
DROP TABLESPACE
6.After that if you have backup your database you can recover your tablespace.
Tidak ada komentar:
Posting Komentar