stevenriz
IS-IT--Management
- May 21, 2001
- 1,069
I wanted to drop a tablespace and it's associated datafiles. So I issued
DROP TABLESPACE DATATEST
INCLUDING CONTENTS
CASCADE CONSTRAINTS;
and thought I could remove the datafiles in the OS now the db doesn't startup.
SVRMGR> startup
ORACLE instance started.
Total System Global Area 260059120 bytes
Fixed Size 69616 bytes
Variable Size 92037120 bytes
Database Buffers 163840000 bytes
Redo Buffers 4112384 bytes
Database mounted.
ORA-01157: cannot identify/lock data file 9 - see DBWR trace file
ORA-01110: data file 9: '/oradata/indxtest.dbf'
SVRMGR> DROP TABLESPACE datatest INCLUDING CONTENTS;
DROP TABLESPACE datatest INCLUDING CONTENTS
*
ORA-01109: database not open
SVRMGR>
I don't care about these files, I am going to recreate the tablespace. How do I get this db to start back up normally so I can recreate the tablespace again? If it is impossible now, I will just reinstall.
thanks!
DROP TABLESPACE DATATEST
INCLUDING CONTENTS
CASCADE CONSTRAINTS;
and thought I could remove the datafiles in the OS now the db doesn't startup.
SVRMGR> startup
ORACLE instance started.
Total System Global Area 260059120 bytes
Fixed Size 69616 bytes
Variable Size 92037120 bytes
Database Buffers 163840000 bytes
Redo Buffers 4112384 bytes
Database mounted.
ORA-01157: cannot identify/lock data file 9 - see DBWR trace file
ORA-01110: data file 9: '/oradata/indxtest.dbf'
SVRMGR> DROP TABLESPACE datatest INCLUDING CONTENTS;
DROP TABLESPACE datatest INCLUDING CONTENTS
*
ORA-01109: database not open
SVRMGR>
I don't care about these files, I am going to recreate the tablespace. How do I get this db to start back up normally so I can recreate the tablespace again? If it is impossible now, I will just reinstall.
thanks!