oracle删除添加表空间
sqlplus / as sysdba
CREATE TABLESPACE XFSBUY_DATA LOGGING DATAFILE 'F:\app\ora_db\jhzhshop.dbf'
SIZE 100M AUTOEXTEND ON NEXT 32M MAXSIZE 500M EXTENT MANAGEMENT LOCAL;
create temporary tablespace XFSBUY_DATA_temp tempfile 'F:\app\ora_db\jhzhshop_temp.dbf'
size 100m autoextend on next 32m maxsize 500m extent management local;
CREATE USER joker IDENTIFIED BY joker1988 DEFAULT TABLESPACE XFSBUY_DATA TEMPORARY TABLESPACE XFSBUY_DATA_temp;
删除表空间:
可以先将其offline
alter tablespace xx offline;
将磁盘上的数据文件一同删除
drop tablespace xxx including contents and datafiles;
文章来源: blog.csdn.net,作者:网奇,版权归原作者所有,如需转载,请联系作者。
原文链接:blog.csdn.net/jacke121/article/details/71307280
- 点赞
- 收藏
- 关注作者
评论(0)