Oracle表空间创建的sql
生活随笔
收集整理的這篇文章主要介紹了
Oracle表空间创建的sql
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
1. 創建表空間
create tablespace SIRM2?
datafile 'D:\oracle\product\10.2.0\oradata\orcl\SIRM2.dbf'
size 1024M --存儲地址 初始大小1G
autoextend on next 10M?--每次擴展10M
--maxsize 2024M ?--
maxsize unlimited --無限制擴展
EXTENT MANAGEMENT local ?autoallocate
segment space management auto;
?
同時添加多個文件:alter tablespace venn add datafile '/opt/oracle/db01/app/oracle/oradata/OSSORCL/venn02.dbf'
size 10M autoextend on next 100M maxsize 500M, '/opt/oracle/db01/app/oracle/oradata/OSSORCL/venn02.dbf' size 10M autoextend on next 100M maxsize 500M ;增加數據文件?
ALTER TABLESPACE game?
ADD DATAFILE '/oracle/oradata/db/GAME02.dbf' SIZE 1000M;?
?
轉載于:https://www.cnblogs.com/zhjx0521/p/8421646.html
總結
以上是生活随笔為你收集整理的Oracle表空间创建的sql的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: httprunner框架学习总结
- 下一篇: [Luogu] 1600