打开APP
userphoto
未登录

开通VIP,畅享免费电子书等14项超值服

开通VIP
oracle创建表空间、添加数据库文件

创建表空间:

create [undo|TEMPORARY]tablespace venn datafile '/opt/oracle/db01/app/oracle/oradata/OSSORCL/venn01.dbf'size 10Mautoextend on next 100Mmaxsize 500M [unlimited]  --最大32Glogging online permanent;  --一直在线
注:
1 、undo : 创建undo表空间
2、 temporary : 创建临时表空间

添加数据文件:

alter tablespace venn add datafile '/opt/oracle/db01/app/oracle/oradata/OSSORCL/venn02.dbf'size 10Mautoextend on next 100Mmaxsize 500M ;

 同时添加多个文件:

alter tablespace venn add datafile '/opt/oracle/db01/app/oracle/oradata/OSSORCL/venn02.dbf'size 10Mautoextend on next 100Mmaxsize 500M,'/opt/oracle/db01/app/oracle/oradata/OSSORCL/venn02.dbf'size 10Mautoextend on next 100Mmaxsize 500M ;

 

删除表空间:

drop tablespace venn including contents and datafiles;

同时删除内容和数据库文件。

本站仅提供存储服务,所有内容均由用户发布,如发现有害或侵权内容,请点击举报
打开APP,阅读全文并永久保存 查看更多类似文章
猜你喜欢
类似文章
【热】打开小程序,算一算2024你的财运
Linux 下Oracle 手工create database 脚本和步骤
oracle UNDO表空间不足解决方法
删除表空间
Oracle学习笔记(8)管理回滚数据
使用oracle10g blockrecover恢复数据库坏块
使用PLSQL导入导出数据库 .
更多类似文章 >>
生活服务
热点新闻
分享 收藏 导长图 关注 下载文章
绑定账号成功
后续可登录账号畅享VIP特权!
如果VIP功能使用有故障,
可点击这里联系客服!

联系客服