Deleting an Oracle tablespace
Should it become necessary to rebuild a tablespace from scratch,
you can use the drop user command
in SVRMGRL with the cascade
@@ -17,10 +17,10 @@
SVRMGR> select username, sid, serial# from v$session where lower(username)='server0';
and then
SVRMGR> alter system kill session 'sid,serial#';
where sid and serial# are
- replaced with the corresponding values for the open session.
Use with caution!
+ replaced with the corresponding values for the open session.
Use with caution!
If you feel the need to delete everything
related to the service, you can also issue the following:
-SVRMGR> drop tablespace server0 including contents cascade constraints;
Deleting a PostgreSQL tablespace
Dropping a PostgreSQL tablespace is easy. You have to stop any
AOLserver instances that are using the database that you wish to
drop. If you're using daemontools, this is simple, just use the
@@ -30,7 +30,7 @@
q, and then restart-aolserver
server0.
Then, to drop the db, just do:
server0:~$ dropdb server0
-DROP DATABASE