- Run SQL*Plus.
- Connect to database as SYSDBA with this query:
CONNECT / AS SYSDBA
- Mount the database instead of starting it up:
STARTUP MOUNT;
- Issue the following command to bring the missing datafile offline so that Oracle won’t trying to connect and access the datafile anymore:
ALTER DATABASE DATAFILE ‘
’ OFFLINE DROP; Repeat the command for every datafiles that unaccounted for.
- Now start the database proper:
ALTER DATABASE OPEN;
- As the tablespace has damaged, drop it to recreate from fresh backup.
DROP TABLESPACE
INCLUDING CONTENTS;
Monday, March 2, 2009
drop tablespace when datafiles accidentally deleted
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment