物理存儲管理實訓題
(1) 使用SQL命令創建一個本地管理方式下自動分區管理的表空間USERTBS1,其對應的數據文件大小為20M(地址隨便,但是目錄一定要存在)。

(2) 使用SQL命令創建一個本地管理方式下的表空間USERTBS2,要求每個分區大小為512KB。

(3) 修改USERTBS1表空間的大小,將該表空間的數據文件改為自動擴展方式,最大值為100MB。

(4) 使用SQL命令創建一個本地管理方式下的臨時表空間TEMPTBS,並將該表空間作為當前數據庫實例的默認臨時表空間。

(5) 使用SQL命令對USERTBS1表空間進行聯機和脫機狀態轉換。
usera_exer登錄數據庫

參考代碼
create tablespace USERTBS1
datafile 'D:\app\Administrator\product\usertbs1.dbf' size 20M
extent management local autoallocate;
create tablespace USERTBS2
datafile 'D:\app\Administrator\product\usertbs2.dbf' size 50M
extent management local uniform size 512k
segment space management manual;
alter database
datafile 'D:\app\Administrator\product\usertbs1.dbf'
autoextend on next 5M maxsize 100M;
create temporary tablespace TEMPTBS
tempfile 'D:\app\Administrator\product\temptbs.dbf' size 20M
extent management local uniform size 16k;
alter tablespace USERTBS1 offline;
alter tablespace USERTBS1 online;