Oracle表空间创建的sql
生活随笔
收集整理的這篇文章主要介紹了
Oracle表空间创建的sql
小編覺得挺不錯(cuò)的,現(xiàn)在分享給大家,幫大家做個(gè)參考.
1. 創(chuàng)建表空間
create tablespace SIRM2?
datafile 'D:\oracle\product\10.2.0\oradata\orcl\SIRM2.dbf'
size 1024M --存儲(chǔ)地址 初始大小1G
autoextend on next 10M?--每次擴(kuò)展10M
--maxsize 2024M ?--
maxsize unlimited --無限制擴(kuò)展
EXTENT MANAGEMENT local ?autoallocate
segment space management auto;
?
同時(shí)添加多個(gè)文件: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 ;增加數(shù)據(jù)文件?
ALTER TABLESPACE game?
ADD DATAFILE '/oracle/oradata/db/GAME02.dbf' SIZE 1000M;?
?
轉(zhuǎn)載于:https://www.cnblogs.com/zhjx0521/p/8421646.html
總結(jié)
以上是生活随笔為你收集整理的Oracle表空间创建的sql的全部?jī)?nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: httprunner框架学习总结
- 下一篇: [Luogu] 1600