--oracle 11g創建有限制大小的永久表空間
--create tablespace test
--datafile 'F:\app\shan\product\11.2.0\dbhome_1\oradata\test.dbf' size 1M
--autoextend on next 2M maxsize 1024M;
--修改表空間大小:
--alter database datafile ''F:\app\shan\product\11.2.0\dbhome_1\oradata\test.dbf' resize
--800M autoextend on next 51M maxsize 1000M;
--創建有限制大小的臨時表空間
--create temporary tablespace test_temp
-- tempfile 'F:\app\shan\product\11.2.0\dbhome_1\oradata\test_temp.dbf'
-- size 4M autoextend on maxsize 10M;
--oracle 11g 創建永久表空間語法
create tablespace test datafile 'F:\app\shan\product\11.2.0\dbhome_1\oradata\test.dbf'
size?1M autoextend on? next 50M? maxsize unlimited
--oracle 11g 創建臨時表空間語法
create temporary tablespace test_temp
tempfile 'F:\app\shan\product\11.2.0\dbhome_1\oradata\test_temp.dbf'
size 4M autoextend on;